mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 23:13:17 +00:00
1 line
No EOL
312 KiB
JavaScript
Vendored
1 line
No EOL
312 KiB
JavaScript
Vendored
(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7610],{19933:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(18115),o=s(71307),i=s(49139);const r={props:{groupId:{type:String},path:{type:String}},data:function(){return{tab:"home"}},components:{"groups-home":a.default,"create-group":i.default,"group-feed":o.default},mounted:function(){this.groupId&&(this.tab="show")},methods:{switchTab:function(t){this.tab=t}}}},22681:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(71347),o=s(69104),i=s(40482),r=s(62181);const n={components:{"text-input":a.default,"select-input":o.default,"text-area-input":i.default,"checkbox-input":r.default},data:function(){return{hide:!0,name:null,page:1,maxPage:1,description:null,membership:"placeholder",submitting:!1,categories:[],category:"",limit:{name:{max:60},description:{max:500}},configuration:{types:{text:!0,photos:!0,videos:!0,polls:!0},federation:!0,adult:!1,discoverable:!1,autospam:!1,dms:!1,slowjoin:{enabled:!1,age:90,limit:{post:1,comment:20,threads:2,likes:5,hashtags:5,mentions:1,autolinks:1}}},hasConfirmed:!1,permissionChecked:!1,membershipCategories:[{key:"Public",value:"public"}]}},mounted:function(){this.permissionCheck(),this.fetchCategories()},methods:{permissionCheck:function(){var t=this;axios.post("/api/v0/groups/permission/create").then((function(e){0==e.data.permission?(swal("Limit reached","You cannot create any more groups","error"),t.hide=!0):t.hide=!1,t.permissionChecked=!0}))},submit:function(t){t.preventDefault(),this.submitting=!0,axios.post("/api/v0/groups/create",{name:this.name,description:this.description,membership:this.membership}).then((function(t){console.log(t.data),window.location.href=t.data.url})).catch((function(t){console.log(t.response)}))},fetchCategories:function(){var t=this;axios.get("/api/v0/groups/categories/list").then((function(e){t.categories=e.data.map((function(t){return{key:t,value:t}}))}))},createGroup:function(){axios.post("/api/v0/groups/create",{name:this.name,description:this.description,membership:this.membership,configuration:this.configuration}).then((function(t){console.log(t.data),location.href=t.data.url}))},handleUpdate:function(t,e){this[t]=e}}}},72233:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>h});var a=s(79984),o=s(17108),i=s(95002),r=s(13094),n=s(58753),l=s(94559),c=s(19413),d=s(49268),u=s(33457),p=s(52505);function f(t){return function(t){if(Array.isArray(t))return m(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){if("string"==typeof t)return m(t,e);var s={}.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?m(t,e):void 0}}(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 m(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=Array(e);s<e;s++)a[s]=t[s];return a}const h={props:{groupId:{type:String},path:{type:String},permalinkMode:{type:Boolean,default:!1},permalinkId:{type:String}},components:{"status-card":a.default,"group-status":i.default,"group-compose":o.default,"group-info-card":r.default,"leave-group":n.default,"search-modal":l.default,"invite-modal":c.default,"group-banner":d.default,"group-header-details":p.default,"group-nav-tabs":u.default},data:function(){return{initalLoad:!1,profile:void 0,group:{},isMember:!1,isAdmin:!1,tab:"feed",requestingMembership:!1,composeText:null,feed:[],ids:[],maxId:null,status:void 0,likes:[],likesPage:1,likesId:void 0,renderIdx:1,atabs:{moderation_count:0,request_count:0}}},created:function(){this.fetchSelf()},methods:{fetchSelf:function(){var t=this;axios.get("/api/v1/accounts/verify_credentials?_pe=1").then((function(e){t.profile=e.data})).catch((function(t){window.location.href="/login?_next="+encodeURIComponent(window.location.href)})).finally((function(){t.fetchGroup()}))},initObservers:function(){},fetchGroup:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId).then((function(e){t.group=e.data,t.isMember=e.data.self.is_member,t.isAdmin=["founder","admin"].includes(e.data.self.role),t.isAdmin&&t.fetchAdminTabs(),t.path?t.isMember&&["about","topics","members","events","media","polls"].includes(t.path)||t.isAdmin&&["insights","moderation"].includes(t.path)?setTimeout((function(){t.tab=t.path,t.initalLoad=!0}),500):(history.pushState(null,null,t.group.url),t.initalLoad=!0):t.initalLoad=!0})).catch((function(t){window.location.href="/groups/unavailable"})).finally((function(){t.fetchFeed()}))},fetchAdminTabs:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId+"/atabs").then((function(e){t.atabs=e.data}))},fetchFeed:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId+"/feed").then((function(e){var s=t;e.data&&e.data.length&&(t.feed=e.data,t.maxId=t.feed[t.feed.length-1].id,e.data.forEach((function(t){-1==s.ids.indexOf(t.id)&&s.ids.push(t.id)}))),t.initObservers()}))},fetchPermalink:function(){var t=this;axios.get("/api/v0/groups/status",{params:{gid:this.groupId,sid:this.permalinkId}}).then((function(e){t.status=e.data,t.status.in_reply_to_id&&(t.status.showCommentDrawer=!0)})).catch((function(e){t.permalinkMode=!1,t.fetchFeed()}))},handleRefresh:function(){this.initialLoad=!1,this.init(),this.renderIdx++},timestampFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=new Date(t);return e?s.toDateString()+" · "+s.toLocaleTimeString():s.toDateString()},switchTab:function(t){window.scrollTo(0,0),"feed"==t&&this.permalinkMode&&(this.permalinkMode=!1,this.fetchFeed());var e="feed"==t?this.group.url:this.group.url+"/"+t;history.pushState(t,null,e),this.tab=t},joinGroup:function(){var t=this;this.requestingMembership=!0,axios.post("/api/v0/groups/"+this.groupId+"/join").then((function(e){t.requestingMembership=!1,t.group=e.data,t.fetchGroup(),t.fetchFeed()})).catch((function(e){var s=e.response;422==s.status&&(t.tab="feed",history.pushState("",null,t.group.url),t.requestingMembership=!1,swal("Oops!",s.data.error,"error"))}))},cancelJoinRequest:function(){var t=this;window.confirm("Are you sure you want to cancel your request to join this group?")&&axios.post("/api/v0/groups/"+this.groupId+"/cjr").then((function(e){t.requestingMembership=!1})).catch((function(t){var e=t.response;422==e.status&&swal("Oops!",e.data.error,"error")}))},leaveGroup:function(){var t=this;window.confirm("Are you sure you want to leave this group? Any content you shared will remain accessible. You won't be able to rejoin for 24 hours.")&&axios.post("/api/v0/groups/"+this.groupId+"/leave").then((function(e){t.tab="feed",history.pushState("",null,t.group.url),t.feed=[],t.isMember=!1,t.isAdmin=!1,t.group.self.role=null,t.group.self.is_member=!1}))},pushNewStatus:function(t){this.feed.unshift(t)},commentFocus:function(t){this.feed[t].showCommentDrawer=!0},statusDelete:function(t){this.feed.splice(t,1)},infiniteFeed:function(t){var e=this;if(this.feed.length<3)t.complete();else{var s="/api/v0/groups/"+this.groupId+"/feed";axios.get(s,{params:{limit:6,max_id:this.maxId}}).then((function(s){if(s.data.length){var a,o,i=s.data.filter((function(t){return-1==e.ids.indexOf(t.id)}));e.maxId=i[i.length-1].id,(a=e.feed).push.apply(a,f(i)),(o=e.ids).push.apply(o,f(i.map((function(t){return t.id})))),setTimeout((function(){e.initObservers()}),1e3),t.loaded()}else t.complete()}))}},decrementModCounter:function(t){var e=this.atabs.moderation_count;0!=e&&(this.atabs.moderation_count=e-t)},setModCounter:function(t){this.atabs.moderation_count=t},decrementJoinRequestCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.atabs.request_count;this.atabs.request_count=e-t},incrementMemberCount:function(){var t=this.group.member_count;this.group.member_count=t+1},copyLink:function(){window.App.util.clipboard(this.group.url),this.$bvToast.toast("Succesfully copied group url to clipboard",{title:"Success",variant:"success",autoHideDelay:5e3})},reportGroup:function(){var t=this;swal("Report Group","Are you sure you want to report this group?").then((function(e){e&&(location.href="/i/report?id=".concat(t.group.id,"&type=group"))}))},showSearchModal:function(){event.currentTarget.blur(),this.$refs.searchModal.open()},showInviteModal:function(){event.currentTarget.blur(),this.$refs.inviteModal.open()},showLikesModal:function(t){var e=this;this.likesId=this.feed[t].id,axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.likesId).then((function(t){e.likes=t.data,e.likesPage++,e.$refs.likeBox.show()}))},infiniteLikesHandler:function(t){var e=this;this.likes.length<3?t.complete():axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.likesId,{params:{page:this.likesPage}}).then((function(s){var a;s.data.length>0?((a=e.likes).push.apply(a,f(s.data)),e.likesPage++,10!=s.data.length?t.complete():t.loaded()):t.complete()}))}}}},2118:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["id"],data:function(){return{loadingStatus:"Determining invite eligibility",tab:"initial",profile:{},group:{},showMore:!1}},mounted:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,t.fetchGroup()})).catch((function(e){return 403===e.response.status?void(t.tab="login"):void(t.tab="error")}))},methods:{fetchGroup:function(){var t=this;axios.get("/api/v0/groups/".concat(this.id)).then((function(e){t.group=e.data,t.loadingStatus="Checking group invitations",t.checkForInvitation()})).catch((function(e){t.tab="error"}))},checkForInvitation:function(){var t=this;axios.post("/api/v0/groups/".concat(this.group.id,"/invite/check")).then((function(e){t.tab=1==e.data.can_join?"form":"notinvited"})).catch((function(e){422===e.response.status&&"Already a member"===e.response.data.error?t.tab="existingmember":t.tab="error"}))},prettyCount:function(t){return App.util.format.count(t)},timeago:function(t){return App.util.format.timeAgo(t)},showMoreInfo:function(){event.currentTarget.blur(),this.showMore=!this.showMore},acceptInvite:function(){var t=this;event.currentTarget.blur(),this.tab="loading",axios.post("/api/v0/groups/".concat(this.group.id,"/invite/accept")).then((function(t){setTimeout((function(){location.href=t.data.next_url}),2e3)})).catch((function(e){t.tab="error"}))},declineInvite:function(){var t=this;event.currentTarget.blur(),this.tab="loading",axios.post("/api/v0/groups/".concat(this.group.id,"/invite/decline")).then((function(t){location.href=t.data.next_url})).catch((function(e){t.tab="error"}))}}}},20258:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(95002),o=s(74692);const i={props:{pg:{type:String},pp:{type:String}},components:{"group-status":a.default},data:function(){return{currentProfile:{},roleTitle:"Member",group:{},profile:{},feed:[],ids:[],feedLoaded:!1,feedEmpty:!1,page:1,canIntersect:!1,commonIntersects:[]}},beforeMount:function(){o("body").css("background-color","#f0f2f5"),this.group=JSON.parse(this.pg),this.profile=JSON.parse(this.pp),"founder"==this.profile.group.role&&(this.roleTitle="Admin")},mounted:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.currentProfile=e.data,t.fetchInitialFeed(),e.data.id!=t.profile.id&&t.fetchCommonIntersections()})),this.$nextTick((function(){o('[data-toggle="tooltip"]').tooltip()}))},methods:{fetchInitialFeed:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/user/").concat(this.profile.id,"/feed")).then((function(e){t.feed=e.data.filter((function(e){return"reply:text"!=e.pf_type||e.account.id!=t.profile.id})),t.feedLoaded=!0,t.feedEmpty=0==t.feed.length,t.page++}))},infiniteFeed:function(t){var e=this;0!=this.feed.length?axios.get("/api/v0/groups/".concat(this.group.id,"/user/").concat(this.profile.id,"/feed"),{params:{page:this.page}}).then((function(s){if(s.data.length){var a=s.data.filter((function(t){return"reply:text"!=t.pf_type||t.account.id!=e.profile.id})),o=e;a.forEach((function(t){-1==o.ids.indexOf(t.id)&&(o.ids.push(t.id),o.feed.push(t))})),t.loaded(),e.page++}else t.complete()})):t.complete()},fetchCommonIntersections:function(){var t=this;axios.get("/api/v0/groups/member/intersect/common",{params:{gid:this.group.id,pid:this.profile.id}}).then((function(e){t.commonIntersects=e.data,t.canIntersect=e.data.groups.length||e.data.topics.length}))}}}},39786:(t,e,s)=>{"use strict";function a(t){return function(t){if(Array.isArray(t))return o(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){if("string"==typeof t)return o(t,e);var s={}.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?o(t,e):void 0}}(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 o(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=Array(e);s<e;s++)a[s]=t[s];return a}s.r(e),s.d(e,{default:()=>i});const i={props:{groupId:{type:String}},data:function(){return{initalLoad:!1,profile:void 0,group:{},isMember:!1,isAdmin:!1,changed:!1,savingChanges:!1,categories:[],category:"General",tab:"home",tabs:["home","customize","interactions","blocked","advanced","limits","blocked:import"],interactionLog:[],interactionLogPage:1,interactionLogInitialLoad:!1,interactionLogShowMore:!0,blockedInitialLoad:!1,blockedInstances:["facebook.com","instagram.com"],blockedUsers:["mark@facebook.com","user@example.org","troll"],moderatedInstances:["pawoo.net","pixelfed.com"],importBlocksData:{},importBlocksUploaded:!1,membershipDescription:{all:"Anyone can join your group",local:"Only local users can join your group",private:"Only users you approve can join your group"},advanced:{}}},beforeMount:function(){var t=this;axios.get("/api/v0/groups/categories/list").then((function(e){t.categories=e.data}))},mounted:function(){var t=this,e=new URLSearchParams(window.location.search);e.has("tab")&&this.tabs.includes(e.get("tab"))&&(this.tab=e.get("tab"),this.toggleTab(this.tab)),axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,axios.get("/api/v0/groups/"+t.groupId).then((function(e){t.group=e.data,t.initalLoad=!0,t.isMember=e.data.self.is_member,t.isAdmin=["founder","admin"].includes(e.data.self.role),t.advanced=e.data.config,t.category=e.data.category.name}))}))},methods:{timestampFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=new Date(t);return e?s.toDateString()+" · "+s.toLocaleTimeString():s.toDateString()},timeago:function(t){return window.App.util.format.timeAgo(t)},sidToUrl:function(t){return"/groups/".concat(this.groupId,"/p/").concat(t)},submit:function(){var t=this;this.savingChanges=!0;var e=new FormData;e.append("category",this.category),e.append("membership",this.group.membership),e.append("discoverable",this.advanced.discoverable),e.append("activitypub",this.advanced.activitypub),e.append("is_nsfw",this.advanced.is_nsfw),this.group.description&&e.append("description",this.group.description),this.$refs.avatarInput&&e.append("avatar",this.$refs.avatarInput.files[0]),this.$refs.headerInput&&e.append("header",this.$refs.headerInput.files[0]),axios.post("/api/v0/groups/"+this.group.id+"/settings",e).then((function(e){t.savingChanges=!1,t.group=e.data,swal("Updated!","Successfully updated group settings.","success")})).catch((function(e){t.savingChanges=!1,console.log(e.response),swal("Oops!","An error occured while attempting to save changes. Please try again later.","error")}))},toggleTab:function(t){switch(event&&event.currentTarget.blur(),t){case"home":default:this.tab="home",history.pushState(null,null,"/groups/".concat(this.groupId,"/settings"));break;case"customize":this.tab="customize",history.pushState(null,null,"/groups/".concat(this.groupId,"/settings?tab=customize"));break;case"limits":this.tab="limits",history.pushState(null,null,"/groups/".concat(this.groupId,"/settings?tab=limits"));break;case"interactions":this.interactionLogInitialLoad||this.loadInteractions(),this.tab="interactions",history.pushState(null,null,"/groups/".concat(this.groupId,"/settings?tab=interactions"));break;case"blocked":this.blockedInitialLoad||this.loadBlocks(),this.tab="blocked",history.pushState(null,null,"/groups/".concat(this.groupId,"/settings?tab=blocked"));break;case"advanced":this.tab="advanced",history.pushState(null,null,"/groups/".concat(this.groupId,"/settings?tab=advanced"))}},loadInteractions:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId+"/admin/interactions").then((function(e){t.interactionLog=e.data,t.interactionLogPage++,t.interactionLogInitialLoad=!0}))},loadMoreInteractions:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId+"/admin/interactions",{params:{page:this.interactionLogPage}}).then((function(e){var s;0!=e.data.length?((s=t.interactionLog).push.apply(s,a(e.data)),t.interactionLogPage++):t.interactionLogShowMore=!1}))},loadBlocks:function(){var t=this;axios.get("/api/v0/groups/".concat(this.groupId,"/admin/blocks")).then((function(e){t.blockedInstances=e.data.instances,t.blockedUsers=e.data.users,t.moderatedInstances=e.data.moderated,t.blockedInitialLoad=!0}))},blockAction:function(t){var e=this,s="user"==t?"user":"instance domain";swal({text:"Which ".concat(s,"?"),content:{element:"input",attributes:{placeholder:"user"==s?"pixelfed":"pixelfed.org"}},button:{text:"Next",closeModal:!1}}).then((function(e){if(!e)throw null;return"user"!==t&&e.startsWith("http")?(swal("Oops!","Please enter the instance domain (eg: pixelfed.social)","error"),null):e})).then((function(s){return axios.post("/api/v0/groups/"+e.groupId+"/admin/mbs",{type:"user"==t?"user":"instance",item:s}).then((function(t){return t.data?s:(swal.stopLoading(),swal.close(),null)})).catch((function(t){return swal.stopLoading(),swal.close(),null}))})).then((function(s){s?swal({title:"Are you sure?",text:"moderate"===t?"Manually approve all membership requests from ".concat(s):"Limiting ".concat(s," will purge and reject all interactions with this group"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a&&axios.post("/api/v0/groups/"+e.groupId+"/admin/blocks/add",{item:s,type:t}).then((function(a){switch(t){case"instance":e.blockedInstances.push(s);break;case"user":e.blockedUsers.push(s);break;case"moderate":e.moderatedInstances.push(s)}}))})):e.$bvToast.toast("Invalid ".concat(t,", please try again"),{title:"Error",variant:"danger",autoHideDelay:5e3})}))},reportUrl:function(t){return"/groups/".concat(this.groupId,"/moderation?tab=view&id=").concat(t)},memberInteractionUrl:function(t){return"/groups/".concat(this.groupId,"/members?a=il&pid=").concat(t)},undoBlock:function(t,e){var s=this,a="moderate"==t?"unblock ".concat(e,"?"):"allow anyone to join without approval from ".concat(e,"?");swal({title:"Confirm",text:"Are you sure you want to ".concat(a),buttons:{cancel:{text:"Cancel",value:null,visible:!0,className:"",closeModal:!0},confirm:{text:"Proceed",value:!0,visible:!0,className:"",closeModal:!0}}}).then((function(a){a&&axios.post("/api/v0/groups/".concat(s.groupId,"/admin/blocks/undo"),{item:e,type:t}).then((function(a){switch(t){case"instance":s.blockedInstances=s.blockedInstances.filter((function(t){return t!=e}));break;case"user":s.blockedUsers=s.blockedUsers.filter((function(t){return t!=e}));break;case"moderate":s.moderatedInstances=s.moderatedInstances.filter((function(t){return t!=e}))}}))}))},exportBlocks:function(){event.currentTarget.blur(),axios({url:"/api/v0/groups/"+this.groupId+"/admin/blocks/export",method:"POST",responseType:"blob"}).then((function(t){var e=window.URL.createObjectURL(new Blob([t.data])),s=document.createElement("a");s.href=e,s.setAttribute("download","pixelfed-group-blocks-".concat(Date.now(),".json")),document.body.appendChild(s),s.click()}))},deleteGroup:function(){var t=this;axios.post("/api/v0/groups/delete",{gid:this.groupId}).then((function(e){location.href="/groups/".concat(t.groupId)}))}}}},95727:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>p});var a=s(95002),o=s(90637),i=s(54048),r=s(57397),n=s(65603),l=s(27403),c=s(5799),d=s(49139),u=s(2e4);s(73718);const p={data:function(){return{initialLoad:!1,config:{},groups:[],profile:{},tab:null,searchQuery:void 0}},components:{"autocomplete-input":u.default,"group-status":a.default,"self-discover":i.default,"self-groups":r.default,"self-feed":o.default,"self-notifications":n.default,"self-invitations":l.default,"self-remote-search":c.default,"create-group":d.default},mounted:function(){this.fetchConfig()},methods:{init:function(){document.querySelectorAll("footer").forEach((function(t){return t.parentNode.removeChild(t)})),document.querySelectorAll(".mobile-footer-spacer").forEach((function(t){return t.parentNode.removeChild(t)})),document.querySelectorAll(".mobile-footer").forEach((function(t){return t.parentNode.removeChild(t)})),this.initialLoad=!0},fetchConfig:function(){var t=this;axios.get("/api/v0/groups/config").then((function(e){t.config=e.data,t.fetchProfile()}))},fetchProfile:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,t.init(),window._sharedData.curUser=e.data,window.App.util.navatar()}))},fetchSelfGroups:function(){var t=this;axios.get("/api/v0/groups/self/list").then((function(e){t.groups=e.data}))},switchTab:function(t){event.currentTarget.blur(),window.scrollTo(0,0),this.tab=t,"feed"!=t?history.pushState(null,null,"/groups/home?ct="+t):history.pushState(null,null,"/groups/home")},autocompleteSearch:function(t){var e=this;return!t||t.length<2?((this.tab="searchresults")&&(this.tab="feed"),[]):(this.searchQuery=t,t.startsWith("http")?new URL(t).hostname==location.hostname?(location.href=t,[]):[]:t.startsWith("#")?(this.$bvToast.toast(t,{title:"Hashtag detected",variant:"info",autoHideDelay:5e3}),[]):axios.post("/api/v0/groups/search/global",{q:t,v:"0.2"}).then((function(t){return e.searchLoading=!1,t.data})).catch((function(t){return 422===t.response.status&&e.$bvToast.toast(t.response.data.error.message,{title:"Cannot display search results",variant:"danger",autoHideDelay:5e3}),[]})))},getSearchResultValue:function(t){return t.name},onSearchSubmit:function(t){if(t.length<1)return[];location.href=t.url},truncateName:function(t){return t.length<24?t:t.substr(0,23)+"..."}}}},68717:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(7764),o=s(66536);function i(t){return function(t){if(Array.isArray(t))return r(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){if("string"==typeof t)return r(t,e);var s={}.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?r(t,e):void 0}}(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 r(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=Array(e);s<e;s++)a[s]=t[s];return a}const n={props:{groupId:{type:String},profile:{type:Object},status:{type:Object},show:{type:Boolean,default:!1},permalinkMode:{type:Boolean,default:!1},permalinkStatus:{type:Object},canReply:{type:Boolean,default:!0}},components:{"read-more":a.default,"comment-post":o.default},data:function(){return{isLoaded:!1,hide:!1,feed:[],canLoadMore:!1,isLoadingMore:!1,replyContent:null,maxReplyId:null,readMoreCursor:200,avatar:"/storage/avatars/default.png",isUploading:!1,uploadProgress:0,lightboxStatus:null,replyChildId:void 0,replyChildIndex:void 0,childReplyContent:null,postingChildComment:!1,loadingChildComments:!1,replyChildMinId:void 0,replyCursorId:null}},mounted:function(){if(this.permalinkMode&&this.permalinkStatus){var t=this.permalinkStatus;t.reply_count&&(t.children={feed:[],can_load_more:!0}),this.feed.push(t),this.isLoaded=!0,this.canLoadMore=!1}else this.fetchComments();this.profile&&this.profile.hasOwnProperty("avatar")&&(this.avatar=this.profile.avatar)},methods:{fetchComments:function(){var t=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:this.status.id,limit:3}}).then((function(e){var s=e.data.map((function(t){return t.reply_count&&t.reply_count>0&&(t.children={feed:[],can_load_more:!0}),t}));t.feed=s,t.isLoaded=!0,t.maxReplyId=e.data[e.data.length-1].id,3==t.feed.length&&(t.canLoadMore=!0)})).catch((function(e){t.isLoaded=!0}))},loadMoreComments:function(){var t=this;this.isLoadingMore=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:this.status.id,limit:3,max_id:this.maxReplyId}}).then((function(e){var s;if(e.data[e.data.length-1].id==t.maxReplyId)return t.isLoadingMore=!1,void(t.canLoadMore=!1);(s=t.feed).push.apply(s,i(e.data)),setTimeout((function(){t.isLoadingMore=!1}),500),t.maxReplyId=e.data[e.data.length-1].id,e.data.length>0?t.canLoadMore=!0:t.canLoadMore=!1})).catch((function(e){t.isLoadingMore=!1,t.canLoadMore=!1}))},storeComment:function(t){var e,s=this;null===(e=t.currentTarget)||void 0===e||e.blur(),axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,content:this.replyContent}).then((function(t){s.replyContent=null,s.feed.unshift(t.data)})).catch((function(t){422==t.response.status?(s.isUploading=!1,s.uploadProgress=0,swal("Oops!",t.response.data.error,"error")):(s.isUploading=!1,s.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},readMore:function(){this.readMoreCursor=this.readMoreCursor+200},likeComment:function(t,e,s){s.target.blur();var a=!t.favourited;this.feed[e].favourited=a,t.favourited=a,axios.post("/api/v0/groups/comment/".concat(a?"like":"unlike"),{sid:t.id,gid:this.groupId})},deleteComment:function(t){var e=this;0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/api/v0/groups/comment/delete",{gid:this.groupId,id:this.feed[t].id}).then((function(s){e.feed.splice(t,1)})).catch((function(t){console.log(t.response),swal("Error","Something went wrong. Please try again later.","error")}))},uploadImage:function(){this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=this,s=new FormData;s.append("gid",this.groupId),s.append("sid",this.status.id),s.append("photo",this.$refs.fileInput.files[0]),axios.post("/api/v0/groups/comment/photo",s,{onUploadProgress:function(t){e.uploadProgress=Math.floor(t.loaded/t.total*100)}}).then((function(e){t.isUploading=!1,t.uploadProgress=0,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},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},replyToChild:function(t,e){var s=this;if(this.replyChildId==t.id)return this.replyChildId=null,void(this.replyChildIndex=null);this.childReplyContent=null,this.replyChildId=t.id,this.replyCursorId=t.id,this.replyChildIndex=e,t.hasOwnProperty("replies_loaded")&&t.replies_loaded,this.$nextTick((function(){s.fetchChildReplies(t,e)}))},fetchChildReplies:function(t,e){var s=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,cid:this.replyCursorId,limit:3}}).then((function(t){s.feed[e].hasOwnProperty("children")?(s.feed[e].children.feed.push(t.data),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length},s.replyChildMinId=t.data[t.data.length-1].id,s.$nextTick((function(){s.feed[e].replies_loaded=!0}))})).catch((function(t){s.feed[e].children.can_load_more=!1}))},storeChildComment:function(t){var e=this;this.postingChildComment=!0,axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,cid:this.replyChildId,content:this.childReplyContent}).then((function(s){e.childReplyContent=null,e.postingChildComment=!1,e.feed[t].children.feed.push(s.data)})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):swal("Oops!","An error occured while processing your request, please try again later","error")}))},loadMoreChildComments:function(t,e){var s=this;this.loadingChildComments=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,max_id:this.replyChildMinId,cid:1,limit:3}}).then((function(t){var a;s.feed[e].hasOwnProperty("children")?((a=s.feed[e].children.feed).push.apply(a,i(t.data)),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length};s.replyChildMinId=t.data[t.data.length-1].id,s.feed[e].replies_loaded=!0,s.loadingChildComments=!1})).catch((function(t){}))}}}},78828:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(7764);function o(t){return function(t){if(Array.isArray(t))return i(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){if("string"==typeof t)return i(t,e);var s={}.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?i(t,e):void 0}}(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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=Array(e);s<e;s++)a[s]=t[s];return a}const r={props:{groupId:{type:String},profile:{type:Object},status:{type:Object},commentBorderArrow:{type:Boolean,default:!1}},components:{"read-more":a.default},data:function(){return{isLoaded:!1,hide:!1,feed:[],canLoadMore:!1,isLoadingMore:!1,replyContent:null,maxReplyId:null,readMoreCursor:200,avatar:"/storage/avatars/default.png",isUploading:!1,uploadProgress:0,lightboxStatus:null,replyChildId:void 0,childReplyContent:null,postingChildComment:!1}},mounted:function(){console.log(this.status)},methods:{fetchComments:function(){var t=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:this.status.id,limit:3}}).then((function(e){t.feed=e.data,t.isLoaded=!0,t.maxReplyId=e.data[e.data.length-1].id,3==t.feed.length&&(t.canLoadMore=!0)})).catch((function(e){t.isLoaded=!0}))},loadMoreComments:function(){var t=this;this.isLoadingMore=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:this.status.id,limit:3,max_id:this.maxReplyId}}).then((function(e){var s;if(e.data[e.data.length-1].id==t.maxReplyId)return t.isLoadingMore=!1,void(t.canLoadMore=!1);(s=t.feed).push.apply(s,o(e.data)),t.isLoadingMore=!1,t.maxReplyId=e.data[e.data.length-1].id,e.data.length>0?t.canLoadMore=!0:t.canLoadMore=!1})).catch((function(e){t.isLoadingMore=!1,t.canLoadMore=!1}))},storeComment:function(){var t=this;axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,content:this.replyContent}).then((function(e){t.replyContent=null,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},readMore:function(){this.readMoreCursor=this.readMoreCursor+200},likeComment:function(t,e,s){s.target.blur();var a=!t.favourited;this.feed[e].favourited=a,t.favourited=a,axios.post("/api/v0/groups/like",{sid:t.id,gid:this.groupId})},deleteComment:function(t){var e=this;0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/api/v0/groups/status/delete",{gid:this.groupId,id:this.feed[t].id}).then((function(s){e.feed.splice(t,1)})).catch((function(t){console.log(t.response),swal("Error","Something went wrong. Please try again later.","error")}))},uploadImage:function(){this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=this,s=new FormData;s.append("gid",this.groupId),s.append("sid",this.status.id),s.append("photo",this.$refs.fileInput.files[0]),axios.post("/api/v0/groups/comment/photo",s,{onUploadProgress:function(t){e.uploadProgress=Math.floor(t.loaded/t.total*100)}}).then((function(e){t.isUploading=!1,t.uploadProgress=0,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},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},replyToChild:function(t,e){this.replyChildId!=t.id?(this.childReplyContent=null,this.replyChildId=t.id,t.hasOwnProperty("replies_loaded")&&t.replies_loaded||this.fetchChildReplies(t,e)):this.replyChildId=null},fetchChildReplies:function(t,e){var s=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,cid:1,limit:3}}).then((function(t){var a;s.feed[e].hasOwnProperty("children")?((a=s.feed[e].children.feed).push.apply(a,o(t.data)),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length};s.feed[e].replies_loaded=!0})).catch((function(t){}))},storeChildComment:function(){var t=this;this.postingChildComment=!0,axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,cid:this.replyChildId,content:this.childReplyContent}).then((function(e){t.childReplyContent=null,t.postingChildComment=!1})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):swal("Oops!","An error occured while processing your request, please try again later","error")})),console.log(this.replyChildId)}}}},15961:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(74692);const o={props:{status:{type:Object},profile:{type:Object},type:{type:String,default:"status",validator:function(t){return["status","comment","profile"].includes(t)}},groupId:{type:String}},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}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$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;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},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:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/api/v0/groups/".concat(e.groupId,"/report/create"),{type:t,id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):swal("Oops!","There was an issue reporting this post.","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("Error","Something went wrong. Please try again later.","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="Are you sure you want to add a content warning to this post?",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(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.ctxModMenuClose()}))}));break;case"remcw":o="Are you sure you want to remove the content warning on this post?",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(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.ctxModMenuClose()}))}));break;case"unlist":o="Are you sure you want to unlist this post?",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(e){a.feed=a.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":o="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",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("Success","Successfully marked account as spammer","success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){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,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=a("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","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("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},3891:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{label:{type:String},inputText:{type:String},val:{type:String},helpText:{type:String},strongText:{type:Boolean,default:!0}},data:function(){return{value:this.val}},watch:{value:function(t,e){this.$emit("update",t)}}}},35334:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{label:{type:String},placeholder:{type:String},categories:{type:Array},val:{type:String},helpText:{type:String},hasLimit:{type:Boolean,default:!1},maxLimit:{type:Number,default:40},largeInput:{type:Boolean,default:!1}},data:function(){return{value:this.val?this.val:""}},watch:{value:function(t,e){this.$emit("update",t)}}}},87844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{label:{type:String},placeholder:{type:String},val:{type:String},helpText:{type:String},hasLimit:{type:Boolean,default:!1},maxLimit:{type:Number,default:40},largeInput:{type:Boolean,default:!1},rows:{type:Number,default:4}},data:function(){return{value:this.val}},watch:{value:function(t,e){this.$emit("update",t)}}}},45065:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{label:{type:String},placeholder:{type:String},val:{type:String},helpText:{type:String},hasLimit:{type:Boolean,default:!1},maxLimit:{type:Number,default:40},largeInput:{type:Boolean,default:!1}},data:function(){return{value:this.val}},watch:{value:function(t,e){this.$emit("update",t)}}}},91446:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{profile:{type:Object},groupId:{type:String}},data:function(){return{config:window.App.config,composeText:void 0,tab:null,placeholder:"Write something...",allowPhoto:!0,allowVideo:!0,allowPolls:!0,allowEvent:!0,pollOptionModel:null,pollOptions:[],pollExpiry:1440,uploadProgress:0,isUploading:!1,isPosting:!1,photoName:void 0,videoName:void 0}},methods:{newPost:function(){var t=this;if(!this.isPosting){this.isPosting=!0;var e=this,s="text",a=new FormData;switch(a.append("group_id",this.groupId),this.composeText&&this.composeText.length&&a.append("caption",this.composeText),this.tab){case"poll":if(!this.pollOptions||this.pollOptions.length<2||this.pollOptions.length>4)return void swal("Oops!","A poll must have 2-4 choices.","error");if(!this.composeText||this.composeText.length<5)return void swal("Oops!","A poll question must be at least 5 characters.","error");for(var o=0;o<this.pollOptions.length;o++)a.append("pollOptions[]",this.pollOptions[o]);a.append("expiry",this.pollExpiry),s="poll";break;case"photo":a.append("photo",this.$refs.photoInput.files[0]),s="photo",this.isUploading=!0;break;case"video":a.append("video",this.$refs.videoInput.files[0]),s="video",this.isUploading=!0}a.append("type",s),axios.post("/api/v0/groups/status/new",a,{onUploadProgress:function(t){e.uploadProgress=Math.floor(t.loaded/t.total*100)}}).then((function(e){t.isPosting=!1,t.isUploading=!1,t.uploadProgress=0,t.composeText=null,t.photo=null,t.tab=null,t.clearFileInputs(!1),t.$emit("new-status",e.data)})).catch((function(e){422==e.response.status?(t.isPosting=!1,t.isUploading=!1,t.uploadProgress=0,t.photo=null,t.tab=null,t.clearFileInputs(!1),swal("Oops!",e.response.data.error,"error")):(t.isPosting=!1,t.isUploading=!1,t.uploadProgress=0,t.photo=null,t.tab=null,t.clearFileInputs(!1),swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},switchTab:function(t){if(t==this.tab)return this.tab=null,void(this.placeholder="Write something...");switch(t){case"poll":this.placeholder="Write poll question here...";break;case"photo":this.$refs.photoInput.click();break;case"video":this.$refs.videoInput.click();break;default:this.placeholder="Write something..."}this.tab=t},savePollOption:function(){-1==this.pollOptions.indexOf(this.pollOptionModel)?(this.pollOptions.push(this.pollOptionModel),this.pollOptionModel=null):this.pollOptionModel=null},deletePollOption:function(t){this.pollOptions.splice(t,1)},handlePhotoChange:function(){event.currentTarget.blur(),this.tab="photo",this.photoName=event.target.files[0].name},handleVideoChange:function(){event.currentTarget.blur(),this.tab="video",this.videoName=event.target.files[0].name},clearFileInputs:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&event.currentTarget.blur(),this.tab=null,this.$refs.photoInput.value=null,this.photoName=null,this.$refs.videoInput.value=null,this.videoName=null}}}},15426:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object}},methods:{timestampFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=new Date(t);return e?s.toDateString()+" · "+s.toLocaleTimeString():s.toDateString()}}}},51796:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(2e4);s(73718);const o={props:{group:{type:Object},profile:{type:Object}},components:{"autocomplete-input":a.default},data:function(){return{query:"",recent:[],loaded:!1,usernames:[],isSubmitting:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){this.$refs.modal.hide()},autocompleteSearch:function(t){var e=this;return t&&0!=t.length?axios.post("/api/v0/groups/search/invite/friends",{q:t,g:this.group.id,v:"0.2"}).then((function(t){return t.data.filter((function(t){return-1==e.usernames.map((function(t){return t.username})).indexOf(t.username)}))})):[]},getSearchResultValue:function(t){return t.username},onSearchSubmit:function(t){this.usernames.push(t),this.$refs.autocomplete.value=""},removeUsername:function(t){event.currentTarget.blur(),this.usernames.splice(t,1)},submitInvites:function(){var t=this;this.isSubmitting=!0,event.currentTarget.blur(),axios.post("/api/v0/groups/search/invite/friends/send",{g:this.group.id,uids:this.usernames.map((function(t){return t.id}))}).then((function(e){t.usernames=[],t.isSubmitting=!1,t.close(),swal("Success","Successfully sent invite(s)","success")})).catch((function(e){t.usernames=[],t.isSubmitting=!1,422===e.response.status?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later","error"),t.close()}))}}}},68902:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object},compact:{type:Boolean,default:!1},showStats:{type:Boolean,default:!1},truncateTitleLength:{type:Number,default:19},truncateDescriptionLength:{type:Number,default:22}},data:function(){return{titleLength:40,descriptionLength:60}},mounted:function(){this.compact&&(this.titleLength=19,this.descriptionLength=22),19!=this.truncateTitleLength&&(this.titleLength=this.truncateTitleLength),22!=this.truncateDescriptionLength&&(this.descriptionLength=this.truncateDescriptionLength)},methods:{prettyCount:function(t){return App.util.format.count(t)},truncate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:140;return t.length<=e?t:t.substr(0,e)+" ..."}}}},43599:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(7764),o=s(69513);const i={props:{groupId:{type:String},status:{type:Object},profile:{type:Object}},components:{"read-more":a.default,"comment-drawer":o.default},data:function(){return{loaded:!1}},mounted:function(){this.init()},methods:{init:function(){this.loaded=!0,this.$refs.modal.show()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)}}}},89905:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(2e4);s(73718);const o={props:{group:{type:Object},profile:{type:Object}},components:{autocomplete:a.default},data:function(){return{query:"",recent:[],loaded:!1}},methods:{open:function(){this.fetchRecent(),this.$refs.modal.show()},close:function(){this.$refs.modal.hide()},fetchRecent:function(){var t=this;axios.get("/api/v0/groups/search/getrec",{params:{g:this.group.id}}).then((function(e){t.recent=e.data}))},autocompleteSearch:function(t){return!t||t.length<2?[]:axios.post("/api/v0/groups/search/lac",{q:t,g:this.group.id,v:"0.2"}).then((function(t){return t.data}))},getSearchResultValue:function(t){return t.username},onSearchSubmit:function(t){if(t.length<1)return[];axios.post("/api/v0/groups/search/addrec",{g:this.group.id,q:{value:t.username,action:t.url}}).then((function(e){location.href=t.url}))},viewMyActivity:function(){location.href="/groups/".concat(this.group.id,"/user/").concat(this.profile.id,"?rf=group_search")},viewGroupSearch:function(){location.href="/groups/home?ct=gsearch&rf=group_search&rfid=".concat(this.group.id)},addToRecentSearches:function(){}}}},6234:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>g});var a=s(69513),o=s(84125),i=s(78841),r=s(21466),n=s(98051),l=s(37128),c=s(61518),d=s(79427),u=s(42013),p=s(93934),f=s(40798),m=s(76746);function h(t){return function(t){if(Array.isArray(t))return v(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){if("string"==typeof t)return v(t,e);var s={}.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?v(t,e):void 0}}(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 v(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=Array(e);s<e;s++)a[s]=t[s];return a}const g={props:{groupId:{type:String},group:{type:Object},profile:{type:Object},prestatus:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!0},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"},permalinkMode:{type:Boolean,default:!1},showGroupChevron:{type:Boolean,default:!1},showGroupHeader:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"context-menu":o.default,"poll-card":i.default,"mixed-album-presenter":r.default,"photo-album-presenter":n.default,"photo-presenter":l.default,"video-album-presenter":c.default,"video-presenter":d.default,"post-modal":u.default,"parent-unavailable":f.default,"group-post-header":m.default},data:function(){return{config:window.App.config,status:{},loaded:!1,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,commentDrawerKey:0,showCommentDrawer:!1,parentContext:void 0,childContext:void 0,parentUnavailable:void 0,showModal:!1,likes:[],likesPage:1,openLikesModal:!1}},computed:{renderedCaption:{get:function(){if(this.prestatus){var t=this.prestatus.gid;return null==this.prestatus.content?"":(0,p.autoLink)(this.prestatus.content,{hashtagUrlBase:App.config.site.url+"/groups/".concat(t,"/topics/"),usernameUrlBase:App.config.site.url+"/groups/".concat(t,"/username/")})}return this.prestatus.content}}},mounted:function(){var t=this;this.status=this.prestatus;var e=this;setTimeout((function(){1==t.permalinkMode&&t.prestatus.in_reply_to_id?(e.childContext=e.status,axios.get("/api/v0/groups/status",{params:{gid:e.groupId,sid:e.status.in_reply_to_id}}).then((function(t){e.status=t.data,e.parentUnavailable=!1,e.showCommentDrawer=!0,e.parentContext=t.data,e.loaded=!0})).catch((function(s){e.status=t.prestatus,e.parentUnavailable=!0,e.showCommentDrawer=!0,e.parentContext=t.prestatus,e.loaded=!0}))):(e.parentUnavailable=!1,e.showCommentDrawer=!1,e.loaded=!0)}),100)},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,a=t.account.username,o=document.createElement("a");switch(o.href=t.account.url,o=o.hostname,e){case"@":default:return a+'<span class="text-lighter font-weight-bold">@'+o+"</span>";case"from":return a+'<span class="text-lighter font-weight-bold"> <span class="font-weight-normal">from</span> '+o+"</span>";case"custom":return a+'<span class="text-lighter font-weight-bold"> '+s+" "+o+"</span>"}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){e.currentTarget.blur();var s=t.favourites_count,a=t.favourited?"unlike":"like";axios.post("/api/v0/groups/status/"+a,{sid:t.id,gid:this.groupId}).then((function(o){t.favourited=a,t.favourites_count=a?s+1:s-1,t.favourited=a,t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200)},commentFocus:function(t){t.target.blur(),this.showCommentDrawer=!this.showCommentDrawer},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,o=this.replyText,i=this.config.uploader.max_caption_length;if(o.length>i)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+i+" characters or less.","error");axios.post("/i/comment",{item:a,comment:o,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},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()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete")},showPostModal:function(){this.showModal=!0,this.$refs.modal.init()},showLikesModal:function(t){t&&t.hasOwnProperty("currentTarget")&&t.currentTarget().blur(),this.$emit("likes-modal")},infiniteLikesHandler:function(t){var e=this;axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.status.id,{params:{page:this.likesPage}}).then((function(s){var a,o=s.data;o.data.length>0?((a=e.likes).push.apply(a,h(o.data)),e.likesPage++,t.loaded()):t.complete()}))}}}},96895:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={}},70714:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object}}}},9125:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object},isAdmin:{type:Boolean,default:!1},isMember:{type:Boolean,default:!1}},data:function(){return{requestingMembership:!1}},methods:{joinGroup:function(){var t=this;this.requestingMembership=!0,axios.post("/api/v0/groups/"+this.group.id+"/join").then((function(e){t.requestingMembership=!1,t.$emit("refresh")})).catch((function(e){var s=e.response;422==s.status&&(t.requestingMembership=!1,swal("Oops!",s.data.error,"error"))}))},cancelJoinRequest:function(){var t=this;window.confirm("Are you sure you want to cancel your request to join this group?")&&axios.post("/api/v0/groups/"+this.group.id+"/cjr").then((function(e){t.requestingMembership=!1,t.$emit("refresh")})).catch((function(t){var e=t.response;422==e.status&&swal("Oops!",e.data.error,"error")}))},leaveGroup:function(){var t=this;window.confirm("Are you sure you want to leave this group? Any content you shared will remain accessible. You won't be able to rejoin for 24 hours.")&&axios.post("/api/v0/groups/"+this.group.id+"/leave").then((function(e){t.$emit("refresh")}))}}}},11493:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(94559);const o={props:{group:{type:Object},isAdmin:{type:Boolean,default:!1},isMember:{type:Boolean,default:!1},atabs:{type:Object},profile:{type:Object}},components:{"search-modal":a.default},methods:{showSearchModal:function(){event.currentTarget.blur(),this.$refs.searchModal.open()}}}},79270:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{fullContent:null,content:null,cursor:200}},mounted:function(){this.cursor=this.cursorLimit,this.fullContent=this.status.content,this.content=this.status.content.substr(0,this.cursor)},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)}}}},93350:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(75386);function o(t){return function(t){if(Array.isArray(t))return i(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){if("string"==typeof t)return i(t,e);var s={}.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?i(t,e):void 0}}(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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=Array(e);s<e;s++)a[s]=t[s];return a}const r={props:{profile:{type:Object}},components:{"group-list-card":a.default},data:function(){return{isLoaded:!1,tab:"home",popularGroups:[],newGroups:[],activeCategoryIndex:void 0,activeCategoryPage:1,categories:[],categoriesStart:0,categoriesEnd:6,categoryGroups:[],categoryGroupsLoaded:!1,categoryGroupsCanLoadMore:!1}},mounted:function(){this.fetchPopular(),this.fetchCategories()},methods:{fetchPopular:function(){var t=this;axios.get("/api/v0/groups/discover/popular").then((function(e){t.popularGroups=e.data,t.fetchNew()}))},fetchNew:function(){var t=this;axios.get("/api/v0/groups/discover/new").then((function(e){t.newGroups=e.data}))},fetchCategories:function(){var t=this;axios.get("/api/v0/groups/categories/list").then((function(e){t.categories=e.data}))},toggleTab:function(t){window.scrollTo(0,0),this.tab=t},selectCategory:function(t){window.scrollTo(0,0),t!==this.activeCategoryIndex&&(this.activeCategoryPage=1),this.activeCategoryIndex=t,this.fetchCategoryGroups()},fetchCategoryGroups:function(){var t=this;1==this.activeCategoryPage&&(this.categoryGroupsLoaded=!1),axios.get("/api/v0/groups/category/list",{params:{name:this.categories[this.activeCategoryIndex],page:this.activeCategoryPage}}).then((function(e){var s;(t.tab="category",1==t.activeCategoryPage)?t.categoryGroups=e.data:(s=t.categoryGroups).push.apply(s,o(e.data));6==e.data.length?(t.categoryGroupsCanLoadMore=!0,t.activeCategoryPage++):t.categoryGroupsCanLoadMore=!1,setTimeout((function(){t.categoryGroupsLoaded=!0}),600)}))}}}},34015:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(95002);const o={props:{profile:{type:Object}},data:function(){return{feed:[],ids:[],page:1,tab:"feed",initalLoad:!1,emptyFeed:!0}},components:{"group-status":a.default},mounted:function(){this.fetchFeed()},methods:{fetchFeed:function(){var t=this;axios.get("/api/v0/groups/self/feed",{params:{initial:!0}}).then((function(e){t.page++,t.feed=e.data,t.emptyFeed=0===t.feed.length,t.initalLoad=!0}))},infiniteFeed:function(t){var e=this;this.feed.length<2||this.page>5?t.complete():axios.get("/api/v0/groups/self/feed",{params:{page:this.page}}).then((function(s){if(s.data.length){var a=s.data,o=e;a.forEach((function(t){-1==o.ids.indexOf(t.id)&&(o.ids.push(t.id),o.feed.push(t))})),t.loaded(),e.page++}else t.complete()}))},switchTab:function(t){this.tab=t},gotoDiscover:function(){this.$emit("switchtab","discover")}}}},7755:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(75386);function o(t){return function(t){if(Array.isArray(t))return i(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){if("string"==typeof t)return i(t,e);var s={}.toString.call(t).slice(8,-1);return"Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s?Array.from(t):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?i(t,e):void 0}}(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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=Array(e);s<e;s++)a[s]=t[s];return a}const r={props:{profile:{type:Object}},components:{"group-list-card":a.default},data:function(){return{isLoaded:!1,groups:[],canLoadMore:!1,loadingMore:!1,page:1}},mounted:function(){this.fetchSelf()},methods:{fetchSelf:function(){var t=this;axios.get("/api/v0/groups/self/list").then((function(e){var s=e.data.filter((function(t){return t.hasOwnProperty("id")&&t.hasOwnProperty("url")}));t.groups=s,t.canLoadMore=4==e.data.length,t.page++,t.isLoaded=!0}))},loadMore:function(){var t=this;this.loadingMore=!0,axios.get("/api/v0/groups/self/list",{params:{page:this.page}}).then((function(e){var s,a=e.data.filter((function(t){return t.hasOwnProperty("id")&&t.hasOwnProperty("url")}));(s=t.groups).push.apply(s,o(a)),t.canLoadMore=4==e.data.length,t.page++,t.loadingMore=!1}))},prettyCount:function(t){return App.util.format.count(t)},truncate:function(t){return t.length<=140?t:t.substr(0,140)+" ..."}}}},26751:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={}},93543:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{notifications:[],initialLoad:!1,loading:!0,page:1}},mounted:function(){this.fetchNotifications()},methods:{fetchNotifications:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(t){window._sharedData.curUser=t.data,window.App.util.navatar()})),axios.get("/api/v0/groups/self/notifications").then((function(e){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))))}));t.notifications=s}))},truncate:function(t){return t.length<=15?t:t.slice(0,15)+"..."},timeAgo:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/31536e3);return a>=1?a+"y":(a=Math.floor(s/604800))>=1?a+"w":(a=Math.floor(s/86400))>=1?a+"d":(a=Math.floor(s/3600))>=1?a+"h":(a=Math.floor(s/60))>=1?a+"m":Math.floor(s)+"s"},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},followProfile:function(t){var e=this,s=t.account.id;axios.post("/i/follow",{item:s}).then((function(t){e.notifications.map((function(t){t.account.id===s&&(t.relationship.following=!0)}))})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},viewContext:function(t){switch(t.type){case"follow":return t.account.url;case"mention":case"like":case"favourite":case"comment":return t.status.url;case"tagged":return t.tagged.post_url;case"direct":return"/account/direct/t/"+t.account.id}return"/"},getProfileUrl:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},getPostUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id}}}},60217:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{q:void 0}}}},33664:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object},status:{type:Object},profile:{type:Object},showGroupHeader:{type:Boolean,default:!1},showGroupChevron:{type:Boolean,default:!1}},data:function(){return{reportTypes:[{key:"spam",title:"It's spam"},{key:"sensitive",title:"Nudity or sexual activity"},{key:"abusive",title:"Bullying or harassment"},{key:"underage",title:"I think this account is underage"},{key:"violence",title:"Violence or dangerous organizations"},{key:"copyright",title:"Copyright infringement"},{key:"impersonation",title:"Impersonation"},{key:"scam",title:"Scam or fraud"},{key:"terrorism",title:"Terrorism or terrorism-related content"}]}},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(){return"/groups/"+this.status.gid+"/p/"+this.status.id},profileUrl:function(){return"/groups/"+this.status.gid+"/user/"+this.status.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,a=t.account.username,o=document.createElement("a");switch(o.href=t.account.url,o=o.hostname,e){case"@":default:return a+'<span class="text-lighter font-weight-bold">@'+o+"</span>";case"from":return a+'<span class="text-lighter font-weight-bold"> <span class="font-weight-normal">from</span> '+o+"</span>";case"custom":return a+'<span class="text-lighter font-weight-bold"> '+s+" "+o+"</span>"}},sendReport:function(t){var e=this,s=document.createElement("div");s.classList.add("list-group"),this.reportTypes.forEach((function(t){var e=document.createElement("button");e.classList.add("list-group-item","small"),e.innerHTML=t.title,e.onclick=function(){document.dispatchEvent(new CustomEvent("reportOption",{detail:{key:t.key,title:t.title}}))},s.appendChild(e)}));var a=document.createElement("div");a.appendChild(s),swal({title:"Report Content",icon:"warning",content:a,buttons:!1}),document.addEventListener("reportOption",(function(t){console.log(t.detail),e.showConfirmation(t.detail)}),{once:!0})},showConfirmation:function(t){var e=this;console.log(t),swal({title:"Confirmation",text:"You selected ".concat(t.title,". Do you want to proceed?"),icon:"info",buttons:!0}).then((function(s){s?axios.post("/api/v0/groups/".concat(e.status.gid,"/report/create"),{type:t.key,id:e.status.id}).then((function(t){swal("Confirmed!","Your report has been submitted.","success")})):swal("Cancelled","Your report was not submitted.","error")}))},onDelete:function(){var t=this;swal({title:"Delete Post Confirmation",text:"Are you sure you want to delete this post?",icon:"warning",dangerMode:!0,buttons:!0}).then((function(e){e&&axios.post("/api/v0/groups/status/delete",{id:t.status.id,gid:t.status.gid}).then((function(e){t.$emit("delete",t.status)})).catch((function(t){console.log(t)}))}))}}}},75e3:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(69513);const o={props:{showCommentDrawer:{type:Boolean},permalinkMode:{type:Boolean},childContext:{type:Object},status:{type:Object},profile:{type:Object},groupId:{type:String}},components:{"comment-drawer":a.default}}},33422:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},36639:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634);const o={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var a="forward";e.advancePage(a),e.$emit("navigation-click",a)}}}}},9266:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634);const o={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.target})},width:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.width)return this.status.media_attachments[0].meta.original.width},height:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.height)return this.status.media_attachments[0].meta.original.height}}}},35986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},25189:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")},poster:function(){var t=this.status.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},70384:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(74692);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}},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()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$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;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},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:"Confirm Report",text:"Are you sure you want to report this post?",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("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","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("Error","Something went wrong. Please try again later.","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="Are you sure you want to add a content warning to this post?",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(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.ctxModMenuClose()}))}));break;case"remcw":o="Are you sure you want to remove the content warning on this post?",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(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.ctxModMenuClose()}))}));break;case"unlist":o="Are you sure you want to unlist this post?",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(e){a.feed=a.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":o="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",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("Success","Successfully marked account as spammer","success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){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,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=a("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","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("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},78615:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(53744),o=s(74692);const i={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":a.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at)<new Date,t.status.poll.expired&&(t.tab=t.status.poll.voted?"voted":"results")})):(this.status.poll.voted&&(this.tab="voted"),this.status.poll.expired=new Date(this.status.poll.expires_at)<new Date,this.status.poll.expired&&(this.tab=this.status.poll.voted?"voted":"results"),this.status.poll.own_votes.length&&(this.selectedIndex=this.status.poll.own_votes[0])),this.authenticated=o("body").hasClass("loggedIn")},methods:{selectOption:function(t){event.currentTarget.blur(),this.selectedIndex=t},submitVote:function(){var t=this;axios.post("/api/v1/polls/"+this.status.poll.id+"/votes",{choices:[this.selectedIndex]}).then((function(e){console.log(e.data),t.status.poll=e.data})),this.tab="voted"},viewResultsTab:function(){this.tab="results"},viewPollTab:function(){this.tab=null!=this.selectedIndex?"voted":"vote"},formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},shortTimestampAhead:function(t){return window.App.util.format.timeAhead(t)},refreshResults:function(){var t=this;this.activeRefreshTimeout=!0,this.refreshingResults=!0,axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,t.status.poll.voted&&(t.selectedIndex=t.status.poll.own_votes[0],t.tab="voted",t.setActiveRefreshTimeout(),t.refreshingResults=!1)})).catch((function(e){swal("Oops!","An error occured while fetching the latest poll results. Please try again later.","error"),t.setActiveRefreshTimeout(),t.refreshingResults=!1}))},setActiveRefreshTimeout:function(){var t=this;this.refreshTimeout=setTimeout((function(){t.activeRefreshTimeout=!1}),3e4)},statusDeleted:function(t){this.$emit("status-delete",t)},ctxMenu:function(){this.$refs.contextMenu.open()},likeStatus:function(){this.$emit("likeStatus",this.status)},calculatePercentage:function(t){var e=this.status;return 0==e.poll.votes_count?0:Math.round(t.votes_count/e.poll.votes_count*100)}}}},47898:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(53744),o=s(78841),i=s(74692);const r={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":a.default,"poll-card":o.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,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)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,a=t.account.username,o=document.createElement("a");switch(o.href=t.account.url,o=o.hostname,e){case"@":default:return a+'<span class="text-lighter font-weight-bold">@'+o+"</span>";case"from":return a+'<span class="text-lighter font-weight-bold"> <span class="font-weight-normal">from</span> '+o+"</span>";case"custom":return a+'<span class="text-lighter font-weight-bold"> '+s+" "+o+"</span>"}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=i("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,o=this.replyText,i=this.config.uploader.max_caption_length;if(o.length>i)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+i+" characters or less.","error");axios.post("/i/comment",{item:a,comment:o,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},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()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)}}}},93409:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-component"},["home"===t.tab?e("div",[e("groups-home")],1):t._e(),t._v(" "),"createGroup"===t.tab?e("div",[e("create-group")],1):t._e(),t._v(" "),"show"===t.tab?e("div",[e("group-feed",{attrs:{"group-id":t.groupId,path:t.path}})],1):t._e()])},o=[]},92192:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"create-group-component col-12 col-md-9",staticStyle:{height:"100vh - 51px !important",overflow:"hidden"}},[t.hide?t._e():e("div",{staticClass:"row h-100 bg-lighter"},[e("div",{staticClass:"col-12 col-md-8 border-left"},[t._m(0),t._v(" "),e("div",{staticClass:"px-2 mb-5"},[e("div",{staticClass:"mt-4"},[e("text-input",{attrs:{label:"Group Name",value:t.name,hasLimit:!0,maxLimit:t.limit.name.max,placeholder:"Add your group name",helpText:"Alphanumeric characters only, you can change this later.",largeInput:!0},on:{update:function(e){return t.handleUpdate("name",e)}}}),t._v(" "),e("hr"),t._v(" "),e("select-input",{attrs:{label:"Group Type",value:t.membership,categories:t.membershipCategories,placeholder:"Select a type",helpText:"Select the membership type, you can change this later."},on:{update:function(e){return t.handleUpdate("membership",e)}}}),t._v(" "),e("hr"),t._v(" "),e("select-input",{attrs:{label:"Group Category",value:t.category,categories:t.categories,placeholder:"Select a category",helpText:"Choose the most relevant category to improve discovery and visibility"},on:{update:function(e){return t.handleUpdate("category",e)}}}),t._v(" "),e("hr"),t._v(" "),e("text-area-input",{attrs:{label:"Group Description",value:t.description,hasLimit:!0,maxLimit:t.limit.description.max,placeholder:"Describe your groups purpose in a few words",helpText:"Describe your groups purpose in a few words, you can change this later."},on:{update:function(e){return t.handleUpdate("description",e)}}}),t._v(" "),e("hr"),t._v(" "),e("checkbox-input",{attrs:{label:"Adult Content",inputText:"Allow Adult Content",value:t.configuration.adult,helpText:"Groups that allow adult content should enable this or risk suspension or deletion by instance admins. Illegal content is prohibited. You can change this later."}}),t._v(" "),e("hr"),t._v(" "),e("checkbox-input",{attrs:{label:"",inputText:"I agree to the the Community Guidelines and Terms of Use and will administrate this group according to the rules set by this server. I understand that failure to abide by these terms may lead to the suspension of this group, and my account.",value:t.hasConfirmed,strongText:!1},on:{update:function(e){return t.handleUpdate("hasConfirmed",e)}}}),t._v(" "),e("button",{staticClass:"btn btn-primary btn-block font-weight-bold rounded-pill mt-4",attrs:{disabled:!t.hasConfirmed},on:{click:t.createGroup}},[t._v("\n Create Group\n ")])],1)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 bg-white"})])])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-dark p-5 mx-n3"},[e("p",{staticClass:"h1 font-weight-bold text-light mb-2"},[t._v("Create Group")]),t._v(" "),e("p",{staticClass:"text-lighter mb-0"},[t._v("Create a new federated Group that is compatible with other Pixelfed and Lemmy servers")])])}]},91057:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-feed-component"},[t.initalLoad?e("div",[e("div",{staticClass:"mb-3 border-bottom"},[e("div",{staticClass:"container-xl"},[e("group-banner",{attrs:{group:t.group}}),t._v(" "),e("group-header-details",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember},on:{refresh:t.handleRefresh}}),t._v(" "),e("group-nav-tabs",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember,atabs:t.atabs}})],1)]),t._v(" "),e("div",{staticClass:"container-xl group-feed-component-body"},[e("div",{staticClass:"row mb-5"},[e("div",{staticClass:"col-12 col-md-7 mt-3"},[t.group.self.is_member?e("div",[t.initalLoad?e("group-compose",{attrs:{profile:t.profile,"group-id":t.groupId},on:{"new-status":t.pushNewStatus}}):t._e(),t._v(" "),0==t.feed.length?e("div",{staticClass:"mt-3"},[t._m(0)]):e("div",{staticClass:"group-timeline"},[e("p",{staticClass:"font-weight-bold mb-1"},[t._v("Recent Posts")]),t._v(" "),t._l(t.feed,(function(s,a){return e("group-status",{key:"gs:"+s.id+a,attrs:{prestatus:s,profile:t.profile,"group-id":t.groupId},on:{"comment-focus":function(e){return t.commentFocus(a)},"status-delete":function(e){return t.statusDelete(a)},"likes-modal":function(e){return t.showLikesModal(a)}}})})),t._v(" "),e("b-modal",{ref:"likeBox",attrs:{size:"sm",centered:"","hide-footer":"",title:"Likes","body-class":"list-group-flush p-0"}},[e("div",{staticClass:"list-group py-1",staticStyle:{"max-height":"300px","overflow-y":"auto"}},[t._l(t.likes,(function(s,a){return e("div",{key:"modal_likes_"+a,staticClass:"list-group-item border-top-0 border-left-0 border-right-0 py-2",class:{"border-bottom-0":a+1==t.likes.length}},[e("div",{staticClass:"media align-items-center"},[e("a",{attrs:{href:s.url}},[e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:s.url}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.display_name)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-truncate mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])])])])})),t._v(" "),e("infinite-loading",{attrs:{distance:800,spinner:"spiral"},on:{infinite:t.infiniteLikesHandler}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),t._v(" "),t.feed.length>2?e("div",{attrs:{distance:800}},[e("infinite-loading",{on:{infinite:t.infiniteFeed}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()],2)],1):e("div",[t._m(1)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-5"},[e("group-info-card",{attrs:{group:t.group}})],1)]),t._v(" "),e("search-modal",{ref:"searchModal",attrs:{group:t.group,profile:t.profile}}),t._v(" "),e("invite-modal",{ref:"inviteModal",attrs:{group:t.group,profile:t.profile}})],1)]):e("div",[e("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[t._v("Loading...")])])])},o=[function(){var t=this._self._c;return t("div",{staticClass:"card card-body shadow-none border d-flex align-items-center justify-content-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"font-weight-bold mb-0"},[this._v("No posts yet!")])])},function(){var t=this._self._c;return t("div",{staticClass:"card card-body mt-3 shadow-none border d-flex align-items-center justify-content-center",staticStyle:{height:"100px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Join to participate in this group.")])])}]},62959:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-invite-component"},[e("div",{staticClass:"container"},[e("div",{staticClass:"row justify-content-center mt-5"},[e("div",{staticClass:"col-12 col-md-7"},[e("div",{staticClass:"card shadow-none border",staticStyle:{"min-height":"300px"}},[e("div",{staticClass:"card-body d-flex justify-content-center align-items-center"},[e("transition-group",{attrs:{name:"fade"}},["initial"===t.tab?e("div",{key:"initial"},[e("p",{staticClass:"text-center mb-1"},[e("b-spinner",{attrs:{variant:"lighter"}})],1),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v(t._s(t.loadingStatus))])]):"loading"===t.tab?e("div",{key:"loading"},[e("p",{staticClass:"text-center mb-1"},[e("b-spinner",{attrs:{variant:"lighter"}})],1)]):"login"===t.tab?e("div",{key:"login"},[e("p",{staticClass:"text-center mb-0"},[t._v("Please "),e("a",{attrs:{href:"/login"}},[t._v("login")]),t._v(" to continue")])]):"form"===t.tab?e("div",{key:"form"},[e("div",{staticClass:"d-flex justify-content-center align-items-center flex-column"},[e("p",{staticClass:"text-center h4 font-weight-bold"},[e("a",{attrs:{href:"#"}},[t._v("@dansup")]),t._v(" invited you to join")]),t._v(" "),e("div",{staticClass:"card my-3 shadow-none border",staticStyle:{width:"300px"}},[t.group.metadata&&t.group.metadata.hasOwnProperty("header")?e("img",{staticClass:"card-img-top",staticStyle:{width:"100%",height:"100px","object-fit":"cover"},attrs:{src:t.group.metadata.header.url}}):e("div",{staticClass:"card-img-top",staticStyle:{width:"100px",height:"100px",padding:"5px"}},[e("div",{staticClass:"bg-primary d-flex align-items-center justify-content-center",staticStyle:{width:"100%",height:"100%"}},[e("i",{staticClass:"fal fa-users text-white fa-lg"})])]),t._v(" "),e("div",{staticClass:"card-body"},[e("p",{staticClass:"h5 font-weight-bold mb-1 text-dark"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.group.name||"Untitled Group")+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.showMore?e("p",{staticClass:"text-muted small mb-1"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.group.description)+"\n\t\t\t\t\t\t\t\t\t\t\t")]):t._e()]),t._v(" "),e("p",{staticClass:"mb-1"},[e("span",{staticClass:"text-muted mr-2"},[e("i",{staticClass:"far fa-users fa-sm text-lighter mr-1"}),t._v(" "),e("span",{staticClass:"small font-weight-bold"},[t._v(t._s(t.prettyCount(t.group.member_count))+" Members")])]),t._v(" "),t.group.local?t._e():e("span",{staticClass:"remote-label ml-2"},[e("i",{staticClass:"fal fa-globe"}),t._v(" Remote\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.showMore?e("div",[e("p",{staticClass:"text-muted small mb-1"},[e("i",{staticClass:"far fa-tag fa-sm text-lighter mr-2"}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("Category: "+t._s(t.group.category.name))])]),t._v(" "),e("p",{staticClass:"text-muted small mb-1"},[e("i",{staticClass:"far fa-clock fa-sm text-lighter mr-2"}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("Created "+t._s(t.timeago(t.group.created_at))+" ago")])])]):t._e()])],1)])]),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light border-lighter font-weight-bold btn-sm",on:{click:t.showMoreInfo}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.showMore?"Less":"More")+" info\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold btn-sm",on:{click:t.declineInvite}},[t._v("Decline")]),t._v(" "),e("button",{staticClass:"btn btn-primary font-weight-bold btn-sm",on:{click:t.acceptInvite}},[t._v("Accept")])])])]):"existingmember"===t.tab?e("div",{key:"existingmember"},[e("p",{staticClass:"text-center mb-0"},[t._v("You already are a member of this group")]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"font-weight-bold",attrs:{href:t.group.url}},[t._v("View Group")])])]):"notinvited"===t.tab?e("div",{key:"notinvited"},[e("p",{staticClass:"text-center mb-0"},[t._v("We cannot find an active invitation for your account.")])]):"error"===t.tab?e("div",{key:"error"},[e("p",{staticClass:"text-center mb-0"},[t._v("An unknown error occured. Please try again later.")])]):e("div",{key:"unknown"},[e("p",{staticClass:"text-center mb-0"},[t._v("An unknown error occured. Please try again later.")])])])],1)])])])])])},o=[]},80311:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-profile-component w-100 h-100"},[e("div",{staticClass:"bg-white mb-3 border-bottom"},[e("div",{staticClass:"container-xl header"},[e("div",{staticClass:"header-jumbotron"}),t._v(" "),e("div",{staticClass:"header-profile-card"},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),t._v(" "),e("p",{staticClass:"name"},[t._v("\n\t\t\t\t\t"+t._s(t.profile.display_name)+"\n\t\t\t\t")]),t._v(" "),e("p",{staticClass:"username text-muted"},[t.profile.local?e("span",[t._v("@"+t._s(t.profile.username))]):e("span",[t._v(t._s(t.profile.acct))]),t._v(" "),t.profile.is_admin?e("span",{staticClass:"text-danger ml-1",attrs:{title:"Site administrator","data-toggle":"tooltip","data-placement":"bottom"}},[e("i",{staticClass:"far fa-users-crown"})]):t._e()])]),t._v(" "),e("div",{staticClass:"header-navbar"},[e("div"),t._v(" "),e("div",[t.currentProfile.id===t.profile.id?e("a",{staticClass:"btn btn-light font-weight-bold mr-2",attrs:{href:"/settings/home"}},[e("i",{staticClass:"fas fa-edit mr-1"}),t._v(" Edit Profile\n\t\t\t\t\t")]):t._e(),t._v(" "),t.profile.relationship.following?e("a",{staticClass:"btn btn-primary font-weight-bold mr-2",attrs:{href:t.profile.url}},[e("i",{staticClass:"far fa-comment-alt-dots mr-1"}),t._v(" Message\n\t\t\t\t\t")]):t._e(),t._v(" "),t.profile.relationship.following?e("a",{staticClass:"btn btn-light font-weight-bold mr-2",attrs:{href:t.profile.url}},[e("i",{staticClass:"fas fa-user-check mr-1"}),t._v(" "+t._s(t.profile.relationship.followed_by?"Friends":"Following")+"\n\t\t\t\t\t")]):t._e(),t._v(" "),t.profile.relationship.following?t._e():e("a",{staticClass:"btn btn-light font-weight-bold mr-2",attrs:{href:t.profile.url}},[e("i",{staticClass:"fas fa-user mr-1"}),t._v(" View Main Profile\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"dropdown"},[t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{"aria-labelledby":"amenu"}},[t.currentProfile.id!=t.profile.id?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/report?type=user&id=".concat(t.profile.id)}},[t._v("Report")]):t._e(),t._v(" "),t.currentProfile.id==t.profile.id?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"#"}},[t._v("Leave Group")]):t._e()])])])])])]),t._v(" "),e("div",{staticClass:"w-100 h-100 group-profile-feed"},[e("div",{staticClass:"container-xl"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-5"},[e("div",{staticClass:"card card-body shadow-sm infolet"},[e("h5",{staticClass:"font-weight-bold mb-3"},[t._v("Intro")]),t._v(" "),t.profile.local?t._e():e("div",{staticClass:"media mb-3 align-items-center"},[t._m(1),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n\t\t\t\t\t\t\t\tRemote member from "),e("strong",[t._v(t._s(t.profile.acct.split("@")[1]))])])]),t._v(" "),e("div",{staticClass:"media align-items-center"},[t._m(2),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.roleTitle)+" of "),e("strong",[t._v(t._s(t.group.name))]),t._v(" since "+t._s(t.profile.group.joined)+"\n\t\t\t\t\t\t\t")])])]),t._v(" "),t.canIntersect?e("div",{staticClass:"card card-body shadow-sm infolet"},[e("h5",{staticClass:"font-weight-bold mb-3"},[t._v("Things in Common")]),t._v(" "),t.commonIntersects.friends.length?t._m(4):t._e(),t._v(" "),t._m(5),t._v(" "),t.commonIntersects.groups.length?e("div",{staticClass:"media mb-3 align-items-center"},[t._m(6),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n\t\t\t\t\t\t\t\tAlso member of "),e("a",{staticClass:"text-dark font-weight-bold",attrs:{href:t.commonIntersects.groups[0].url}},[t._v(t._s(t.commonIntersects.groups[0].name))]),t._v(" and "+t._s(t.commonIntersects.groups_count)+" other groups\n\t\t\t\t\t\t\t")])]):t._e(),t._v(" "),t.commonIntersects.topics.length?e("div",{staticClass:"media mb-0 align-items-center"},[t._m(7),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n\t\t\t\t\t\t\t\tAlso interested in topics containing\n\t\t\t\t\t\t\t\t"),t._l(t.commonIntersects.topics,(function(s,a){return e("span",[t.commonIntersects.topics.length-1==a?e("span",[t._v(" and ")]):t._e(),e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:s.url}},[t._v("#"+t._s(s.name))]),t.commonIntersects.topics.length>a+2?e("span",[t._v(", ")]):t._e()])})),t._v(" hashtags\n\t\t\t\t\t\t\t")],2)]):t._e()]):t._e()]),t._v(" "),e("div",{staticClass:"col-12 col-md-7"},[t._m(8),t._v(" "),t.feedEmpty?e("div",{staticClass:"pt-5 text-center"},[e("h5",[t._v("No New Posts")]),t._v(" "),e("p",[t._v(t._s(t.profile.username)+" hasn't posted anything yet in "),e("strong",[t._v(t._s(t.group.name))]),t._v(".")]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.group.url}},[t._v("Go Back")])]):t._e(),t._v(" "),t.feedLoaded?e("div",{staticClass:"mt-2"},[t._l(t.feed,(function(s,a){return e("group-status",{key:"gps:"+s.id,attrs:{permalinkMode:!0,showGroupChevron:!0,group:t.group,prestatus:s,profile:t.profile,"group-id":t.group.id}})})),t._v(" "),t.feed.length>=1?e("div",{attrs:{distance:800}},[e("infinite-loading",{on:{infinite:t.infiniteFeed}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()],2):t._e()])])])])])},o=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-light font-weight-bold dropdown-toggle",attrs:{type:"button",id:"amenu","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[t("i",{staticClass:"fas fa-ellipsis-h"})])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"far fa-globe",attrs:{title:"User is from a remote server","data-toggle":"tooltip","data-placement":"bottom"}})])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"fas fa-users",attrs:{title:"User joined group on this date","data-toggle":"tooltip","data-placement":"bottom"}})])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"far fa-user-friends"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"media mb-3 align-items-center"},[t._m(3),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.commonIntersects.friends_count)+" mutual friend"),t.commonIntersects.friends.length>1?e("span",[t._v("s")]):t._e(),t._v(" including\n\t\t\t\t\t\t\t\t"),t._l(t.commonIntersects.friends,(function(s,a){return e("span",[e("a",{staticClass:"text-dark font-weight-bold",attrs:{href:s.url}},[t._v(t._s(s.acct))]),t.commonIntersects.friends.length>a+1?e("span",[t._v(", ")]):e("span")])}))],2)])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"media mb-3 align-items-center"},[e("div",{staticClass:"media-icon"},[e("i",{staticClass:"fas fa-home"})]),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n\t\t\t\t\t\t\t\tLives in "),e("strong",[t._v("Canada")])])])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"fas fa-users"})])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"far fa-thumbs-up fa-lg text-lighter"})])},function(){var t=this._self._c;return t("div",{staticClass:"card card-body shadow-sm"},[t("h5",{staticClass:"font-weight-bold mb-0"},[this._v("Group Posts")])])}]},902:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-settings-component"},[t.initalLoad?e("div",[e("div",{staticClass:"bg-white mb-3 border-bottom"},[e("div",{staticClass:"container"},[e("div",{staticClass:"col-12 group-settings-component-header"},[e("div",[e("h1",{staticClass:"font-weight-bold mb-4"},[t._v("Group Settings")]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._m(0),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("\n\t\t\t\t\t\t\t\t·\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v(t._s(1==t.group.member_count?t.group.member_count+" Member":t.group.member_count+" Members"))]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("\n\t\t\t\t\t\t\t\t·\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-lighter"},[t._v("ID:"+t._s(t.group.id))])])]),t._v(" "),e("div",[t.isAdmin?e("a",{staticClass:"mr-2 btn btn-outline-secondary rounded-pill cta-btn font-weight-bold",attrs:{href:t.group.url}},[e("i",{staticClass:"fas fa-chevron-left mr-1"}),t._v(" Back to Group\n\t\t\t\t\t\t")]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill px-4",attrs:{disabled:t.savingChanges},on:{click:t.submit}},[t._v("\n\t\t\t\t\t\t\tSave Changes\n\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"col-12"},[e("ul",{staticClass:"nav nav-tabs border-bottom-0 font-weight-bold small"},[e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"home"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab("home")}}},[t._v("\n\t\t\t\t\t\t\t\tGeneral\n\t\t\t\t\t\t\t")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"customize"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab("customize")}}},[t._v("\n\t\t\t\t\t\t\t\tCustomize\n\t\t\t\t\t\t\t")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"blocked"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab("blocked")}}},[t._v("\n\t\t\t\t\t\t\t\tDomain/User Blocks\n\t\t\t\t\t\t\t")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"interactions"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab("interactions")}}},[t._v("\n\t\t\t\t\t\t\t\tInteractions\n\t\t\t\t\t\t\t")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"limits"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab("limits")}}},[t._v("\n\t\t\t\t\t\t\t\tLimits\n\t\t\t\t\t\t\t")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"advanced"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab("advanced")}}},[t._v("\n\t\t\t\t\t\t\t\tAdvanced\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"container-xl pt-3"},["home"==t.tab?e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 offset-md-3"},[e("div",{},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Name")]),t._v(" "),e("input",{staticClass:"form-control",attrs:{disabled:""},domProps:{value:t.group.name}}),t._v(" "),e("p",{staticClass:"form-text small text-muted"},[t._v("You cannot change a groups name at this time.")])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Category")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.category,expression:"category"}],staticClass:"custom-select",on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.category=e.target.multiple?s:s[0]}}},[e("option",{attrs:{value:"",selected:"",disabled:""}},[t._v("Select a category")]),t._v(" "),t._l(t.categories,(function(s){return e("option",{domProps:{value:s}},[t._v(t._s(s))])}))],2),t._v(" "),e("p",{staticClass:"form-text small text-muted"},[t._v("Choose the most relevant category to improve discovery and visibility")])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Description")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.group.description,expression:"group.description"}],staticClass:"form-control",staticStyle:{resize:"none"},attrs:{rows:"4"},domProps:{value:t.group.description},on:{input:function(e){e.target.composing||t.$set(t.group,"description",e.target.value)}}}),t._v(" "),e("span",{staticClass:"form-text small text-muted font-weight-bold text-right"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.group.description?t.group.description.length:0)+"/500\n\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"form-text small text-muted"},[t._v("A plain text description of your group. Be as descriptive as possible to give potential members a better idea of what to expect.")])])])])]):t._e(),t._v(" "),"customize"==t.tab?e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 offset-md-3"},[e("div",{},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Avatar Photo")]),t._v(" "),t.group.metadata&&t.group.metadata.hasOwnProperty("avatar")?e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("img",{staticClass:"rounded-circle border",staticStyle:{"object-fit":"cover"},attrs:{src:t.group.metadata.avatar.url,width:"100",height:"100"}}),t._v(" "),t._m(1)]):e("div",[e("div",{staticClass:"custom-file"},[e("input",{ref:"avatarInput",staticClass:"custom-file-input",attrs:{type:"file"}}),t._v(" "),e("label",{staticClass:"custom-file-label",attrs:{for:"avatarInput"}},[t._v("Choose file")])]),t._v(" "),e("p",{staticClass:"form-text small text-muted"},[t._v("Must be jpeg or png format, up to 2MB")])])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Header Photo")]),t._v(" "),t.group.metadata&&t.group.metadata.hasOwnProperty("header")?e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("img",{staticClass:"rounded border",staticStyle:{"object-fit":"cover"},attrs:{src:t.group.metadata.header.url,width:"200",height:"100"}}),t._v(" "),t._m(2)]):e("div",[e("div",{staticClass:"custom-file"},[e("input",{ref:"headerInput",staticClass:"custom-file-input",attrs:{type:"file"}}),t._v(" "),e("label",{staticClass:"custom-file-label",attrs:{for:"headerInput"}},[t._v("Choose file")])]),t._v(" "),e("p",{staticClass:"form-text small text-muted"},[t._v("Must be jpeg or png format, up to 10MB")])])])])])]):t._e(),t._v(" "),"interactions"==t.tab?e("div",{staticClass:"row"},[t._m(3),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"list-group"},[t._l(t.interactionLog,(function(s,a){return e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:s.profile.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.profile.username))]),t._v(" "),"group:comment:created"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tcommented on a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.sidToUrl(s.metadata.status_id)}},[t._v("post")])]):"group:joined"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tjoined the group\n\t\t\t\t\t\t\t\t\t")]):"group:like"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tliked a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.sidToUrl(s.metadata.status_id)}},[t._v("post")])]):"group:settings:updated"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tupdated the "),e("a",{staticClass:"font-weight-bold",attrs:{href:""}},[t._v("group settings")])]):"group:status:created"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tcreated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.sidToUrl(s.metadata.status_id)}},[t._v("post")])]):"group:status:deleted"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tdeleted a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.sidToUrl(s.metadata.status_id)}},[t._v("post")])]):"group:unlike"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tunliked a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.sidToUrl(s.metadata.status_id)}},[t._v("post")])]):"group:admin:block:instance"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tblocked "),e("span",{staticClass:"font-weight-bold text-primary"},[t._v(t._s(s.metadata.domain))])]):"group:admin:block:user"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tblocked "),e("a",{staticClass:"font-weight-bold text-primary",attrs:{href:"/"+s.metadata.username}},[t._v(t._s(s.metadata.username))])]):"group:report:create"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tcreated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.reportUrl(s.metadata.report_id)}},[t._v("report")]),t._v(" about "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/"+s.metadata.username}},[t._v(t._s(s.metadata.username))]),t._v("'s "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.metadata.url}},[t._v("post")])]):"group:moderation:action"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\thandled a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.reportUrl(s.metadata.report_id)}},[t._v("mod report")]),t._v(" regarding "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.metadata.status_url}},[t._v("this post")])]):"group:member-limits:updated"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tupdated "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.memberInteractionUrl(s.metadata.profile_id)}},[t._v("interaction limits")]),t._v(" for "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/"+s.metadata.username}},[t._v(t._s(s.metadata.username))])]):e("span",[t._v(t._s(s.type))]),t._v(" "),e("div",{staticClass:"float-right text-muted small font-weight-bold"},[t._v(t._s(t.timeago(s.created_at)))])])])])})),t._v(" "),t.interactionLogShowMore?e("div",{staticClass:"list-group-item"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block",on:{click:t.loadMoreInteractions}},[t._v("Load more")])]):t._e()],2)]),t._v(" "),t._m(4)]):t._e(),t._v(" "),"blocked"==t.tab?e("div",{staticClass:"row"},[t._m(5),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card mb-3"},[e("div",{staticClass:"card-header text-muted font-weight-bold small"},[t._v("Blocked Instances")]),t._v(" "),e("div",{staticClass:"list-group list-group-flush"},[t._l(t.blockedInstances,(function(s){return e("div",{staticClass:"list-group-item d-flex justify-content-between align-items-center"},[e("div",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light",on:{click:function(e){return e.preventDefault(),t.undoBlock("instance",s)}}},[e("i",{staticClass:"far fa-trash-alt text-lighter"})])])})),t._v(" "),3==t.blockedInstances.length?e("div",{staticClass:"list-group-item"},[e("p",{staticClass:"mb-0 small font-weight-bold text-lighter text-center"},[t._v("View All")])]):t._e()],2)]),t._v(" "),e("div",{staticClass:"card mb-3"},[e("div",{staticClass:"card-header text-muted font-weight-bold small"},[t._v("Blocked Users")]),t._v(" "),e("div",{staticClass:"list-group list-group-flush"},[t._l(t.blockedUsers,(function(s){return e("div",{staticClass:"list-group-item d-flex justify-content-between align-items-center"},[e("div",[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:"/storage/avatars/default.jpg",width:"32",height:"32"}}),t._v(t._s(s)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light",on:{click:function(e){return e.preventDefault(),t.undoBlock("user",s)}}},[e("i",{staticClass:"far fa-trash-alt text-lighter"})])])})),t._v(" "),3==t.blockedUsers.length?e("div",{staticClass:"list-group-item"},[e("p",{staticClass:"mb-0 small font-weight-bold text-lighter text-center"},[t._v("View All")])]):t._e()],2)]),t._v(" "),e("div",{staticClass:"card mb-3"},[e("div",{staticClass:"card-header text-muted font-weight-bold small"},[t._v("Moderated Join Requests")]),t._v(" "),e("div",{staticClass:"list-group list-group-flush"},t._l(t.moderatedInstances,(function(s){return e("div",{staticClass:"list-group-item d-flex justify-content-between align-items-center"},[e("div",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light",on:{click:function(e){return e.preventDefault(),t.undoBlock("moderate",s)}}},[e("i",{staticClass:"far fa-trash-alt text-lighter"})])])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-3"},[e("button",{staticClass:"btn btn-light border btn-block font-weight-bold",on:{click:function(e){return e.preventDefault(),t.blockAction("instance")}}},[t._v("Block Instance")]),t._v(" "),e("button",{staticClass:"btn btn-light border btn-block font-weight-bold",on:{click:function(e){return e.preventDefault(),t.blockAction("user")}}},[t._v("Block User")]),t._v(" "),e("button",{staticClass:"btn btn-light border btn-block font-weight-bold",on:{click:function(e){return e.preventDefault(),t.blockAction("moderate")}}},[t._v("Moderate Join Requests")]),t._v(" "),e("hr"),t._v(" "),e("button",{staticClass:"btn btn-light border btn-block font-weight-bold"},[t._v("Import")]),t._v(" "),e("button",{staticClass:"btn btn-light border btn-block font-weight-bold",on:{click:function(e){return e.preventDefault(),t.exportBlocks()}}},[t._v("Export")])])]):t._e(),t._v(" "),"advanced"==t.tab?e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 offset-md-3"},[e("div",{staticClass:"mt-3"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Membership")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.group.membership,expression:"group.membership"}],staticClass:"form-control rounded-pill",on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.group,"membership",e.target.multiple?s:s[0])}}},[e("option",{attrs:{value:"all"}},[t._v("Public")]),t._v(" "),e("option",{attrs:{value:"private"}},[t._v("Private")]),t._v(" "),e("option",{attrs:{value:"local"}},[t._v("Local")])]),t._v(" "),e("p",{staticClass:"help-text mt-1"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.membershipDescription[t.group.membership])+"\n\t\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),"local"!==t.group.membership?e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-12"},[e("div",{staticClass:"mb-1"},[e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.advanced.activitypub,expression:"advanced.activitypub"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.advanced.activitypub)?t._i(t.advanced.activitypub,null)>-1:t.advanced.activitypub},on:{change:function(e){var s=t.advanced.activitypub,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&t.$set(t.advanced,"activitypub",s.concat([null])):i>-1&&t.$set(t.advanced,"activitypub",s.slice(0,i).concat(s.slice(i+1)))}else t.$set(t.advanced,"activitypub",o)}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold text-dark text-capitalize ml-1"},[t._v("Enable ActivityPub")])])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.advanced.activitypub?t._e():e("div",{staticClass:"alert alert-info mt-2"},[e("div",{staticClass:"media align-items-center"},[e("i",{staticClass:"far fa-exclamation-circle fa-2x mr-3"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Federation Warning")]),t._v(" "),e("p",{staticClass:"small mb-0",staticStyle:{"font-weight":"600"}},[t._v("Groups that choose to disable federation later will lose remote content and members and cannot re-enable federation for 24 hours. You can change this later")])])])])])],1)]):t._e(),t._v(" "),"local"!==t.group.membership?e("hr"):t._e(),t._v(" "),e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-12"},[e("div",{staticClass:"mb-1"},[e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.advanced.is_nsfw,expression:"advanced.is_nsfw"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.advanced.is_nsfw)?t._i(t.advanced.is_nsfw,null)>-1:t.advanced.is_nsfw},on:{change:function(e){var s=t.advanced.is_nsfw,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&t.$set(t.advanced,"is_nsfw",s.concat([null])):i>-1&&t.$set(t.advanced,"is_nsfw",s.slice(0,i).concat(s.slice(i+1)))}else t.$set(t.advanced,"is_nsfw",o)}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold text-dark text-capitalize ml-1"},[t._v("Allow adult content (18+)")])])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.advanced.is_nsfw?t._e():e("div",{staticClass:"alert alert-info mt-2"},[e("div",{staticClass:"media align-items-center"},[e("i",{staticClass:"far fa-exclamation-circle fa-2x mr-3"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Adult Content Warning")]),t._v(" "),e("p",{staticClass:"small mb-0",staticStyle:{"font-weight":"600"}},[t._v("Groups that allow adult content should enable this or risk suspension or deletion by instance admins. Illegal content is prohibited. You can change this later")])])])])])],1)]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-12"},[e("div",{staticClass:"mb-1"},[e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.advanced.discoverable,expression:"advanced.discoverable"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.advanced.discoverable)?t._i(t.advanced.discoverable,null)>-1:t.advanced.discoverable},on:{change:function(e){var s=t.advanced.discoverable,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&t.$set(t.advanced,"discoverable",s.concat([null])):i>-1&&t.$set(t.advanced,"discoverable",s.slice(0,i).concat(s.slice(i+1)))}else t.$set(t.advanced,"discoverable",o)}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold text-dark text-capitalize ml-1"},[t._v("Make group discoverable")])]),t._v(" "),t._m(6)])]),t._v(" "),e("hr")]),t._v(" "),t.group.member_count>=25?e("div",{staticClass:"form-group row"},[t._m(7),t._v(" "),e("hr")]):t._e(),t._v(" "),t.group.member_count>=25?e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-12"},[e("div",{staticClass:"mb-1"},[t._m(8),t._v(" "),e("p",{staticClass:"help-text small text-muted"},[e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tAllow "+t._s("local"==t.group.membership?"local users":"private"==t.group.membership?"members":"anyone")+" to "),e("a",{attrs:{href:"#"}},[t._v("direct message")]),t._v(" group admins. The direct message inbox is separate from your own account.\n\t\t\t\t\t\t\t\t\t")])])])]),t._v(" "),e("hr")]):t._e(),t._v(" "),e("h4",{staticClass:"font-weight-bold pt-3"},[t._v("Danger Zone")]),t._v(" "),e("div",{staticClass:"mb-4 border rounded border-danger"},[e("ul",{staticClass:"list-group mb-0 pb-0"},[t._m(9),t._v(" "),e("li",{staticClass:"list-group-item border-left-0 border-right-0 py-3 d-flex justify-content-between"},[t._m(10),t._v(" "),e("div",[e("button",{staticClass:"btn btn-outline-danger font-weight-bold py-1",on:{click:t.deleteGroup}},[t._v("Delete Group")])])])])])])]):t._e(),t._v(" "),"limits"==t.tab?e("div",{staticClass:"row"},[t._m(11)]):t._e()])]):e("div",[e("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[t._v("Loading...")])])])},o=[function(){var t=this,e=t._self._c;return e("span",[e("i",{staticClass:"fas fa-globe mr-1"}),t._v("\n\t\t\t\t\t\t\t\t"+t._s("all"==t.group.membership?"Public Group":"Private Group")+"\n\t\t\t\t\t\t\t")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 mt-2 text-lighter"},[e("a",{staticClass:"text-muted font-weight-bold",attrs:{href:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\tPreview\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-muted font-weight-bold",attrs:{href:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\tUpdate\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-danger font-weight-bold",attrs:{href:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t\t")])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 mt-2 text-lighter"},[e("a",{staticClass:"text-muted font-weight-bold",attrs:{href:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\tPreview\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-muted font-weight-bold",attrs:{href:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\tUpdate\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-danger font-weight-bold",attrs:{href:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t\t")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-3"},[e("p",{staticClass:"lead"},[t._v("The "),e("strong",[t._v("Interaction Log")]),t._v(" displays all member activities relating to this group.")]),t._v(" "),e("p",{staticClass:"lead"},[t._v("You may see logs from blocked, deleted and remote accounts.")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-3"},[e("p",{staticClass:"font-weight-bold small"},[t._v("SEARCH")]),t._v(" "),e("div",{staticClass:"form-group"},[e("input",{staticClass:"form-control rounded-pill",attrs:{placeholder:"Search username, type or url"}})]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"font-weight-bold small"},[t._v("ACTIVITIES")]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",checked:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tJoined Group\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",checked:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tLeft Group\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",checked:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tPosts\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",checked:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tComments\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",checked:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tLikes\n\t\t\t\t\t\t")])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"font-weight-bold small"},[t._v("FILTERS")]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",value:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tLocal members only\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",value:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tRemote members only\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",value:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tBlocked members only\n\t\t\t\t\t\t")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-3"},[e("p",{staticClass:"h5"},[t._v("Blocked Instances & Users")]),t._v(" "),e("p",[t._v("Fine-grained control over who can join and interact with your group")]),t._v(" "),e("p",[t._v("Blocking an instance will revoke membership from users on that instance and prevent other users on that instance from joining")]),t._v(" "),e("p",[t._v("Blocking a user will revoke membership and remove all interactions from that user")]),t._v(" "),e("p",[t._v("Moderating an instance will require all new membership requests from that instance to be approved by a group admin before the specific user can join")])])},function(){var t=this._self._c;return t("p",{staticClass:"help-text small text-muted"},[t("span",[this._v("\n\t\t\t\t\t\t\t\t\t\tBeing discoverable means that your group appears in search results, on the discover page and can be used in group recommendations\n\t\t\t\t\t\t\t\t\t")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-sm-12"},[e("div",{staticClass:"mb-1"},[e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold text-dark text-capitalize ml-1"},[t._v("Enable spam detection")])]),t._v(" "),e("p",{staticClass:"help-text small text-muted"},[e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tDetect and temporarily remove content classified as spam from new members until it can be reviewed by a group admin. "),e("strong",[t._v("We do not recommend enabling this unless you have or expect periodic spam as it may produce false-positives and reduce member experience & retention.")])])])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold text-dark text-capitalize ml-1"},[t._v("Enable admin direct messages")])])},function(){var t=this,e=t._self._c;return e("li",{staticClass:"list-group-item border-left-0 border-right-0 py-3 d-flex justify-content-between disabled"},[e("div",[e("p",{staticClass:"font-weight-bold mb-1"},[t._v("Temporarily Disable Group")]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Not available")])]),t._v(" "),e("div",[e("a",{staticClass:"btn btn-outline-danger font-weight-bold py-1",attrs:{href:"#"}},[t._v("Disable")])])])},function(){var t=this,e=t._self._c;return e("div",[e("p",{staticClass:"font-weight-bold mb-1"},[t._v("Delete Group")]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Once you delete your group, there is no going back.")])])},function(){var t=this._self._c;return t("div",{staticClass:"col-12 col-md-6 offset-md-3"},[t("div",{staticClass:"mt-3"})])}]},36826:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"groups-home-component w-100 h-100"},[t.initialLoad?e("div",{staticClass:"row border-bottom m-0 p-0"},[e("div",{staticClass:"col-2 shadow",staticStyle:{height:"100vh",background:"#fff",top:"51px",overflow:"hidden","z-index":"1",position:"sticky"}},[e("div",{staticClass:"p-1"},[t._m(0),t._v(" "),e("div",{staticClass:"mb-3"},[e("autocomplete",{ref:"autocomplete",attrs:{search:t.autocompleteSearch,placeholder:"Search groups by name","aria-label":"Search groups by name","get-result-value":t.getSearchResultValue,debounceTime:700},on:{submit:t.onSearchSubmit},scopedSlots:t._u([{key:"result",fn:function(s){var a=s.result,o=s.props;return[e("li",t._b({staticClass:"autocomplete-result"},"li",o,!1),[e("div",{staticClass:"media align-items-center"},[a.local&&a.metadata&&a.metadata.hasOwnProperty("header")&&a.metadata.header.hasOwnProperty("url")?e("img",{attrs:{src:a.metadata.header.url,width:"32",height:"32"}}):e("div",{staticClass:"icon-placeholder"},[e("i",{staticClass:"fal fa-user-friends"})]),t._v(" "),e("div",{staticClass:"media-body text-truncate mr-3"},[e("p",{staticClass:"result-name mb-n1 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.truncateName(a.name))+"\n\t\t\t\t\t\t\t\t\t\t\t"),a.verified?e("span",{staticClass:"fa-stack ml-n2",attrs:{title:"Verified Group","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-circle fa-stack-1x fa-lg",staticStyle:{color:"#22a7f0cc","font-size":"18px"}}),t._v(" "),e("i",{staticClass:"fas fa-check fa-stack-1x text-white",staticStyle:{"font-size":"10px"}})]):t._e()]),t._v(" "),e("p",{staticClass:"mb-0 text-muted",staticStyle:{"font-size":"10px"}},[a.local?t._e():e("span",{attrs:{title:"Remote Group"}},[e("i",{staticClass:"far fa-globe"})]),t._v(" "),a.local?t._e():e("span",[t._v("·")]),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.member_count)+" members")])])])])])]}}],null,!1,2331368480)})],1),t._v(" "),e("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"feed"==t.tab},on:{click:function(e){return t.switchTab("feed")}}},[t._m(1),t._v(" "),e("div",{staticClass:"group-nav-btn-name"},[t._v("\n\t\t\t\t\t\tYour Feed\n\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"discover"==t.tab},on:{click:function(e){return t.switchTab("discover")}}},[t._m(2),t._v(" "),e("div",{staticClass:"group-nav-btn-name"},[t._v("\n\t\t\t\t\t\tDiscover\n\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"mygroups"==t.tab},on:{click:function(e){return t.switchTab("mygroups")}}},[t._m(3),t._v(" "),e("div",{staticClass:"group-nav-btn-name"},[t._v("\n\t\t\t\t\t\tMy Groups\n\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"notifications"==t.tab},on:{click:function(e){return t.switchTab("notifications")}}},[t._m(4),t._v(" "),e("div",{staticClass:"group-nav-btn-name"},[t._v("\n\t\t\t\t\t\tYour Notifications\n\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"remotesearch"==t.tab},on:{click:function(e){return t.switchTab("remotesearch")}}},[t._m(5),t._v(" "),e("div",{staticClass:"group-nav-btn-name"},[t._v("\n\t\t\t\t\t\tFind a remote group\n\t\t\t\t\t")])]),t._v(" "),t.config&&t.config.limits.user.create.new?e("button",{staticClass:"btn btn-primary btn-block rounded-pill font-weight-bold mt-3",attrs:{disabled:"creategroup"==t.tab},on:{click:function(e){return t.switchTab("creategroup")}}},[e("i",{staticClass:"fas fa-plus mr-2"}),t._v(" Create New Group\n\t\t\t\t")]):t._e(),t._v(" "),e("hr"),t._v(" "),t._l(t.groups,(function(s){return e("div",{staticClass:"ml-2"},[e("div",{staticClass:"card shadow-sm border text-decoration-none text-dark"},[s.metadata&&s.metadata.hasOwnProperty("header")?e("img",{staticClass:"card-img-top",staticStyle:{width:"100%",height:"auto","object-fit":"cover","max-height":"160px"},attrs:{src:s.metadata.header.url}}):e("div",{staticClass:"bg-primary",staticStyle:{width:"100%",height:"160px"}}),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"lead font-weight-bold d-flex align-items-top",staticStyle:{height:"60px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.name)+"\n\t\t\t\t\t\t\t\t"),s.verified?e("span",{staticClass:"fa-stack ml-n2 mt-n2"},[e("i",{staticClass:"fas fa-circle fa-stack-1x fa-lg",staticStyle:{color:"#22a7f0cc","font-size":"18px"}}),t._v(" "),e("i",{staticClass:"fas fa-check fa-stack-1x text-white",staticStyle:{"font-size":"10px"}})]):t._e()]),t._v(" "),e("div",{staticClass:"text-muted font-weight-light d-flex justify-content-between"},[e("span",[t._v(t._s(s.member_count)+" Members")]),t._v(" "),e("span",{staticClass:"rounded",staticStyle:{"font-size":"12px",padding:"2px 5px",color:"rgba(75, 119, 190, 1)",background:"rgba(137, 196, 244, 0.2)",border:"1px solid rgba(137, 196, 244, 0.3)","font-weight":"400","text-transform":"capitalize"}},[t._v(t._s(s.self.role))])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"mb-0"},[e("a",{staticClass:"btn btn-light btn-block border rounded-lg font-weight-bold",attrs:{href:s.url}},[t._v("View Group")])])])])])}))],2)]),t._v(" "),e("keep-alive",[e("transition",{attrs:{name:"fade"}},["feed"==t.tab?e("self-feed",{attrs:{profile:t.profile},on:{switchtab:t.switchTab}}):t._e(),t._v(" "),"discover"==t.tab?e("self-discover",{attrs:{profile:t.profile}}):t._e(),t._v(" "),"notifications"==t.tab?e("self-notifications",{attrs:{profile:t.profile}}):t._e(),t._v(" "),"invitations"==t.tab?e("self-invitations",{attrs:{profile:t.profile}}):t._e(),t._v(" "),"remotesearch"==t.tab?e("self-remote-search",{attrs:{profile:t.profile}}):t._e(),t._v(" "),"mygroups"==t.tab?e("self-groups",{attrs:{profile:t.profile}}):t._e(),t._v(" "),"creategroup"==t.tab?e("create-group",{attrs:{profile:t.profile}}):t._e(),t._v(" "),"gsearch"==t.tab?e("div",[e("div",{staticClass:"col-12 px-5"},[e("div",{staticClass:"my-4"},[e("p",{staticClass:"h1 font-weight-bold mb-1"},[t._v("Group Search")]),t._v(" "),e("p",{staticClass:"lead text-muted mb-0"},[t._v("Search and explore groups.")])]),t._v(" "),e("div",{staticClass:"media align-items-center text-lighter"},[e("i",{staticClass:"far fa-chevron-left fa-lg mr-3"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead mb-0"},[t._v("Use the search bar on the side menu")])])])])]):t._e()],1)],1)],1):e("div",{staticClass:"row justify-content-center mt-5"},[e("b-spinner")],1)])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center py-3"},[e("p",{staticClass:"h2 font-weight-bold mb-0"},[t._v("Groups")]),t._v(" "),e("a",{staticClass:"btn btn-light px-2 rounded-circle",attrs:{href:"/settings/home"}},[e("i",{staticClass:"fas fa-cog fa-lg"})])])},function(){var t=this._self._c;return t("div",{staticClass:"group-nav-btn-icon"},[t("i",{staticClass:"fas fa-list"})])},function(){var t=this._self._c;return t("div",{staticClass:"group-nav-btn-icon"},[t("i",{staticClass:"fas fa-compass"})])},function(){var t=this._self._c;return t("div",{staticClass:"group-nav-btn-icon"},[t("i",{staticClass:"fas fa-list"})])},function(){var t=this._self._c;return t("div",{staticClass:"group-nav-btn-icon"},[t("i",{staticClass:"far fa-bell"})])},function(){var t=this._self._c;return t("div",{staticClass:"group-nav-btn-icon"},[t("i",{staticClass:"fas fa-search-plus"})])}]},59296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s=this,a=s._self._c;return a("div",{staticClass:"comment-drawer-component"},[a("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:s.handleImageUpload}}),s._v(" "),s.hide?a("div"):s.isLoaded?a("div",{staticClass:"border-top"},[a("div",{staticClass:"my-3"},s._l(s.feed,(function(t,e){return a("div",{key:"cdf"+e+t.id,staticClass:"media media-status align-items-top"},[s.replyChildId==t.id?a("a",{staticClass:"comment-border-link",attrs:{href:"#comment-1"},on:{click:function(e){return e.preventDefault(),s.replyToChild(t)}}},[a("span",{staticClass:"sr-only"},[s._v("Jump to comment-"+s._s(e))])]):s._e(),s._v(" "),a("a",{attrs:{href:t.account.url}},[a("img",{staticClass:"rounded-circle media-avatar border",attrs:{src:t.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),s._v(" "),a("div",{staticClass:"media-body"},[t.media_attachments.length?a("div",[a("p",{staticClass:"media-body-comment-username"},[a("a",{attrs:{href:t.account.url}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),s._v(" "),a("div",{staticClass:"bh-comment",on:{click:function(e){return s.lightbox(t)}}},[a("blur-hash-image",{staticClass:"img-fluid rounded-lg border shadow",attrs:{width:s.blurhashWidth(t),height:s.blurhashHeight(t),punch:1,hash:t.media_attachments[0].blurhash,src:s.getMediaSource(t)}})],1)]):a("div",{staticClass:"media-body-comment"},[a("p",{staticClass:"media-body-comment-username"},[a("a",{attrs:{href:t.account.url}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),s._v(" "),a("read-more",{attrs:{status:t}})],1),s._v(" "),a("p",{staticClass:"media-body-reactions"},[s.profile?a("a",{staticClass:"font-weight-bold",class:[t.favourited?"text-primary":"text-muted"],attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),s.likeComment(t,e,a)}}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]):s._e(),s._v(" "),a("span",{staticClass:"mx-1"},[s._v("·")]),s._v(" "),a("a",{staticClass:"text-muted font-weight-bold",attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),s.replyToChild(t,e)}}},[s._v("Reply")]),s._v(" "),s.profile?a("span",{staticClass:"mx-1"},[s._v("·")]):s._e(),s._v(" "),s._o(a("a",{staticClass:"font-weight-bold text-muted",attrs:{href:t.url}},[s._v("\n\t\t\t\t\t\t\t\t"+s._s(s.shortTimestamp(t.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cdf"+e+t.id),s._v(" "),s.profile&&t.account.id===s.profile.id?a("span",[a("span",{staticClass:"mx-1"},[s._v("·")]),s._v(" "),a("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.deleteComment(e)}}},[s._v("\n\t\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t\t")])]):s._e()]),s._v(" "),s.replyChildIndex==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("feed")&&t.children.feed.length?a("div",s._l(t.children.feed,(function(t,e){return a("comment-post",{key:"scp_"+e+"_"+t.id,attrs:{status:t,profile:s.profile,commentBorderArrow:!0}})})),1):s._e(),s._v(" "),s.replyChildIndex==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("can_load_more")&&1==t.children.can_load_more?a("a",{staticClass:"text-muted font-weight-bold mt-1 mb-0",staticStyle:{"font-size":"13px"},attrs:{href:"#",disabled:s.loadingChildComments},on:{click:function(a){return a.preventDefault(),s.loadMoreChildComments(t,e)}}},[a("div",{staticClass:"comment-border-arrow"}),s._v(" "),a("i",{staticClass:"far fa-long-arrow-right mr-1"}),s._v("\n\t\t\t\t\t\t\t"+s._s(s.loadingChildComments?"Loading":"Load")+" more comments\n\t\t\t\t\t\t")]):s.replyChildIndex!==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("can_load_more")&&1==t.children.can_load_more&&t.reply_count>0&&!s.loadingChildComments?a("a",{staticClass:"text-muted font-weight-bold mt-1 mb-0",staticStyle:{"font-size":"13px"},attrs:{href:"#",disabled:s.loadingChildComments},on:{click:function(a){return a.preventDefault(),s.replyToChild(t,e)}}},[a("i",{staticClass:"far fa-long-arrow-right mr-1"}),s._v("\n\t\t\t\t\t\t\t"+s._s(s.loadingChildComments?"Loading":"Load")+" more comments\n\t\t\t\t\t\t")]):s._e(),s._v(" "),s.replyChildId==t.id?a("div",{staticClass:"mt-3 mb-3 d-flex align-items-top reply-form child-reply-form"},[a("div",{staticClass:"comment-border-arrow"}),s._v(" "),a("img",{staticClass:"rounded-circle mr-2 border",attrs:{src:s.avatar,width:"38",height:"38",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),s._v(" "),s.isUploading?a("div",{staticClass:"w-100"},[a("p",{staticClass:"font-weight-light mb-1"},[s._v("Uploading image ...")]),s._v(" "),a("div",{staticClass:"progress rounded-pill",staticStyle:{height:"10px"}},[a("div",{staticClass:"progress-bar progress-bar-striped progress-bar-animated",style:{width:s.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":s.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):a("div",{staticClass:"reply-form-input"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.childReplyContent,expression:"childReplyContent"}],staticClass:"form-control bg-light border-lighter rounded-pill",attrs:{placeholder:"Write a comment....",disabled:s.postingChildComment},domProps:{value:s.childReplyContent},on:{keyup:function(t){return!t.type.indexOf("key")&&s._k(t.keyCode,"enter",13,t.key,"Enter")?null:s.storeChildComment(e)},input:function(t){t.target.composing||(s.childReplyContent=t.target.value)}}})])]):s._e()])])})),0),s._v(" "),s.canLoadMore?a("button",{staticClass:"btn btn-link btn-sm text-muted mb-2",attrs:{disabled:s.isLoadingMore},on:{click:s.loadMoreComments}},[s.isLoadingMore?a("div",{staticClass:"spinner-border spinner-border-sm text-muted",attrs:{role:"status"}},[a("span",{staticClass:"sr-only"},[s._v("Loading...")])]):a("span",[s._v("\n\t\t\t\t\tLoad more comments ...\n\t\t\t\t")])]):s._e(),s._v(" "),s.profile&&s.canReply?a("div",{staticClass:"mt-3 mb-n3"},[a("div",{staticClass:"d-flex align-items-top reply-form cdrawer-reply-form"},[a("img",{staticClass:"rounded-circle mr-2 border",attrs:{src:s.avatar,width:"38",height:"38",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),s._v(" "),s.isUploading?a("div",{staticClass:"w-100"},[a("p",{staticClass:"font-weight-light small text-muted mb-1"},[s._v("Uploading image ...")]),s._v(" "),a("div",{staticClass:"progress rounded-pill",staticStyle:{height:"10px"}},[a("div",{staticClass:"progress-bar progress-bar-striped progress-bar-animated",style:{width:s.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":s.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):a("div",{staticClass:"w-100"},[a("div",{staticClass:"reply-form-input"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:s.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light border-lighter",attrs:{placeholder:"Write a comment....",rows:s.replyContent&&s.replyContent.length>40?4:1},domProps:{value:s.replyContent},on:{input:function(t){t.target.composing||(s.replyContent=t.target.value)}}}),s._v(" "),a("div",{staticClass:"reply-form-input-actions"},[a("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:s.uploadImage}},[a("i",{staticClass:"far fa-image fa-lg"})])])]),s._v(" "),a("div",{staticClass:"d-flex justify-content-between reply-form-menu"},[a("div",{staticClass:"char-counter"},[a("span",[s._v(s._s(null!==(t=null===(e=s.replyContent)||void 0===e?void 0:e.length)&&void 0!==t?t:0))]),s._v(" "),a("span",[s._v("/")]),s._v(" "),a("span",[s._v("500")])])])]),s._v(" "),a("button",{staticClass:"btn btn-link btn-sm font-weight-bold align-self-center ml-3 mb-3",on:{click:s.storeComment}},[s._v("Post")])])]):s._e()]):a("div",{staticClass:"border-top d-flex justify-content-center py-3"},[s._m(0)]),s._v(" "),a("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"}},[s.lightboxStatus?a("div",{on:{click:s.hideLightbox}},[a("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:s.lightboxStatus.url}})]):s._e()])],1)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center"},[e("div",{staticClass:"spinner-border text-lighter",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]),t._v(" "),e("p",{staticClass:"text-muted"},[t._v("Loading Comments ...")])])}]},16560:(t,e,s)=>{"use strict";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-post-component"},[e("div",{staticClass:"media media-status align-items-top mt-3"},[t.commentBorderArrow?e("div",{staticClass:"comment-border-arrow"}):t._e(),t._v(" "),e("a",{attrs:{href:t.status.account.url}},[e("img",{staticClass:"rounded-circle media-avatar border",attrs:{src:t.status.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),t._v(" "),e("div",{staticClass:"media-body"},[t.status.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"bh-comment",on:{click:function(e){return t.lightbox(t.status)}}},[e("blur-hash-image",{staticClass:"img-fluid rounded-lg border shadow",attrs:{width:t.blurhashWidth(t.status),height:t.blurhashHeight(t.status),punch:1,hash:t.status.media_attachments[0].blurhash,src:t.getMediaSource(t.status)}})],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t")])]),t._v(" "),e("read-more",{attrs:{status:t.status}})],1),t._v(" "),e("p",{staticClass:"media-body-reactions"},[t.profile?e("a",{staticClass:"font-weight-bold",class:[t.status.favourited?"text-primary":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.likeComment(t.status,t.index,e)}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t")]):t._e(),t._v(" "),t.profile?e("span",{staticClass:"mx-1"},[t._v("·")]):t._e(),t._v(" "),t._m(0),t._v(" "),t.profile&&t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(t.index)}}},[t._v("\n\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t")])]):t._e()])])])])},o=[function(){var t=this;return(0,t._self._c)("a",{staticClass:"font-weight-bold text-muted",attrs:{href:t.status.url}},[t._v("\n\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t")])}]},57442:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"context-menu-component 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("View Post")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),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("Report")]):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._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),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("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),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("Unlist from Timelines")]),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("Remove Content Warning")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),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\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),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("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),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("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.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("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\tShow Caption\n\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\tShow Likes\n\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\tCompact Mode\n\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("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),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("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),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("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("Sensitive Content")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("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("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),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("Underage Account")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("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("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("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("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=[]},88291:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-3"},[e("label",{staticClass:"col-form-label text-left"},[t._v(t._s(t.label))])]),t._v(" "),e("div",{staticClass:"col-sm-9"},[e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.value)?t._i(t.value,null)>-1:t.value},on:{change:function(e){var s=t.value,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.value=s.concat([null])):i>-1&&(t.value=s.slice(0,i).concat(s.slice(i+1)))}else t.value=o}}}),t._v(" "),e("label",{staticClass:"form-check-label ml-1",class:[t.strongText?"font-weight-bold text-capitalize text-dark":"small text-muted"]},[t._v("\n "+t._s(t.inputText)+"\n ")])]),t._v(" "),t.helpText?e("div",{staticClass:"help-text small text-muted d-flex flex-row justify-content-between gap-3"},[t.helpText?e("div",[t._v(t._s(t.helpText))]):t._e()]):t._e()])])},o=[]},20285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-3"},[e("label",{staticClass:"col-form-label text-left"},[t._v(t._s(t.label))])]),t._v(" "),e("div",{staticClass:"col-sm-9"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"custom-select",on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.value=e.target.multiple?s:s[0]}}},[e("option",{attrs:{value:"",selected:"",disabled:""}},[t._v(t._s(t.placeholder))]),t._v(" "),t._l(t.categories,(function(s){return e("option",{domProps:{value:s.value}},[t._v(t._s(s.key))])}))],2),t._v(" "),t.helpText||t.hasLimit?e("div",{staticClass:"help-text small text-muted d-flex flex-row justify-content-between gap-3"},[t.helpText?e("div",[t._v(t._s(t.helpText))]):t._e(),t._v(" "),t.hasLimit?e("div",{staticClass:"font-weight-bold text-dark"},[t._v("\n "+t._s(t.value?t.value.length:0)+"/"+t._s(t.maxLimit)+"\n ")]):t._e()]):t._e()])])},o=[]},80171:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-3"},[e("label",{staticClass:"col-form-label text-left"},[t._v(t._s(t.label))])]),t._v(" "),e("div",{staticClass:"col-sm-9"},[t.hasLimit?e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-control",class:{"form-control-lg":t.largeInput},staticStyle:{resize:"none"},attrs:{type:"text",placeholder:t.placeholder,maxlength:t.maxLimit,rows:t.rows},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}):e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-control",class:{"form-control-lg":t.largeInput},staticStyle:{resize:"none"},attrs:{type:"text",placeholder:t.placeholder,rows:t.rows},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}),t._v(" "),t.helpText||t.hasLimit?e("div",{staticClass:"help-text small text-muted d-flex flex-row justify-content-between gap-3"},[t.helpText?e("div",[t._v(t._s(t.helpText))]):t._e(),t._v(" "),t.hasLimit?e("div",{staticClass:"font-weight-bold text-dark"},[t._v("\n "+t._s(t.value?t.value.length:0)+"/"+t._s(t.maxLimit)+"\n ")]):t._e()]):t._e()])])},o=[]},47545:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-3"},[e("label",{staticClass:"col-form-label text-left"},[t._v(t._s(t.label))])]),t._v(" "),e("div",{staticClass:"col-sm-9"},[t.hasLimit?e("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-control",class:{"form-control-lg":t.largeInput},attrs:{type:"text",placeholder:t.placeholder,maxlength:t.maxLimit},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}):e("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-control",class:{"form-control-lg":t.largeInput},attrs:{type:"text",placeholder:t.placeholder},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}),t._v(" "),t.helpText||t.hasLimit?e("div",{staticClass:"help-text small text-muted d-flex flex-row justify-content-between gap-3"},[t.helpText?e("div",[t._v(t._s(t.helpText))]):t._e(),t._v(" "),t.hasLimit?e("div",{staticClass:"font-weight-bold text-dark"},[t._v("\n "+t._s(t.value?t.value.length:0)+"/"+t._s(t.maxLimit)+"\n ")]):t._e()]):t._e()])])},o=[]},54968:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-compose-form"},[e("input",{ref:"photoInput",staticClass:"d-none file-input",attrs:{id:"photoInput",type:"file",accept:"image/jpeg,image/png"},on:{change:t.handlePhotoChange}}),t._v(" "),e("input",{ref:"videoInput",staticClass:"d-none file-input",attrs:{id:"videoInput",type:"file",accept:"video/mp4"},on:{change:t.handleVideoChange}}),t._v(" "),e("div",{staticClass:"card card-body border mb-3 shadow-sm rounded-lg"},[e("div",{staticClass:"media align-items-top"},[t.profile?e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.profile.avatar,width:"42px",height:"42px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}):t._e(),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"d-block",staticStyle:{"min-height":"80px"}},[t.isUploading?e("div",{staticClass:"w-100"},[e("p",{staticClass:"font-weight-light mb-1"},[t._v("Uploading media ...")]),t._v(" "),e("div",{staticClass:"progress rounded-pill",staticStyle:{height:"4px"}},[e("div",{staticClass:"progress-bar",style:{width:t.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":t.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):e("div",{staticClass:"form-group mb-3"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control",class:{"form-control-lg":!t.composeText||t.composeText.length<40,"rounded-pill":!t.composeText||t.composeText.length<40,"bg-light":!t.composeText||t.composeText.length<40,"border-0":!t.composeText||t.composeText.length<40},staticStyle:{resize:"none"},attrs:{rows:!t.composeText||t.composeText.length<40?1:5,placeholder:t.placeholder},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),t.composeText?e("div",{staticClass:"small text-muted mt-1",staticStyle:{"min-height":"20px"}},[e("span",{staticClass:"float-right font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.composeText?t.composeText.length:0)+"/500\n\t\t\t\t\t\t\t")])]):t._e()])]),t._v(" "),t.tab?e("div",{staticClass:"tab"},["poll"===t.tab?e("div",[e("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\tPoll Options\n\t\t\t\t\t\t")]),t._v(" "),t.pollOptions.length<4?e("div",{staticClass:"form-group mb-4"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptionModel,expression:"pollOptionModel"}],staticClass:"form-control rounded-pill",attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptionModel},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.savePollOption.apply(null,arguments)},input:function(e){e.target.composing||(t.pollOptionModel=e.target.value)}}})]):t._e(),t._v(" "),t._l(t.pollOptions,(function(s,a){return e("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[e("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(a+1)+".")]),t._v(" "),t.pollOptions[a].length<50?e("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[a],expression:"pollOptions[index]"}],staticClass:"form-control rounded-pill",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptions[a]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,a,e.target.value)}}}):e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[a],expression:"pollOptions[index]"}],staticClass:"form-control",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{placeholder:"Add a poll option, press enter to save",rows:"3"},domProps:{value:t.pollOptions[a]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,a,e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(a)}}},[e("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("div",[e("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Expiry\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"form-group"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.pollExpiry,expression:"pollExpiry"}],staticClass:"form-control rounded-pill",staticStyle:{width:"200px"},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.pollExpiry=e.target.multiple?s:s[0]}}},[e("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),e("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),e("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),e("option",{attrs:{value:"10080"}},[t._v("7 days")])])])])])],2):t._e()]):t._e(),t._v(" "),t.isUploading?t._e():e("div",{},[e("div",[t.photoName&&t.photoName.length?e("div",{staticClass:"bg-light rounded-pill mb-4 py-2"},[e("div",{staticClass:"media align-items-center"},[t._m(0),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 font-weight-bold text-muted"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.photoName)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-link font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.clearFileInputs.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),t.videoName&&t.videoName.length?e("div",{staticClass:"bg-light rounded-pill mb-4 py-2"},[e("div",{staticClass:"media align-items-center"},[t._m(1),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 font-weight-bold text-muted"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.videoName)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-link font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.clearFileInputs.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])])]):t._e()]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light border font-weight-bold py-1 px-2 rounded-lg mr-3",attrs:{disabled:t.photoName||t.videoName},on:{click:function(e){return t.switchTab("photo")}}},[e("i",{staticClass:"fal fa-image mr-2"}),t._v(" "),e("span",[t._v("Add Photo")])])])])])]),t._v(" "),!t.isUploading&&t.composeText&&t.composeText.length>1||!t.isUploading&&["photo","video"].includes(t.tab)?e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-primary font-weight-bold float-right px-5 rounded-pill mt-3",attrs:{disabled:t.isPosting},on:{click:function(e){return t.newPost()}}},[t.isPosting?e("span",[t._m(2)]):e("span",[t._v("Post")])])]):t._e()])])},o=[function(){var t=this._self._c;return t("span",{staticClass:"d-flex align-items-center justify-content-center bg-primary mx-3",staticStyle:{width:"40px",height:"40px","border-radius":"50px",opacity:"0.6"}},[t("i",{staticClass:"fal fa-image fa-lg text-white"})])},function(){var t=this._self._c;return t("span",{staticClass:"d-flex align-items-center justify-content-center bg-primary mx-3",staticStyle:{width:"40px",height:"40px","border-radius":"50px",opacity:"0.6"}},[t("i",{staticClass:"fal fa-video fa-lg text-white"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border text-white spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},26177:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-info-card"},[e("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},[e("p",{staticClass:"title"},[t._v("About")]),t._v(" "),t.group.description&&t.group.description.length>1?e("p",{staticClass:"description",domProps:{innerHTML:t._s(t.group.description)}}):e("p",{staticClass:"description"},[t._v("This group does not have a description.")])]),t._v(" "),e("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},["all"==t.group.membership?e("div",{staticClass:"fact"},[t._m(0),t._v(" "),t._m(1)]):t._e(),t._v(" "),"private"==t.group.membership?e("div",{staticClass:"fact"},[t._m(2),t._v(" "),t._m(3)]):t._e(),t._v(" "),1==t.group.config.discoverable?e("div",{staticClass:"fact"},[t._m(4),t._v(" "),t._m(5)]):t._e(),t._v(" "),0==t.group.config.discoverable?e("div",{staticClass:"fact"},[t._m(6),t._v(" "),t._m(7)]):t._e(),t._v(" "),e("div",{staticClass:"fact"},[t._m(8),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v(t._s(t.group.category.name))]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Category")])])]),t._v(" "),e("p",{staticClass:"mb-0 font-weight-light text-lighter"},[t._v("Created: "+t._s(t.timestampFormat(t.group.created_at)))])])])},o=[function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-globe fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Public")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can see who's in the group and what they post.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-lock fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Private")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Only members can see who's in the group and what they post.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-eye fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Visible")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can find this group.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-eye-slash fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Hidden")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Only members can find this group.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-users fa-lg"})])}]},22224:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-invite-modal"},[e("b-modal",{ref:"modal",attrs:{"hide-header":"","hide-footer":"",centered:"",rounded:"","body-class":"rounded group-invite-modal-wrapper"}},[e("div",{staticClass:"text-center py-3 d-flex align-items-center flex-column"},[e("div",{staticClass:"bg-light rounded-circle d-flex justify-content-center align-items-center mb-3",staticStyle:{width:"100px",height:"100px"}},[e("i",{staticClass:"far fa-user-plus fa-2x text-lighter"})]),t._v(" "),e("p",{staticClass:"h4 font-weight-bold mb-0"},[t._v("Invite Friends")])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.usernames.length<5?e("div",{staticClass:"d-flex justify-content-between mt-1"},[e("autocomplete",{ref:"autocomplete",staticStyle:{width:"100%"},attrs:{search:t.autocompleteSearch,placeholder:"Search friends by username","aria-label":"Search this group","get-result-value":t.getSearchResultValue,debounceTime:700},on:{submit:t.onSearchSubmit},scopedSlots:t._u([{key:"result",fn:function(s){var a=s.result,o=s.props;return[e("li",t._b({staticClass:"autocomplete-result"},"li",o,!1),[e("div",{staticClass:"text-truncate"},[e("p",{staticClass:"result-name mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.username)+"\n\t\t\t\t\t\t\t\t")])])])]}}],null,!1,3929251)}),t._v(" "),e("button",{staticClass:"btn btn-light border rounded-circle text-lighter ml-3",staticStyle:{width:"52px",height:"50px"},on:{click:t.close}},[e("i",{staticClass:"fal fa-times fa-lg"})])],1):t._e()]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.usernames.length?e("div",{staticClass:"pt-3"},t._l(t.usernames,(function(s,a){return e("div",{staticClass:"py-1"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:"/storage/avatars/default.jpg",width:"45",height:"45"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead mb-0"},[t._v(t._s(s.username))])]),t._v(" "),e("button",{staticClass:"btn btn-link text-lighter btn-sm",on:{click:function(e){return t.removeUsername(a)}}},[e("i",{staticClass:"far fa-times-circle fa-lg"})])])])})),0):t._e()]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.usernames&&t.usernames.length?e("button",{staticClass:"btn btn-primary btn-lg btn-block font-weight-bold rounded font-weight-bold mt-3",on:{click:t.submitInvites}},[t._v("Invite")]):t._e()]),t._v(" "),e("div",{staticClass:"text-center pt-3 small"},[e("p",{staticClass:"mb-0"},[t._v("You can invite up to 5 friends at a time, and 20 friends in total.")])])],1)],1)},o=[]},25012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-list-card"},[e("div",{staticClass:"media"},[e("div",{staticClass:"media align-items-center"},[t.group.metadata&&t.group.metadata.hasOwnProperty("header")?e("img",{staticClass:"mr-3 border rounded group-header-img",class:{compact:t.compact},attrs:{src:t.group.metadata.header.url}}):e("div",{staticClass:"mr-3 border rounded group-header-img",class:{compact:t.compact}},[t._m(0)]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0 text-dark",staticStyle:{"font-size":"16px"}},[t._v("\n\t\t\t\t\t"+t._s(t.truncate(t.group.name||"Untitled Group",t.titleLength))+"\n\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-muted mb-1",staticStyle:{"font-size":"12px"}},[t._v("\n\t\t\t\t\t"+t._s(t.truncate(t.group.short_description,t.descriptionLength))+"\n\t\t\t\t")]),t._v(" "),t.showStats?e("p",{staticClass:"mb-0 small text-lighter"},[e("span",[e("i",{staticClass:"far fa-users"}),t._v(" "),e("span",{staticClass:"small font-weight-bold"},[t._v(t._s(t.prettyCount(t.group.member_count)))])]),t._v(" "),t.group.local?t._e():e("span",{staticClass:"remote-label ml-3"},[e("i",{staticClass:"fal fa-globe"}),t._v(" Remote\n\t\t\t\t\t")]),t._v(" "),t.group.hasOwnProperty("admin")&&t.group.admin.hasOwnProperty("username")?e("span",{staticClass:"ml-3"},[e("i",{staticClass:"fal fa-user-crown"}),t._v(" "),e("span",{staticClass:"small font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.group.admin.username)+"\n\t\t\t\t\t\t")])]):t._e()]):t._e()])])])])},o=[function(){var t=this._self._c;return t("div",{staticClass:"bg-primary d-flex align-items-center justify-content-center rounded",staticStyle:{width:"100%",height:"100%"}},[t("i",{staticClass:"fal fa-users text-white fa-lg"})])}]},64954:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-post-modal"},[e("b-modal",{ref:"modal",attrs:{size:"xl","hide-footer":"","hide-header":"",centered:"","body-class":"gpm p-0"}},[e("div",{staticClass:"d-flex"},[e("div",{staticClass:"gpm-media"},[e("img",{attrs:{src:t.status.media_attachments[0].preview_url}})]),t._v(" "),e("div",{staticClass:"p-3",staticStyle:{width:"30%"}},[e("div",{staticClass:"media align-items-center mb-2"},[e("a",{attrs:{href:t.status.account.url}},[e("img",{staticClass:"rounded-circle media-avatar border mr-2",attrs:{src:t.status.account.avatar,width:"32",height:"32"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username mb-n1"},[e("a",{staticClass:"text-dark text-decoration-none font-weight-bold",attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("p",{staticClass:"media-body-comment-timestamp mb-0"},[e("a",{staticClass:"font-weight-light text-muted small",attrs:{href:t.status.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted small"},[e("i",{staticClass:"fas fa-globe"})])])])]),t._v(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("read-more",{attrs:{status:t.status}}),t._v(" "),e("div",{staticClass:"border-top border-bottom mt-3"},[e("div",{staticClass:"d-flex justify-content-between",staticStyle:{padding:"8px 5px"}},[e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm text-muted"},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm",attrs:{disabled:""}},[e("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t")])])])],1)])])],1)},o=[]},83560:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s,a=this,o=a._self._c;return o("div",{staticClass:"group-search-modal"},[o("b-modal",{ref:"modal",attrs:{"hide-header":"","hide-footer":"",centered:"",rounded:"","body-class":"rounded group-search-modal-wrapper"}},[o("div",{staticClass:"d-flex justify-content-between"},[o("autocomplete",{ref:"autocomplete",staticStyle:{width:"100%"},attrs:{search:a.autocompleteSearch,placeholder:"Search this group","aria-label":"Search this group","get-result-value":a.getSearchResultValue,debounceTime:700},on:{submit:a.onSearchSubmit},scopedSlots:a._u([{key:"result",fn:function(t){var e=t.result,s=t.props;return[o("li",a._b({staticClass:"autocomplete-result"},"li",s,!1),[o("div",{staticClass:"text-truncate"},[o("p",{staticClass:"result-name mb-0 font-weight-bold"},[a._v("\n\t\t\t\t\t\t\t\t\t"+a._s(e.username)+"\n\t\t\t\t\t\t\t\t")])])])]}}])}),a._v(" "),o("button",{staticClass:"btn btn-light border rounded-circle text-lighter ml-3",staticStyle:{width:"52px",height:"50px"},on:{click:a.close}},[o("i",{staticClass:"fal fa-times fa-lg"})])],1),a._v(" "),a.recent&&a.recent.length?o("div",{staticClass:"pt-5"},[o("h5",{staticClass:"mb-2"},[a._v("Recent Searches")]),a._v(" "),a._l(a.recent,(function(t,e){return o("a",{staticClass:"media align-items-center text-decoration-none text-dark",attrs:{href:t.action}},[o("div",{staticClass:"bg-light rounded-circle mr-3 border d-flex justify-content-center align-items-center",staticStyle:{width:"40px",height:"40px"}},[o("i",{staticClass:"far fa-search"})]),a._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"mb-0"},[a._v(a._s(t.value))])])])}))],2):a._e(),a._v(" "),o("div",{staticClass:"pt-5"},[o("h5",{staticClass:"mb-2"},[a._v("Explore This Group")]),a._v(" "),o("div",{staticClass:"media align-items-center",on:{click:a.viewMyActivity}},[o("img",{staticClass:"mr-3 border rounded-circle",attrs:{src:null===(t=a.profile)||void 0===t?void 0:t.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),a._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"mb-0"},[a._v(a._s((null===(e=a.profile)||void 0===e?void 0:e.display_name)||(null===(s=a.profile)||void 0===s?void 0:s.username)))]),a._v(" "),o("p",{staticClass:"mb-0 small text-muted"},[a._v("See your group activity.")])])]),a._v(" "),o("div",{staticClass:"media align-items-center",on:{click:a.viewGroupSearch}},[o("div",{staticClass:"bg-light rounded-circle mr-3 border d-flex justify-content-center align-items-center",staticStyle:{width:"40px",height:"40px"}},[o("i",{staticClass:"far fa-search"})]),a._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"mb-0"},[a._v("Search all groups")])])])])])],1)},o=[]},38892:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":t.loaded&&"small"===t.size}},[t.loaded?e("div",{staticClass:"shadow-none mb-3"},["poll"!==t.status.pf_type?e("div",{staticClass:"card shadow-sm",class:{"border-top-0":!t.hasTopBorder},staticStyle:{"border-radius":"18px !important"}},[1==t.parentUnavailable?e("parent-unavailable",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId}}):e("div",{staticClass:"card-body pb-0"},[e("group-post-header",{attrs:{group:t.group,status:t.status,profile:t.profile,showGroupHeader:t.showGroupHeader,showGroupChevron:t.showGroupChevron},on:{delete:t.statusDeleted}}),t._v(" "),e("div",[e("div",[e("div",{staticClass:"pl-2"},[t.status.sensitive&&t.status.content.length?e("div",{staticClass:"card card-body shadow-none border bg-light py-2 my-2 text-center user-select-none cursor-pointer",on:{click:function(e){t.status.sensitive=!1}}},[e("div",{staticClass:"media justify-content-center align-items-center"},[e("div",{staticClass:"mx-3"},[e("i",{staticClass:"far fa-exclamation-triangle fa-2x text-lighter"})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Warning, may contain sensitive content. ")]),t._v(" "),e("p",{staticClass:"mb-0 text-lighter small text-center font-weight-bold"},[t._v("Click to view")])])])]):[e("p",{staticClass:"pt-2 text-break",staticStyle:{"font-size":"15px"},domProps:{innerHTML:t._s(t.renderedCaption)}})],t._v(" "),"photo"===t.status.pf_type?e("photo-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.showPostModal,togglecw:function(e){t.status.sensitive=!1},click:t.showPostModal}}):"video"===t.status.pf_type?e("video-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}}):"photo:album"===t.status.pf_type?e("photo-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}}):"video:album"===t.status.pf_type?e("video-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}}):"photo:video:album"===t.status.pf_type?e("mixed-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}}):t._e(),t._v(" "),t.status.favourites_count||t.status.reply_count?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2",staticStyle:{"font-size":"14px"}},[t.status.favourites_count?e("button",{staticClass:"btn btn-light py-0 text-decoration-none text-dark",staticStyle:{"font-size":"12px","font-weight":"600"},on:{click:function(e){return t.showLikesModal(e)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourites_count)+" "+t._s(1==t.status.favourites_count?"Like":"Likes")+"\n\t\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.status.reply_count?e("button",{staticClass:"btn btn-light py-0 text-decoration-none text-dark",staticStyle:{"font-size":"12px","font-weight":"600"},on:{click:function(e){return t.commentFocus(e)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.reply_count)+" "+t._s(1==t.status.reply_count?"Comment":"Comments")+"\n\t\t\t\t\t\t\t\t\t\t")]):t._e()])]):t._e(),t._v(" "),t.profile?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2 px-4"},[e("div",[e("button",{staticClass:"btn btn-link py-0 text-decoration-none",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited},attrs:{id:"lr__"+t.status.id},on:{click:function(e){return t.likeStatus(t.status,e)}}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none text-muted",on:{click:function(e){return t.commentFocus(e)}}},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none",attrs:{disabled:""}},[e("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId}}):t._e()],2)])])],1)],1):e("div",{staticClass:"border"},[e("poll-card",{attrs:{status:t.status,profile:t.profile,showBorder:!1},on:{"status-delete":t.statusDeleted}}),t._v(" "),e("div",{staticClass:"bg-white",staticStyle:{padding:"0 1.25rem"}},[t.profile?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2 px-4"},[e("div",[e("button",{staticClass:"btn btn-link py-0 text-decoration-none",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited},attrs:{id:"lr__"+t.status.id},on:{click:function(e){return t.likeStatus(t.status,e)}}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"lr__"+t.status.id,triggers:"hover",placement:"top"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("Popover Title")]},proxy:!0}],null,!1,4088088860)},[t._v("\n\t\t\t\t\t\t\t\t\tI am popover "),e("b",[t._v("component")]),t._v(" content!\n\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none text-muted",on:{click:function(e){return t.commentFocus(e)}}},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,profile:t.profile,status:t.status,"group-id":t.groupId}}):t._e()],1)],1),t._v(" "),t.profile?e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile,"group-id":t.groupId},on:{"status-delete":t.statusDeleted}}):t._e(),t._v(" "),t.showModal?e("post-modal",{ref:"modal",attrs:{status:t.status,profile:t.profile,groupId:t.groupId}}):t._e()],1):e("div",{staticClass:"card card-body shadow-none border mb-3",staticStyle:{height:"200px"}},[t._m(1)])])},o=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-link py-0 text-decoration-none",attrs:{disabled:""}},[t("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),this._v("\n\t\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t\t")])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])])}]},52809:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){return(0,this._self._c)("div")},o=[]},2011:(t,e,s)=>{"use strict";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-md-5",staticStyle:{"background-color":"#fff"}},[t.group.metadata&&t.group.metadata.hasOwnProperty("header")?e("img",{staticClass:"header-image",attrs:{src:t.group.metadata.header.url}}):e("div",{staticClass:"header-jumbotron"})])},o=[]},11568:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 group-feed-component-header px-3 px-md-5"},[e("div",{staticClass:"media align-items-end"},[t.group.metadata&&t.group.metadata.hasOwnProperty("avatar")?e("img",{staticClass:"bg-white mx-4 rounded-circle border shadow p-1",staticStyle:{"object-fit":"cover"},style:{"margin-top":t.group.metadata&&t.group.metadata.hasOwnProperty("header")&&t.group.metadata.header.url?"-100px":"0"},attrs:{src:t.group.metadata.avatar.url,width:"169",height:"169"}}):t._e(),t._v(" "),t.group&&t.group.name?e("div",{staticClass:"media-body px-3"},[e("h3",{staticClass:"d-flex align-items-start"},[e("span",[t._v(t._s(t.group.name.slice(0,118)))]),t._v(" "),t.group.verified?e("sup",{staticClass:"fa-stack ml-n2",attrs:{title:"Verified Group","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-circle fa-stack-1x fa-lg",staticStyle:{color:"#22a7f0cc","font-size":"18px"}}),t._v(" "),e("i",{staticClass:"fas fa-check fa-stack-1x text-white",staticStyle:{"font-size":"10px"}})]):t._e()]),t._v(" "),e("p",{staticClass:"text-muted mb-0",staticStyle:{"font-weight":"300"}},[e("span",[e("i",{staticClass:"fas fa-globe mr-1"}),t._v("\n "+t._s("all"==t.group.membership?"Public Group":"Private Group")+"\n ")]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("\n ·\n ")]),t._v(" "),e("span",[t._v(t._s(1==t.group.member_count?t.group.member_count+" Member":t.group.member_count+" Members"))]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("\n ·\n ")]),t._v(" "),t.group.local?e("span",{staticClass:"rounded member-label"},[t._v("Local")]):e("span",{staticClass:"rounded remote-label"},[t._v("Remote")]),t._v(" "),t.group.self&&t.group.self.hasOwnProperty("role")&&t.group.self.role?e("span",[e("span",{staticClass:"mx-2"},[t._v("\n ·\n ")]),t._v(" "),e("span",{staticClass:"rounded member-label"},[t._v(t._s(t.group.self.role))])]):t._e()])]):e("div",{staticClass:"media-body"},[t._m(0)])]),t._v(" "),t.group&&t.group.self?e("div",[t.isMember||t.group.self.is_requested?!t.isMember&&t.group.self.is_requested?e("button",{staticClass:"btn btn-light border cta-btn font-weight-bold",on:{click:function(e){return e.preventDefault(),t.cancelJoinRequest.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-user-clock mr-1"}),t._v(" Requested to Join\n ")]):t.isAdmin||!t.isMember||t.group.self.is_requested?t._e():e("button",{staticClass:"btn btn-light border cta-btn font-weight-bold",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.leaveGroup.apply(null,arguments)}}},[e("i",{staticClass:"fas sign-out-alt mr-1"}),t._v(" Leave Group\n ")]):e("button",{staticClass:"btn btn-primary cta-btn font-weight-bold",attrs:{disabled:t.requestingMembership},on:{click:t.joinGroup}},[t.requestingMembership?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("span",[t._v("\n "+t._s("all"==t.group.membership?"Join":"Request Membership")+"\n ")])])]):t._e()])},o=[function(){var t=this._self._c;return t("h3",{staticClass:"d-flex align-items-start"},[t("span",[this._v("Loading...")])])}]},17859:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s,a,o,i=this,r=i._self._c;return r("div",[r("div",{staticClass:"col-12 border-top group-feed-component-menu px-5"},[r("ul",{staticClass:"nav font-weight-bold group-feed-component-menu-nav"},[r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id,"/about")}},[i._v("About")])],1),i._v(" "),r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id),exact:""}},[i._v("Feed")])],1),i._v(" "),null!==(t=i.group)&&void 0!==t&&t.self&&i.group.self.is_member?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id,"/topics")}},[i._v("Topics")])],1):i._e(),i._v(" "),null!==(e=i.group)&&void 0!==e&&e.self&&i.group.self.is_member?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id,"/members")}},[i._v("\n Members\n "),i.group.self.is_member&&i.isAdmin&&i.atabs.request_count?r("span",{staticClass:"badge badge-danger rounded-pill ml-2",staticStyle:{height:"20px",padding:"4px 8px","font-size":"11px"}},[i._v(i._s(i.atabs.request_count))]):i._e()])],1):i._e(),i._v(" "),null!==(s=i.group)&&void 0!==s&&s.self&&i.group.self.is_member?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id,"/media")}},[i._v("Media")])],1):i._e(),i._v(" "),null!==(a=i.group)&&void 0!==a&&a.self&&i.group.self.is_member&&i.isAdmin?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link d-flex align-items-top",attrs:{to:"/groups/".concat(i.group.id,"/moderation")}},[r("span",{staticClass:"mr-2"},[i._v("Moderation")]),i._v(" "),i.atabs.moderation_count?r("span",{staticClass:"badge badge-danger rounded-pill",staticStyle:{height:"20px",padding:"4px 8px","font-size":"11px"}},[i._v(i._s(i.atabs.moderation_count))]):i._e()])],1):i._e()]),i._v(" "),r("div",[null!==(o=i.group)&&void 0!==o&&o.self&&i.group.self.is_member?r("button",{staticClass:"btn btn-light btn-sm border px-3 rounded-pill mr-2",on:{click:i.showSearchModal}},[r("i",{staticClass:"far fa-search"})]):i._e(),i._v(" "),r("div",{staticClass:"dropdown d-inline"},[i._m(0),i._v(" "),r("div",{staticClass:"dropdown-menu dropdown-menu-right"},[r("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),i.copyLink.apply(null,arguments)}}},[i._v("\n Copy Group Link\n ")]),i._v(" "),r("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),i.showInviteModal.apply(null,arguments)}}},[i._v("\n Invite friends\n ")]),i._v(" "),i.isAdmin?i._e():r("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),i.reportGroup.apply(null,arguments)}}},[i._v("\n Report Group\n ")]),i._v(" "),i.isAdmin?r("a",{staticClass:"dropdown-item",attrs:{href:i.group.url+"/settings"}},[i._v("\n Settings\n ")]):i._e()])])])]),i._v(" "),r("search-modal",{ref:"searchModal",attrs:{group:i.group,profile:i.profile}})],1)},o=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-light btn-sm border px-3 rounded-pill dropdown-toggle",attrs:{"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[t("i",{staticClass:"far fa-cog"})])}]},30832:(t,e,s)=>{"use strict";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-all"}},[t.status.content.length<200?e("div",{domProps:{innerHTML:t._s(t.content)}}):e("div",[e("span",{domProps:{innerHTML:t._s(t.content)}}),t._v(" "),200==t.cursor||t.fullContent.length>t.cursor?e("a",{staticClass:"font-weight-bold text-muted",staticStyle:{display:"block","white-space":"nowrap"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.readMore.apply(null,arguments)}}},[e("i",{staticClass:"d-none fas fa-caret-down"}),t._v(" Read more...\n\t\t")]):t._e()])])},o=[]},48511:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"self-discover-component col-12 col-md-9 bg-lighter border-left mb-4"},[t._m(0),t._v(" "),"home"===t.tab?e("div",{staticClass:"px-5"},[e("div",{staticClass:"row mb-4 pt-5"},[e("div",{staticClass:"col-12 col-md-4"},[e("h4",{staticClass:"font-weight-bold"},[t._v("Popular")]),t._v(" "),e("div",{staticClass:"list-group list-group-scroll"},t._l(t.popularGroups,(function(t,s){return e("a",{staticClass:"list-group-item p-1",attrs:{href:t.url}},[e("group-list-card",{attrs:{group:t,compact:!0}})],1)})),0)]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("div",{staticClass:"card card-body shadow-none bg-mantle text-light",staticStyle:{"margin-top":"33px"}},[e("h3",{staticClass:"mb-4 font-weight-lighter"},[t._v("Discover communities and topics based on your interests")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light font-weight-light btn-block",on:{click:function(e){return t.toggleTab("categories")}}},[t._v("Browse Categories")])])]),t._v(" "),t._m(1)]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("h4",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("div",{staticClass:"list-group list-group-scroll"},t._l(t.newGroups,(function(t,s){return e("a",{staticClass:"list-group-item p-1",attrs:{href:t.url}},[e("group-list-card",{attrs:{group:t,compact:!0}})],1)})),0)])]),t._v(" "),e("div",{staticClass:"jumbotron mb-4 text-light bg-black",staticStyle:{"margin-top":"5rem"}},[e("div",{staticClass:"container"},[e("h1",{staticClass:"display-4"},[t._v("Across the Fediverse")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light",on:{click:function(e){return t.toggleTab("fediverseGroups")}}},[t._v("\n \t\t\tExplore fediverse groups "),e("i",{staticClass:"fal fa-chevron-right ml-2"})])]),t._v(" "),e("hr",{staticClass:"my-4"}),t._v(" "),t._m(2)])]),t._v(" "),t._m(3),t._v(" "),t._m(4)]):t._e(),t._v(" "),"categories"===t.tab?e("div",{staticClass:"px-5"},[e("div",{staticClass:"row my-4 justify-content-center"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"title mb-4"},[e("span",[t._v("Categories")]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold",on:{click:function(e){return t.toggleTab("home")}}},[t._v("Go Back")])]),t._v(" "),e("div",{staticClass:"list-group"},t._l(t.categories,(function(s,a){return e("div",{key:"rec:"+s.id+":"+a,staticClass:"list-group-item",on:{click:function(e){return t.selectCategory(a)}}},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s)+"\n\t\t\t\t\t\t\t\t"),t._m(5,!0)])])})),0)])])]):t._e(),t._v(" "),"category"===t.tab?e("div",{staticClass:"px-5"},[e("div",{staticClass:"row my-4 justify-content-center"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"title mb-4"},[e("div",[e("div",{staticClass:"mb-n2 small text-uppercase text-lighter"},[t._v("Categories")]),t._v(" "),e("span",[t._v(t._s(t.categories[t.activeCategoryIndex]))])]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold",on:{click:function(e){return t.toggleTab("categories")}}},[t._v("Go Back")])]),t._v(" "),t.categoryGroupsLoaded?e("div",[e("div",{staticClass:"list-group"},[t._l(t.categoryGroups,(function(t,s){return e("a",{staticClass:"list-group-item p-1",attrs:{href:t.url}},[e("group-list-card",{attrs:{group:t,showStats:!0}})],1)})),t._v(" "),t.categoryGroupsCanLoadMore?e("div",{staticClass:"list-group-item"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block",on:{click:t.fetchCategoryGroups}},[t._v("\n\t\t\t\t\t\t\t\t\tLoad more\n\t\t\t\t\t\t\t\t")])]):t._e()],2),t._v(" "),0===t.categoryGroups.length?e("div",{staticClass:"mt-3"},[t._m(6)]):t._e()]):e("div",[e("div",{staticClass:"card card-body shadow-none border justify-content-center flex-row"},[e("b-spinner")],1)])])])]):t._e(),t._v(" "),"fediverseGroups"===t.tab?e("div",{staticClass:"px-5"},[e("div",{staticClass:"row my-4 justify-content-center"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"title mb-4"},[e("span",[t._v("Fediverse Groups")]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold",on:{click:function(e){return t.toggleTab("home")}}},[t._v("Go Back")])]),t._v(" "),t._m(7)])])]):t._e()])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-5"},[e("div",{staticClass:"jumbotron my-4 text-light bg-mantle"},[e("div",{staticClass:"container"},[e("h1",{staticClass:"display-4"},[t._v("Discover")]),t._v(" "),e("p",{staticClass:"lead mb-0"},[t._v("Explore group communities and topics")])])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-none bg-light text-dark border",staticStyle:{"margin-top":"20px"}},[e("p",{staticClass:"lead mb-4 text-muted font-weight-lighter mb-1"},[t._v("Browse Public Groups")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-light border font-weight-light btn-block"},[t._v("Group Directory")])])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"lead"},[t._v("We're in the early stages of Group federation, and working with other projects to support cross-platform compatibility. "),e("a",{attrs:{href:"#"}},[t._v("Learn more about group federation "),e("i",{staticClass:"fal fa-chevron-right ml-2 fa-sm"})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"row my-4 py-5"},[e("div",{staticClass:"col-12 col-md-4"},[e("div",{staticClass:"card card-body shadow-none bg-light",staticStyle:{border:"1px solid #E5E7EB"}},[e("p",{staticClass:"text-center text-lighter"},[e("i",{staticClass:"fal fa-lightbulb fa-4x"})]),t._v(" "),e("p",{staticClass:"text-center lead mb-0"},[t._v("What's New")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("div",{staticClass:"card card-body shadow-none bg-light",staticStyle:{border:"1px solid #E5E7EB"}},[e("p",{staticClass:"text-center text-lighter"},[e("i",{staticClass:"fal fa-clipboard-list-check fa-4x"})]),t._v(" "),e("p",{staticClass:"text-center lead mb-0"},[t._v("User Guide")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("div",{staticClass:"card card-body shadow-none bg-light",staticStyle:{border:"1px solid #E5E7EB"}},[e("p",{staticClass:"text-center text-lighter"},[e("i",{staticClass:"fal fa-question-circle fa-4x"})]),t._v(" "),e("p",{staticClass:"text-center lead mb-0"},[t._v("Groups Help")])])])])},function(){var t=this._self._c;return t("p",{staticClass:"text-lighter",staticStyle:{"font-size":"9px"}},[t("span",{staticClass:"font-weight-bold mr-1"},[this._v("Groups v0.0.1")])])},function(){var t=this._self._c;return t("span",{staticClass:"float-right"},[t("i",{staticClass:"fal fa-chevron-right"})])},function(){var t=this._self._c;return t("div",{staticClass:"bg-white border text-center p-3"},[t("p",{staticClass:"font-weight-light mb-0"},[this._v("No groups found in this category")])])},function(){var t=this._self._c;return t("div",{staticClass:"mt-3"},[t("div",{staticClass:"bg-white border text-center p-3"},[t("p",{staticClass:"font-weight-light mb-0"},[this._v("No fediverse groups found")])])])}]},92300:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-9",staticStyle:{overflow:"hidden"}},[t._m(0),t._v(" "),e("div",{staticClass:"row h-100 bg-light justify-content-center"},[e("div",{staticClass:"col-12 col-md-10 col-lg-6"},[t.emptyFeed?e("div",{staticClass:"mt-5"},[e("h1",{staticClass:"font-weight-bold"},[t._v("Welcome to Pixelfed Groups!")]),t._v(" "),e("p",{staticClass:"lead"},[t._v("Groups are a way to participate in like minded communities and topics.")]),t._v(" "),e("hr",{staticClass:"my-4"}),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("router-link",{staticClass:"btn btn-primary btn-lg rounded-pill",attrs:{to:"/groups/discover"}},[t._v("\n Discover Groups\n ")])],1)]):e("div",[e("div",{staticClass:"my-3"},[t._l(t.feed,(function(s,a){return e("group-status",{key:"gs:"+s.id+a,attrs:{prestatus:s,profile:t.profile,"show-group-header":!0,group:s.group,"group-id":s.group.id}})})),t._v(" "),t.feed.length>2?e("div",[e("infinite-loading",{attrs:{distance:800},on:{infinite:t.infiniteFeed}},[e("div",{staticClass:"my-3",attrs:{slot:"no-more"},slot:"no-more"},[e("p",{staticClass:"lead font-weight-bold pt-5"},[t._v("You have reached the end of this feed")]),t._v(" "),e("div",{staticStyle:{height:"10rem"}})]),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()],2)])])])])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"row bg-light justify-content-center"},[e("div",{staticClass:"col-12 flex-shrink-1"},[e("div",{staticClass:"my-4 px-3"},[e("p",{staticClass:"h1 font-weight-bold mb-1"},[t._v("Groups Feed")]),t._v(" "),e("p",{staticClass:"lead text-muted mb-0"},[t._v("Recent posts from your groups")])])])])},function(){var t=this,e=t._self._c;return e("p",[t._v("Anyone can create and manage their own group as long as it abides by our "),e("a",{attrs:{href:"/site/kb/community-guidelines",target:"_blank"}},[t._v("community guidelines")]),t._v(".")])}]},54479:(t,e,s)=>{"use strict";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-groups-component"},[e("div",{staticClass:"list-container"},[t.isLoaded?e("div",[e("div",{staticClass:"list-group"},t._l(t.groups,(function(t,s){return e("a",{key:"rec:"+t.id+":"+s,staticClass:"list-group-item text-decoration-none",attrs:{href:t.url}},[e("group-list-card",{attrs:{group:t,truncateDescriptionLength:140,showStats:!0}})],1)})),0),t._v(" "),t.canLoadMore?e("p",[e("button",{staticClass:"btn btn-primary btn-block font-weight-bold mt-3",attrs:{disabled:t.loadingMore},on:{click:function(e){return e.preventDefault(),t.loadMore.apply(null,arguments)}}},[t._v("\n \t\tLoad more\n \t")])]):t._e()]):e("div",{staticClass:"d-flex justify-content-center"},[e("b-spinner")],1)])])},o=[]},75891:(t,e,s)=>{"use strict";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:"col-12 col-md-9",staticStyle:{height:"100vh - 51px !important",overflow:"hidden"}},[e("div",{staticClass:"row h-100"},[e("div",{staticClass:"col-12 col-md-8 bg-lighter border-left"},[e("div",{staticClass:"p-4 mb-4"},[e("p",{staticClass:"h4 font-weight-bold mb-1 text-center"},[t._v("Group Invitations")])]),t._v(" "),e("div",{staticClass:"p-4 mb-4"},[e("p",{staticClass:"font-weight-bold text-center text-muted"},[t._v("You don't have any group invites")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 bg-white border-left"},[e("div",{staticClass:"p-4"},[e("div",{staticClass:"bg-light rounded-lg border p-3"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("Send Invite")]),t._v(" "),e("p",{staticClass:"mb-3"},[t._v("Invite friends to your groups")]),t._v(" "),e("div",{staticClass:"form-group",staticStyle:{position:"relative"}},[e("span",{staticStyle:{position:"absolute",top:"50%",transform:"translateY(-50%)",left:"15px","padding-right":"5px"}},[e("i",{staticClass:"fas fa-search text-lighter"})]),t._v(" "),e("input",{staticClass:"form-control bg-white rounded-pill",staticStyle:{"padding-left":"40px"},attrs:{placeholder:"Search username..."}})])])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"p-4 mb-2"},[e("p",{staticClass:"h4 font-weight-bold mb-1 text-center"},[t._v("Invitations Sent")])]),t._v(" "),e("div",{staticClass:"px-4 mb-4"},[e("p",{staticClass:"font-weight-bold text-center text-muted"},[t._v("You have not sent any group invites")])])])])])}]},25836:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-notification-component col-12 col-md-9",staticStyle:{height:"100vh - 51px !important",overflow:"hidden"}},[e("div",{staticClass:"row h-100 bg-white"},[e("div",{staticClass:"col-12 col-md-8 border-left"},[e("div",{staticClass:"px-5"},[t._m(0),t._v(" "),t._l(t.notifications,(function(s,a){return t.notifications.length>0?e("div",{staticClass:"nitem card card-body shadow-none mb-3 py-2 px-0 rounded-pill",staticStyle:{"background-color":"#F3F4F6"}},[e("div",{staticClass:"media align-items-center px-3"},[e("img",{staticClass:"mr-3 rounded-circle",staticStyle:{border:"1px solid #ccc"},attrs:{src:s.account.avatar,alt:"",width:"32px",height:"32px"}}),t._v(" "),e("div",{staticClass:"media-body"},["group:like"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{attrs:{href:t.getProfileUrl(s.account),"data-placement":"bottom","data-toggle":"tooltip",title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your "),e("a",{attrs:{href:t.getPostUrl(s.status)}},[t._v("post")]),t._v(" in "),e("a",{attrs:{href:s.group.url}},[t._v(t._s(s.group.name))])])]):"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.username}},[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.status.url}},[t._v("post")]),t._v(" in "),e("a",{attrs:{href:s.group.url}},[t._v(t._s(s.group.name))])])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{attrs:{href:t.getProfileUrl(s.account),"data-placement":"bottom","data-toggle":"tooltip",title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{attrs:{href:t.mentionUrl(s.status)}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"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 "),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 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. You can re-apply to join in 6 months.\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("Cannot display notification")])])]),t._v(" "),e("div",[e("div",{staticClass:"align-items-center text-muted"},[e("span",{staticClass:"small",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))]),t._v(" "),e("span",[t._v("·")]),t._v(" "),t._m(1,!0)])])])]):t._e()}))],2)]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 border-left bg-light"})])])},o=[function(){var t=this._self._c;return t("div",{staticClass:"my-4"},[t("p",{staticClass:"h1 font-weight-bold mb-1"},[this._v("Group Notifications")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"dropdown d-inline"},[e("a",{staticClass:"dropdown-toggle text-lighter",attrs:{href:"#",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[e("i",{staticClass:"far fa-cog fa-sm"})]),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"#"}},[t._v("Dismiss")]),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"#"}},[t._v("Help")]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"#"}},[t._v("Report")])])])}]},5328:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-9",staticStyle:{height:"100vh - 51px !important",overflow:"hidden"}},[e("div",{staticClass:"row h-100 bg-lighter"},[e("div",{staticClass:"col-12 col-md-8 border-left"},[t._m(0),t._v(" "),e("div",{staticClass:"mb-5"},[e("div",{staticClass:"p-4 mb-4"},[e("div",{staticClass:"form-group"},[e("label",[t._v("Group URL")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.q,expression:"q"}],staticClass:"form-control form-control-lg rounded-pill bg-white border",attrs:{type:"text",placeholder:"https://pixelfed.social/groups/328323406233735168"},domProps:{value:t.q},on:{input:function(e){e.target.composing||(t.q=e.target.value)}}})]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-block btn-lg rounded-pill font-weight-bold"},[t._v("Search")])])])]),t._v(" "),t._m(1)])])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-center"},[e("div",{staticClass:"p-4 mb-4"},[e("p",{staticClass:"h4 font-weight-bold mb-1"},[t._v("Find a Remote Group")]),t._v(" "),e("p",{staticClass:"lead text-muted"},[t._v("Search and explore remote federated groups.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-4 bg-white border-left"},[e("div",{staticClass:"my-4"},[e("h4",{staticClass:"font-weight-bold"},[t._v("Tips")]),t._v(" "),e("ul",{staticClass:"pl-3"},[e("li",{staticClass:"font-weight-bold"},[t._v("Some remote groups are not supported*")]),t._v(" "),e("li",[t._v("Read and comply with group rules defined by group admins")]),t._v(" "),e("li",[t._v("Use the full "),e("span",{staticClass:"font-weight-bold"},[t._v("Group URL")]),t._v(" including "),e("code",[t._v("https://")])]),t._v(" "),e("li",[t._v("Joining private groups requires manual approval from group admins, you will recieve a notification when your membership is approved")]),t._v(" "),e("li",[t._v("Inviting people to remote groups is not supported yet")]),t._v(" "),e("li",[t._v("Your group membership may be terminated at any time by group admins")])]),t._v(" "),e("p",{staticClass:"small"},[t._v("* Some remote groups may not be compatible, we are working to support other group implementations")])])])}]},48375:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s=this,a=s._self._c;return a("div",{staticClass:"group-post-header media"},[s.showGroupHeader?a("div",{staticClass:"mb-1",staticStyle:{position:"relative"}},[s.group.hasOwnProperty("metadata")&&(s.group.metadata.hasOwnProperty("avatar")||s.group.metadata.hasOwnProperty("header"))?a("img",{staticClass:"rounded-lg box-shadow mr-2",staticStyle:{"object-fit":"cover"},attrs:{src:s.group.metadata.hasOwnProperty("header")?s.group.metadata.header.url:s.group.metadata.avatar.url,width:"52",height:"52",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}):a("span",{staticClass:"d-block rounded-lg box-shadow mr-2 bg-primary",staticStyle:{width:"52px",height:"52px"}}),s._v(" "),a("img",{staticClass:"rounded-circle box-shadow border mr-2",staticStyle:{position:"absolute",bottom:"-4px",right:"-4px"},attrs:{src:s.status.account.avatar,width:"36",height:"36",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]):a("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:s.status.account.avatar,width:"42",height:"42",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),s._v(" "),a("div",{staticClass:"media-body"},[a("div",{staticClass:"pl-2 d-flex align-items-top"},[a("div",[a("p",{staticClass:"mb-0"},[s.showGroupHeader&&s.group?a("router-link",{staticClass:"group-name-link username",attrs:{to:"/groups/".concat(s.status.gid)}},[s._v("\n "+s._s(s.group.name)+"\n ")]):a("router-link",{staticClass:"group-name-link username",attrs:{to:"/groups/".concat(s.status.gid,"/user/").concat(null===(t=s.status)||void 0===t?void 0:t.account.id)},domProps:{innerHTML:s._s(s.statusCardUsernameFormat(s.status))}},[s._v("\n Loading...\n ")]),s._v(" "),s.showGroupChevron?a("span",[s._m(0),s._v(" "),a("span",[a("router-link",{staticClass:"group-name-link",attrs:{to:"/groups/".concat(s.status.gid)}},[s._v("\n "+s._s(s.group.name)+"\n ")])],1)]):s._e()],1),s._v(" "),a("p",{staticClass:"mb-0 mt-n1"},[s.showGroupHeader&&s.group?a("span",{staticStyle:{"font-size":"13px"}},[a("router-link",{staticClass:"group-name-link-small username",attrs:{to:"/groups/".concat(s.status.gid,"/user/").concat(null===(e=s.status)||void 0===e?void 0:e.account.id)},domProps:{innerHTML:s._s(s.statusCardUsernameFormat(s.status))}},[s._v("\n Loading...\n ")]),s._v(" "),a("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),a("router-link",{staticClass:"font-weight-light text-muted",attrs:{to:"/groups/".concat(s.status.gid,"/p/").concat(s.status.id)}},[s._v("\n "+s._s(s.shortTimestamp(s.status.created_at))+"\n ")]),s._v(" "),a("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),s._m(1)],1):a("span",[a("router-link",{staticClass:"font-weight-light text-muted small",attrs:{to:"/groups/".concat(s.status.gid,"/p/").concat(s.status.id)}},[s._v("\n "+s._s(s.shortTimestamp(s.status.created_at))+"\n ")]),s._v(" "),a("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),s._m(2)],1)])]),s._v(" "),s.profile?a("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[a("div",{staticClass:"dropdown"},[s._m(3),s._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item",attrs:{href:s.statusUrl()}},[s._v("View Post")]),s._v(" "),a("a",{staticClass:"dropdown-item",attrs:{href:s.profileUrl()}},[s._v("View Profile")]),s._v(" "),a("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.sendReport()}}},[s._v("Report")]),s._v(" "),a("div",{staticClass:"dropdown-divider"}),s._v(" "),a("a",{staticClass:"dropdown-item text-danger",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.onDelete()}}},[s._v("Delete")])])])]):s._e()])])])},o=[function(){var t=this._self._c;return t("span",{staticClass:"text-muted",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[t("i",{staticClass:"fas fa-caret-right"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-muted"},[t("i",{staticClass:"fas fa-globe"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-muted small"},[t("i",{staticClass:"fas fa-globe"})])},function(){var t=this._self._c;return t("button",{staticClass:"btn btn-link dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"fas fa-ellipsis-h text-lighter"})])}]},70560:(t,e,s)=>{"use strict";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 shadow-sm",staticStyle:{"border-radius":"18px !important"}},[e("div",{staticClass:"card-body pb-0"},[t._m(0),t._v(" "),e("div",[t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId,"can-reply":!1}}):t._e()],1)])])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body border shadow-none mb-3",staticStyle:{"background-color":"#E5E7EB"}},[e("div",{staticClass:"media p-md-4"},[e("div",{staticClass:"mr-4 pt-2"},[e("i",{staticClass:"fas fa-lock fa-2x"})]),t._v(" "),e("div",{staticClass:"media-body",staticStyle:{"max-width":"320px"}},[e("p",{staticClass:"lead font-weight-bold mb-1"},[t._v("This content isn't available right now")]),t._v(" "),e("p",{staticClass:"mb-0",staticStyle:{"font-size":"12px","letter-spacing":"-0.3px"}},[t._v("When this happens, it's usually because the owner only shared it with a small group of people, changed who can see it, or it's been deleted.")])])])])}]},18389:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(s,a){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},o=[]},28691:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 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\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\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",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+t.status.id}},t._l(t.status.media_attachments,(function(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{staticClass:"img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},84094:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 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\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\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",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},12024:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},o=[]},75593:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 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\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\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",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"","webkit-playsinline":"",preload:"metadata",loop:"","data-id":t.status.id,poster:t.poster()}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},45322:(t,e,s)=>{"use strict";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("View Post")]):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("View Profile")]):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("Share")]):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("Moderation Tools")]):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("Report")]):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("Archive")]):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("Unarchive")]):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._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),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("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),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("Unlist from Timelines")]),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("Remove Content Warning")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),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\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),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("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),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("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")+" to Followers")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),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("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("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\tShow Caption\n\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\tShow Likes\n\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\tCompact Mode\n\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("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),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("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),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("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("Sensitive Content")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("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("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),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("Underage Account")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("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("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("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("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=[]},28995:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[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(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,a){return e("p",[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},55722:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?e("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}}),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[t.status.sensitive?e("details",[e("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),e("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):e("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?e("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[e("div",[e("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),e("div",{staticClass:"pl-2"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}}),t._v(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.status.place?e("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),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.lightbox,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.lightbox,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.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?e("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[e("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[e("span",[e("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),e("div",{staticClass:"card-body"},[t.reactionBar?e("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?e("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):e("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():e("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?e("span",{staticClass:"float-right"},[e("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[e("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,s){return e("span",{staticClass:"mr-n2"},[e("a",{attrs:{href:"/"+t.username}},[e("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?e("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?e("div",{staticClass:"caption"},[t.status.sensitive?t._e():e("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[e("span",{staticClass:"username font-weight-bold"},[e("bdi",[e("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),e("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),e("div",{staticClass:"timestamp mt-2"},[e("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?e("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):e("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?e("span",[e("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},74050:(t,e,s)=>{Vue.component("group-component",s(17547).default),Vue.component("groups-home",s(18115).default),Vue.component("group-feed",s(71307).default),Vue.component("group-settings",s(13480).default),Vue.component("group-profile",s(17346).default),Vue.component("groups-invite",s(1544).default)},37365:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-7066737e]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7066737e]{position:relative}.content-label[data-v-7066737e]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-7066737e]{position:relative}",""]);const i=o},74e3:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-f935045a]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-f935045a]{position:relative}.content-label[data-v-f935045a]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const i=o},83853:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".content-label-wrapper[data-v-7871d23c]{position:relative}.content-label[data-v-7871d23c]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const i=o},91491:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-component-hero{align-items:center;background-color:#fff;border:1px solid #dee2e6;border-top:0;display:flex;justify-content:space-between;padding:1rem}.group-component-hero h3{margin-bottom:0}",""]);const i=o},53400:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.create-group-component .submit-button{width:130px}.create-group-component .multistep{counter-reset:step;margin-bottom:30px;margin-top:30px;overflow:hidden;padding-left:0;text-align:center}.create-group-component .multistep li{color:#b8c2cc;float:left;font-size:9px;font-weight:700;list-style-type:none;position:relative;text-transform:uppercase;width:20%}.create-group-component .multistep li.active{color:#000}.create-group-component .multistep li:before{background:#f3f4f6;border-radius:25px;color:#b8c2cc;content:counter(step);counter-increment:step;display:block;font-size:12px;height:24px;line-height:26px;margin:0 auto 10px;transition:background .4s;width:24px}.create-group-component .multistep li:after{background:#dee2e6;content:"";height:2px;left:-50%;position:absolute;top:11px;transition:background .4s;width:100%;z-index:-1}.create-group-component .multistep li:first-child:after{content:none}.create-group-component .multistep li.active:after,.create-group-component .multistep li.active:before{background:#2c78bf;color:#fff;transition:background .4s}.create-group-component .col-form-label{font-weight:600;text-align:right}',""]);const i=o},55407:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-feed-component-header{align-items:flex-end;background-color:transparent;display:flex;justify-content:space-between;padding:1rem 0}.group-feed-component-header .cta-btn{width:190px}.group-feed-component .header-jumbotron{background-color:#f3f4f6;border-bottom-left-radius:20px;border-bottom-right-radius:20px;height:320px}.group-feed-component-menu{align-items:center;display:flex;justify-content:space-between;padding:0}.group-feed-component-menu-nav .nav-item .nav-link{color:#6c757d;padding-bottom:1rem;padding-top:1rem}.group-feed-component-menu-nav .nav-item .nav-link.active{border-bottom:2px solid #2c78bf;color:#2c78bf}.group-feed-component-menu-nav:not(last-child) .nav-item{margin-right:14px}.group-feed-component-body{min-height:40vh}.group-feed-component .member-label{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);color:#4b77be;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.group-feed-component .dropdown-item{font-weight:600}.group-feed-component .remote-label{background:#fef3c7;border:1px solid #fcd34d;color:#b45309;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}",""]);const i=o},59167:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-invite-component .btn-light{border-color:#e5e7eb}",""]);const i=o},73967:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-profile-component{background-color:#f0f2f5}.group-profile-component .header-jumbotron{background-color:#f3f4f6;border-bottom-left-radius:20px;border-bottom-right-radius:20px;height:320px}.group-profile-component .header-profile-card{align-items:center;display:flex;flex-direction:column;justify-content:center}.group-profile-component .header-profile-card .avatar{border-radius:50%;height:170px;margin-bottom:20px;margin-top:-150px;width:170px}.group-profile-component .header-profile-card .name{font-size:30px;font-weight:700;line-height:30px;margin-bottom:6px;text-align:center}.group-profile-component .header-profile-card .username{font-size:16px;font-weight:500;text-align:center}.group-profile-component .header-navbar{align-items:center;border-top:1px solid #f3f4f6;display:flex;height:60px;justify-content:space-between}.group-profile-component .header-navbar .dropdown{display:inline-block}.group-profile-component .header-navbar .dropdown-toggle:after{display:none}.group-profile-component .group-profile-feed{min-height:500px}.group-profile-component .infolet{margin-bottom:1rem}.group-profile-component .infolet .media-icon{display:flex;justify-content:center;margin-right:10px;width:30px}.group-profile-component .infolet .media-icon i{color:#d1d5db!important;font-size:1.1rem}.group-profile-component .btn-light{border-color:#f3f4f6}",""]);const i=o},81476:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-settings-component-header{align-items:flex-end;background-color:#fff;display:flex;justify-content:space-between;padding:2rem 1rem 1rem}.group-settings-component-header .cta-btn{min-width:140px}",""]);const i=o},91626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".groups-home-component{font-family:var(--font-family-sans-serif)}.groups-home-component .group-nav-btn{background-color:transparent;border-color:transparent;border-radius:1.5rem;color:#6c757d;display:block;justify-content:flex-start;margin-bottom:.3rem;padding-bottom:.3rem;padding-left:0;padding-top:.3rem;text-align:left;width:100%}.groups-home-component .group-nav-btn.active{background-color:#eff6ff!important;border:1px solid #dbeafe!important;color:#212529}.groups-home-component .group-nav-btn.active .group-nav-btn-icon{background-color:#2c78bf!important;color:#fff!important}.groups-home-component .group-nav-btn-icon{align-items:center;background-color:#e5e7eb;border-radius:17px;display:inline-flex;height:35px;justify-content:center;margin:auto .3rem;padding:12px;width:35px}.groups-home-component .group-nav-btn-name{display:inline-block;font-weight:700;margin-left:.3rem}.groups-home-component .autocomplete-input{background-color:#f8f9fa!important;border-color:transparent;border-radius:50rem;color:#495057;font-size:.9rem;height:2.375rem}.groups-home-component .autocomplete-input:focus,.groups-home-component .autocomplete-input[aria-expanded=true]{box-shadow:none}.groups-home-component .autocomplete-result{background:none;padding:12px}.groups-home-component .autocomplete-result:focus,.groups-home-component .autocomplete-result:hover{background-color:#eff6ff!important}.groups-home-component .autocomplete-result .media img{border-radius:4px;margin-right:.6rem;-o-object-fit:cover;object-fit:cover}.groups-home-component .autocomplete-result .media .icon-placeholder{align-items:center;background-color:#2c78bf;border-radius:4px;color:#fff;display:flex;height:32px;justify-content:center;margin-right:.6rem;width:32px}.groups-home-component .autocomplete-result-list{padding-bottom:0}.groups-home-component .fade-enter-active,.groups-home-component .fade-leave-active{transition:opacity .2s}.groups-home-component .fade-enter,.groups-home-component .fade-leave-to{opacity:0}",""]);const i=o},92520:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.comment-drawer-component .media{position:relative}.comment-drawer-component .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}.comment-drawer-component .media .comment-border-link:hover{background-color:#bfdbfe}.comment-drawer-component .media .child-reply-form{position:relative}.comment-drawer-component .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}.comment-drawer-component .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.comment-drawer-component .media-status{margin-bottom:1.3rem}.comment-drawer-component .media-avatar{margin-right:12px}.comment-drawer-component .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.comment-drawer-component .media-body-comment-username{color:#000;font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.comment-drawer-component .media-body-comment-username a{color:#000;text-decoration:none}.comment-drawer-component .media-body-comment-content{font-size:16px;margin-bottom:0}.comment-drawer-component .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.25rem!important}.comment-drawer-component .load-more-comments{font-weight:500}.comment-drawer-component .reply-form{margin-bottom:2rem}.comment-drawer-component .reply-form-input{flex:1;position:relative}.comment-drawer-component .reply-form-input textarea{border-radius:10px}.comment-drawer-component .reply-form-input .form-control{padding-right:100px;resize:none}.comment-drawer-component .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.comment-drawer-component .reply-form .btn{text-decoration:none}.comment-drawer-component .reply-form-menu{margin-top:5px}.comment-drawer-component .reply-form-menu .char-counter{color:var(--muted);font-size:10px}.comment-drawer-component .bh-comment,.comment-drawer-component .bh-comment img,.comment-drawer-component .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.comment-drawer-component .bh-comment img{-o-object-fit:cover;object-fit:cover}',""]);const i=o},34682:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,"",""]);const i=o},20082:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,"",""]);const i=o},92155:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-info-card .title[data-v-9d095298]{font-size:16px;font-weight:700}.group-info-card .description[data-v-9d095298]{color:#6c757d;font-size:15px;font-weight:400;margin-bottom:0;white-space:break-spaces}.group-info-card .fact[data-v-9d095298]{align-items:center;display:flex;margin-bottom:1.5rem}.group-info-card .fact-body[data-v-9d095298]{flex:1}.group-info-card .fact-icon[data-v-9d095298]{text-align:center;width:50px}.group-info-card .fact-title[data-v-9d095298]{font-size:17px;font-weight:500;margin-bottom:0}.group-info-card .fact-subtitle[data-v-9d095298]{color:#6c757d;font-size:14px;margin-bottom:0}",""]);const i=o},25730:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-invite-modal-wrapper .media{border-radius:10px;cursor:pointer;height:60px;padding:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.group-invite-modal-wrapper .media:hover{background-color:#e5e7eb}",""]);const i=o},42500:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-list-card .member-label[data-v-102531e6]{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);border-radius:3px;color:#4b77be}.group-list-card .member-label[data-v-102531e6],.group-list-card .remote-label[data-v-102531e6]{font-size:9px;font-weight:500;padding:2px 5px;text-transform:capitalize}.group-list-card .remote-label[data-v-102531e6]{background:#fef3c7;border:1px solid #fcd34d;border-radius:3px;color:#b45309}.group-list-card .group-header-img[data-v-102531e6]{height:60px;-o-object-fit:cover;object-fit:cover;padding:0;width:60px}.group-list-card .group-header-img.compact[data-v-102531e6]{height:42.5px;width:42.5px}",""]);const i=o},46262:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".gpm-media{display:flex;width:70%}.gpm-media img{background-color:#000;height:auto;max-height:70vh;-o-object-fit:contain;object-fit:contain;width:100%}.gpm .comment-drawer-component .my-3{max-height:46vh;overflow:auto}.gpm .cdrawer-reply-form{bottom:0;margin-bottom:1rem!important;min-width:310px;position:absolute}",""]);const i=o},14868:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-search-modal-wrapper .media{border-radius:10px;cursor:pointer;height:60px;padding:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.group-search-modal-wrapper .media:hover{background-color:#e5e7eb}",""]);const i=o},61814:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}.reaction-bar{border:1px solid #f3f4f6!important;left:-50px!important;max-width:unset;width:auto}.reaction-bar .popover-body{padding:2px}.reaction-bar .arrow{display:none}.reaction-bar img{width:48px}",""]);const i=o},27161:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".header-image[data-v-63bf412f]{border:1px solid var(--light);border-bottom-left-radius:5px;border-bottom-right-radius:5px;height:auto;margin-bottom:0;margin-top:-1px;max-height:220px;-o-object-fit:cover;object-fit:cover;width:100%}@media (min-width:768px){.header-image[data-v-63bf412f]{max-height:420px}}.header-jumbotron[data-v-63bf412f]{background-color:#f3f4f6;border-bottom-left-radius:20px;border-bottom-right-radius:20px;height:320px}",""]);const i=o},73788:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-feed-component-header{align-items:flex-end;background-color:transparent;display:flex;justify-content:space-between;padding:1rem 0}.group-feed-component-header .cta-btn{width:190px}.group-feed-component .member-label{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);color:#4b77be;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.group-feed-component .dropdown-item{font-weight:600}.group-feed-component .remote-label{background:#fef3c7;border:1px solid #fcd34d;color:#b45309;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}",""]);const i=o},6777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-feed-component-menu{align-items:center;display:flex;justify-content:space-between;padding:0}.group-feed-component-menu-nav .nav-item .nav-link{color:#6c757d;padding-bottom:1rem;padding-top:1rem}.group-feed-component-menu-nav .nav-item .nav-link.active{border-bottom:2px solid #2c78bf;color:#2c78bf}.group-feed-component-menu-nav:not(last-child) .nav-item{margin-right:14px}",""]);const i=o},37575:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".self-discover-component .list-group-item{text-decoration:none}.self-discover-component .list-group-item:hover{background-color:#f3f4f6}.self-discover-component .bg-mantle{background:linear-gradient(45deg,#24c6dc,#514a9d)}.self-discover-component .bg-black{background-color:#000}.self-discover-component .bg-black hr{border-top:1px solid hsla(0,0%,100%,.12)}.self-discover-component .title{align-items:center;display:flex;justify-content:space-between}.self-discover-component .title span{font-size:24px;font-weight:600}.self-discover-component .title .btn{border:1px solid #e5e7eb}",""]);const i=o},58967:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".my-groups-component .list-container[data-v-04397ac0]{margin-bottom:30vh}.my-groups-component .member-label[data-v-04397ac0]{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);border-radius:3px;color:#4b77be}.my-groups-component .member-label[data-v-04397ac0],.my-groups-component .remote-label[data-v-04397ac0]{font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.my-groups-component .remote-label[data-v-04397ac0]{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:3px;color:#4b5563}",""]);const i=o},26140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.group-notification-component .dropdown-toggle:after{content:"";display:none}.group-notification-component .nitem a{color:#000;font-weight:700!important}.group-notification-component .nitem a:focus,.group-notification-component .nitem a:hover{color:#121416!important}',""]);const i=o},32845:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-post-header .btn[data-v-29a27e2f]::focus{box-shadow:none}.group-post-header .dropdown-toggle[data-v-29a27e2f]:after{display:none}.group-post-header .group-name-link[data-v-29a27e2f]{font-size:16px}.group-post-header .group-name-link[data-v-29a27e2f],.group-post-header .group-name-link-small[data-v-29a27e2f]{word-wrap:break-word!important;color:var(--body-color)!important;font-weight:600;text-decoration:none;word-break:break-word!important}.group-post-header .group-name-link-small[data-v-29a27e2f]{font-size:14px}",""]);const i=o},35168:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const i=o},47754:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(37365),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},34681:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(74e3),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},33844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(83853),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},61276:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(91491),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},37063:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(53400),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},59240:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(55407),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},13968:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(59167),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},55726:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(73967),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},52803:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(81476),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},32327:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(91626),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},34969:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(92520),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},80403:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(34682),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},92509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(20082),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},2298:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(92155),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},83441:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(25730),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},21969:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(42500),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},54077:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(46262),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},87495:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(14868),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},25147:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(61814),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},69590:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(27161),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},48509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(73788),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},33864:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(6777),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},61492:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(37575),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},32524:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(58967),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},4709:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(26140),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},96246:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(32845),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},54675:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(35168),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},17547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64330),o=s(32608),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(29203);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49139:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(15763),o=s(40720),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(45576);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},71307:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(31846),o=s(35236),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(87359);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},1544:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(54888),o=s(79051),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(71855);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},17346:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(56814),o=s(47953),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(53855);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},13480:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85729),o=s(44515),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(59700);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},18115:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(51147),o=s(91036),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(58618);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},69513:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(99873),o=s(96046),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(92664);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},66536:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(47173),o=s(7059),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(94378);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84125:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(22515),o=s(60586),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},62181:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(33988),o=s(72934),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},69104:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(49782),o=s(22903),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},40482:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(4552),o=s(60473),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},71347:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(87362),o=s(77548),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},17108:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(73143),o=s(22899),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(94594);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},13094:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(15476),o=s(98281),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(24107);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"9d095298",null).exports},19413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(35343),o=s(75337),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(4114);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75386:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(8953),o=s(69309),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(61620);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"102531e6",null).exports},42013:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(2133),o=s(65638),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(29030);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},94559:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(9339),o=s(84552),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(32196);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},95002:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(97569),o=s(60481),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(24870);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},58753:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(40710),o=s(72122),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49268:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(19748),o=s(85083),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(53257);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"63bf412f",null).exports},52505:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(97741),o=s(36962),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(12012);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},33457:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(89014),o=s(18458),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(3625);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},7764:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(8751),o=s(6723),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},54048:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(80580),o=s(33759),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(73591);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90637:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(84667),o=s(44778),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(53056),o=s(73622),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(21319);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"04397ac0",null).exports},27403:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(17702),o=s(10912),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},65603:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(59037),o=s(65968),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(64012);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5799:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(76407),o=s(71880),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},76746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(82368),o=s(28725),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(58781);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"29a27e2f",null).exports},40798:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(97299),o=s(84381),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21466:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(63476),o=s(95509),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},98051:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(37086),o=s(90660),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(11415);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"7066737e",null).exports},37128:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(84585),o=s(2815),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(85650);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"f935045a",null).exports},61518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(99521),o=s(4777),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79427:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(17962),o=s(6452),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(75475);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"7871d23c",null).exports},53744:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(29375),o=s(21663),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},78841:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(8044),o=s(24966),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79984:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(53681),o=s(203),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(43248);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},32608:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19933),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},40720:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(22681),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},35236:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(72233),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},79051:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(2118),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},47953:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(20258),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},44515:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(39786),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},91036:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(95727),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},96046:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(68717),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},7059:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(78828),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},60586:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(15961),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},72934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(3891),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},22903:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(35334),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},60473:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(87844),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},77548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(45065),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},22899:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(91446),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},98281:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(15426),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},75337:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(51796),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},69309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(68902),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},65638:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(43599),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},84552:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(89905),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},60481:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(6234),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},72122:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(96895),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},85083:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(70714),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},36962:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(9125),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},18458:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(11493),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},6723:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(79270),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},33759:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(93350),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},44778:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(34015),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},73622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(7755),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},10912:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(26751),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},65968:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(93543),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},71880:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(60217),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},28725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(33664),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},84381:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(75e3),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},95509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(33422),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},90660:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(36639),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},2815:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(9266),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},4777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(35986),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},6452:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(25189),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},21663:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(70384),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},24966:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(78615),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},203:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(47898),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},64330:(t,e,s)=>{"use strict";s.r(e);var a=s(93409),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},15763:(t,e,s)=>{"use strict";s.r(e);var a=s(92192),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},31846:(t,e,s)=>{"use strict";s.r(e);var a=s(91057),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},54888:(t,e,s)=>{"use strict";s.r(e);var a=s(62959),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},56814:(t,e,s)=>{"use strict";s.r(e);var a=s(80311),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},85729:(t,e,s)=>{"use strict";s.r(e);var a=s(902),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},51147:(t,e,s)=>{"use strict";s.r(e);var a=s(36826),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},99873:(t,e,s)=>{"use strict";s.r(e);var a=s(59296),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},47173:(t,e,s)=>{"use strict";s.r(e);var a=s(16560),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},22515:(t,e,s)=>{"use strict";s.r(e);var a=s(57442),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},33988:(t,e,s)=>{"use strict";s.r(e);var a=s(88291),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},49782:(t,e,s)=>{"use strict";s.r(e);var a=s(20285),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},4552:(t,e,s)=>{"use strict";s.r(e);var a=s(80171),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},87362:(t,e,s)=>{"use strict";s.r(e);var a=s(47545),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},73143:(t,e,s)=>{"use strict";s.r(e);var a=s(54968),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},15476:(t,e,s)=>{"use strict";s.r(e);var a=s(26177),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},35343:(t,e,s)=>{"use strict";s.r(e);var a=s(22224),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},8953:(t,e,s)=>{"use strict";s.r(e);var a=s(25012),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},2133:(t,e,s)=>{"use strict";s.r(e);var a=s(64954),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},9339:(t,e,s)=>{"use strict";s.r(e);var a=s(83560),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},97569:(t,e,s)=>{"use strict";s.r(e);var a=s(38892),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},40710:(t,e,s)=>{"use strict";s.r(e);var a=s(52809),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},19748:(t,e,s)=>{"use strict";s.r(e);var a=s(2011),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},97741:(t,e,s)=>{"use strict";s.r(e);var a=s(11568),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},89014:(t,e,s)=>{"use strict";s.r(e);var a=s(17859),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},8751:(t,e,s)=>{"use strict";s.r(e);var a=s(30832),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},80580:(t,e,s)=>{"use strict";s.r(e);var a=s(48511),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},84667:(t,e,s)=>{"use strict";s.r(e);var a=s(92300),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},53056:(t,e,s)=>{"use strict";s.r(e);var a=s(54479),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},17702:(t,e,s)=>{"use strict";s.r(e);var a=s(75891),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},59037:(t,e,s)=>{"use strict";s.r(e);var a=s(25836),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},76407:(t,e,s)=>{"use strict";s.r(e);var a=s(5328),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},82368:(t,e,s)=>{"use strict";s.r(e);var a=s(48375),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},97299:(t,e,s)=>{"use strict";s.r(e);var a=s(70560),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},63476:(t,e,s)=>{"use strict";s.r(e);var a=s(18389),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},37086:(t,e,s)=>{"use strict";s.r(e);var a=s(28691),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},84585:(t,e,s)=>{"use strict";s.r(e);var a=s(84094),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},99521:(t,e,s)=>{"use strict";s.r(e);var a=s(12024),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},17962:(t,e,s)=>{"use strict";s.r(e);var a=s(75593),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},29375:(t,e,s)=>{"use strict";s.r(e);var a=s(45322),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},8044:(t,e,s)=>{"use strict";s.r(e);var a=s(28995),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},53681:(t,e,s)=>{"use strict";s.r(e);var a=s(55722),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},11415:(t,e,s)=>{"use strict";s.r(e);var a=s(47754),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},85650:(t,e,s)=>{"use strict";s.r(e);var a=s(34681),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},75475:(t,e,s)=>{"use strict";s.r(e);var a=s(33844),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},29203:(t,e,s)=>{"use strict";s.r(e);var a=s(61276),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},45576:(t,e,s)=>{"use strict";s.r(e);var a=s(37063),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},87359:(t,e,s)=>{"use strict";s.r(e);var a=s(59240),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},71855:(t,e,s)=>{"use strict";s.r(e);var a=s(13968),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},53855:(t,e,s)=>{"use strict";s.r(e);var a=s(55726),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},59700:(t,e,s)=>{"use strict";s.r(e);var a=s(52803),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},58618:(t,e,s)=>{"use strict";s.r(e);var a=s(32327),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},92664:(t,e,s)=>{"use strict";s.r(e);var a=s(34969),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},94378:(t,e,s)=>{"use strict";s.r(e);var a=s(80403),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},94594:(t,e,s)=>{"use strict";s.r(e);var a=s(92509),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},24107:(t,e,s)=>{"use strict";s.r(e);var a=s(2298),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},4114:(t,e,s)=>{"use strict";s.r(e);var a=s(83441),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},61620:(t,e,s)=>{"use strict";s.r(e);var a=s(21969),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},29030:(t,e,s)=>{"use strict";s.r(e);var a=s(54077),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},32196:(t,e,s)=>{"use strict";s.r(e);var a=s(87495),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},24870:(t,e,s)=>{"use strict";s.r(e);var a=s(25147),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},53257:(t,e,s)=>{"use strict";s.r(e);var a=s(69590),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},12012:(t,e,s)=>{"use strict";s.r(e);var a=s(48509),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},3625:(t,e,s)=>{"use strict";s.r(e);var a=s(33864),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},73591:(t,e,s)=>{"use strict";s.r(e);var a=s(61492),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},21319:(t,e,s)=>{"use strict";s.r(e);var a=s(32524),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},64012:(t,e,s)=>{"use strict";s.r(e);var a=s(4709),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},58781:(t,e,s)=>{"use strict";s.r(e);var a=s(96246),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},43248:(t,e,s)=>{"use strict";s.r(e);var a=s(54675),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)}},t=>{t.O(0,[3660],(()=>{return e=74050,t(t.s=e);var e}));t.O()}]); |