(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([["/js/spa"],{"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupDiscover.vue?vue&type=script&lang=js": /*!***********************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupDiscover.vue?vue&type=script&lang=js ***! \***********************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var o=s(/*! @/groups/sections/Sidebar.vue */"./resources/assets/components/groups/sections/Sidebar.vue"),a=s(/*! @/groups/sections/Loader.vue */"./resources/assets/components/groups/sections/Loader.vue"),n=s(/*! @/groups/partials/GroupCard.vue */"./resources/assets/components/groups/partials/GroupCard.vue");const r={components:{sidebar:o.default,loader:a.default,"group-card":n.default},data:function(){return{loaded:!1,loadTimeout:void 0,popularGroups:[],newGroups:[]}},methods:{fetchPopular:function(){var e=this;axios.get("/api/v0/groups/discover/popular").then((function(t){return e.popularGroups=t.data})).finally((function(){return e.fetchNewGroups()}))},fetchNewGroups:function(){var e=this;axios.get("/api/v0/groups/discover/new").then((function(t){return e.newGroups=t.data})).finally((function(){return e.loaded=!0}))}},created:function(){this.fetchPopular()},beforeUnmount:function(){clearTimeout(this.loadTimeout)}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupFeed.vue?vue&type=script&lang=js": /*!*******************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupFeed.vue?vue&type=script&lang=js ***! \*******************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>m});var o=s(/*! @/groups/partials/GroupStatus.vue */"./resources/assets/components/groups/partials/GroupStatus.vue"),a=s(/*! @/groups/partials/SelfFeed.vue */"./resources/assets/components/groups/partials/SelfFeed.vue"),n=s(/*! @/groups/partials/SelfDiscover.vue */"./resources/assets/components/groups/partials/SelfDiscover.vue"),r=s(/*! @/groups/partials/SelfGroups.vue */"./resources/assets/components/groups/partials/SelfGroups.vue"),i=s(/*! @/groups/partials/SelfNotifications.vue */"./resources/assets/components/groups/partials/SelfNotifications.vue"),l=s(/*! @/groups/partials/SelfInvitations.vue */"./resources/assets/components/groups/partials/SelfInvitations.vue"),d=s(/*! @/groups/partials/SelfRemoteSearch.vue */"./resources/assets/components/groups/partials/SelfRemoteSearch.vue"),u=s(/*! @/groups/CreateGroup.vue */"./resources/assets/components/groups/CreateGroup.vue"),c=s(/*! @/groups/sections/Sidebar.vue */"./resources/assets/components/groups/sections/Sidebar.vue"),p=s(/*! @trevoreyre/autocomplete-vue */"./node_modules/@trevoreyre/autocomplete-vue/dist/autocomplete.esm.js");s(/*! @trevoreyre/autocomplete-vue/dist/style.css */"./node_modules/@trevoreyre/autocomplete-vue/dist/style.css");const m={data:function(){return{initialLoad:!1,config:{},groups:[],profile:{},tab:null,searchQuery:void 0}},components:{"autocomplete-input":p.default,"group-status":o.default,"self-discover":n.default,"self-groups":r.default,"self-feed":a.default,"self-notifications":i.default,"self-invitations":l.default,"self-remote-search":d.default,"create-group":u.default,sidebar:c.default},mounted:function(){this.fetchConfig()},methods:{init:function(){document.querySelectorAll("footer").forEach((function(e){return e.parentNode.removeChild(e)})),document.querySelectorAll(".mobile-footer-spacer").forEach((function(e){return e.parentNode.removeChild(e)})),document.querySelectorAll(".mobile-footer").forEach((function(e){return e.parentNode.removeChild(e)})),this.initialLoad=!0},fetchConfig:function(){var e=this;axios.get("/api/v0/groups/config").then((function(t){e.config=t.data,e.fetchProfile()}))},fetchProfile:function(){var e=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(t){e.profile=t.data,e.init(),window._sharedData.curUser=t.data,window.App.util.navatar()}))},fetchSelfGroups:function(){var e=this;axios.get("/api/v0/groups/self/list").then((function(t){e.groups=t.data}))},switchTab:function(e){event.currentTarget.blur(),window.scrollTo(0,0),this.tab=e,"feed"!=e?history.pushState(null,null,"/groups/home?ct="+e):history.pushState(null,null,"/groups/home")},autocompleteSearch:function(e){var t=this;return!e||e.length<2?((this.tab="searchresults")&&(this.tab="feed"),[]):(this.searchQuery=e,e.startsWith("http")?new URL(e).hostname==location.hostname?(location.href=e,[]):[]:e.startsWith("#")?(this.$bvToast.toast(e,{title:"Hashtag detected",variant:"info",autoHideDelay:5e3}),[]):axios.post("/api/v0/groups/search/global",{q:e,v:"0.2"}).then((function(e){return t.searchLoading=!1,e.data})).catch((function(e){return 422===e.response.status&&t.$bvToast.toast(e.response.data.error.message,{title:"Cannot display search results",variant:"danger",autoHideDelay:5e3}),[]})))},getSearchResultValue:function(e){return e.name},onSearchSubmit:function(e){if(e.length<1)return[];location.href=e.url},truncateName:function(e){return e.length<24?e:e.substr(0,23)+"..."}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupJoins.vue?vue&type=script&lang=js": /*!********************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupJoins.vue?vue&type=script&lang=js ***! \********************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var o=s(/*! @/groups/sections/Sidebar.vue */"./resources/assets/components/groups/sections/Sidebar.vue"),a=s(/*! @/groups/sections/Loader.vue */"./resources/assets/components/groups/sections/Loader.vue"),n=s(/*! @/groups/partials/SelfGroups.vue */"./resources/assets/components/groups/partials/SelfGroups.vue");const r={components:{sidebar:o.default,loader:a.default,"self-groups":n.default},data:function(){return{loaded:!1,loadTimeout:void 0,config:{},groups:[],profile:{}}},methods:{init:function(){document.querySelectorAll("footer").forEach((function(e){return e.parentNode.removeChild(e)})),document.querySelectorAll(".mobile-footer-spacer").forEach((function(e){return e.parentNode.removeChild(e)})),document.querySelectorAll(".mobile-footer").forEach((function(e){return e.parentNode.removeChild(e)})),this.loaded=!0},fetchConfig:function(){var e=this;axios.get("/api/v0/groups/config").then((function(t){e.config=t.data,e.fetchProfile()}))},fetchProfile:function(){var e=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(t){e.profile=t.data,e.init(),window._sharedData.curUser=t.data,window.App.util.navatar()}))}},created:function(){this.fetchConfig()}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupNotifications.vue?vue&type=script&lang=js": /*!****************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupNotifications.vue?vue&type=script&lang=js ***! \****************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n});var o=s(/*! @/groups/sections/Sidebar.vue */"./resources/assets/components/groups/sections/Sidebar.vue"),a=s(/*! @/groups/sections/Loader.vue */"./resources/assets/components/groups/sections/Loader.vue");const n={components:{sidebar:o.default,loader:a.default},data:function(){return{loaded:!1,loadTimeout:void 0}},created:function(){var e=this;this.loadTimeout=setTimeout((function(){e.loaded=!0}),1e3)},beforeUnmount:function(){clearTimeout(this.loadTimeout)}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupSearch.vue?vue&type=script&lang=js": /*!*********************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupSearch.vue?vue&type=script&lang=js ***! \*********************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>m});var o=s(/*! @/groups/partials/GroupStatus.vue */"./resources/assets/components/groups/partials/GroupStatus.vue"),a=s(/*! @/groups/partials/SelfFeed.vue */"./resources/assets/components/groups/partials/SelfFeed.vue"),n=s(/*! @/groups/partials/SelfDiscover.vue */"./resources/assets/components/groups/partials/SelfDiscover.vue"),r=s(/*! @/groups/partials/SelfGroups.vue */"./resources/assets/components/groups/partials/SelfGroups.vue"),i=s(/*! @/groups/partials/SelfNotifications.vue */"./resources/assets/components/groups/partials/SelfNotifications.vue"),l=s(/*! @/groups/partials/SelfInvitations.vue */"./resources/assets/components/groups/partials/SelfInvitations.vue"),d=s(/*! @/groups/partials/SelfRemoteSearch.vue */"./resources/assets/components/groups/partials/SelfRemoteSearch.vue"),u=s(/*! @/groups/CreateGroup.vue */"./resources/assets/components/groups/CreateGroup.vue"),c=s(/*! @/groups/sections/Sidebar.vue */"./resources/assets/components/groups/sections/Sidebar.vue"),p=s(/*! @trevoreyre/autocomplete-vue */"./node_modules/@trevoreyre/autocomplete-vue/dist/autocomplete.esm.js");s(/*! @trevoreyre/autocomplete-vue/dist/style.css */"./node_modules/@trevoreyre/autocomplete-vue/dist/style.css");const m={data:function(){return{initialLoad:!1,config:{},groups:[],profile:{},tab:null,searchQuery:void 0}},components:{"autocomplete-input":p.default,"group-status":o.default,"self-discover":n.default,"self-groups":r.default,"self-feed":a.default,"self-notifications":i.default,"self-invitations":l.default,"self-remote-search":d.default,"create-group":u.default,sidebar:c.default},mounted:function(){this.fetchConfig()},methods:{init:function(){document.querySelectorAll("footer").forEach((function(e){return e.parentNode.removeChild(e)})),document.querySelectorAll(".mobile-footer-spacer").forEach((function(e){return e.parentNode.removeChild(e)})),document.querySelectorAll(".mobile-footer").forEach((function(e){return e.parentNode.removeChild(e)})),this.initialLoad=!0},fetchConfig:function(){var e=this;axios.get("/api/v0/groups/config").then((function(t){e.config=t.data,e.fetchProfile()}))},fetchProfile:function(){var e=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(t){e.profile=t.data,e.init(),window._sharedData.curUser=t.data,window.App.util.navatar()}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/Groups.vue?vue&type=script&lang=js": /*!****************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/Groups.vue?vue&type=script&lang=js ***! \****************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var o=s(/*! @/groups/GroupsHome.vue */"./resources/assets/components/groups/GroupsHome.vue"),a=s(/*! @/groups/GroupFeed.vue */"./resources/assets/components/groups/GroupFeed.vue"),n=s(/*! @/groups/CreateGroup.vue */"./resources/assets/components/groups/CreateGroup.vue");const r={props:{groupId:{type:String},path:{type:String}},data:function(){return{tab:"home"}},components:{"groups-home":o.default,"create-group":n.default,"group-feed":a.default},mounted:function(){this.groupId&&(this.tab="show")},methods:{switchTab:function(e){this.tab=e}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/CreateGroup.vue?vue&type=script&lang=js": /*!****************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/CreateGroup.vue?vue&type=script&lang=js ***! \****************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>i});var o=s(/*! @/groups/partials/CreateForm/TextInput.vue */"./resources/assets/components/groups/partials/CreateForm/TextInput.vue"),a=s(/*! @/groups/partials/CreateForm/SelectInput.vue */"./resources/assets/components/groups/partials/CreateForm/SelectInput.vue"),n=s(/*! @/groups/partials/CreateForm/TextAreaInput.vue */"./resources/assets/components/groups/partials/CreateForm/TextAreaInput.vue"),r=s(/*! @/groups/partials/CreateForm/CheckboxInput.vue */"./resources/assets/components/groups/partials/CreateForm/CheckboxInput.vue");const i={components:{"text-input":o.default,"select-input":a.default,"text-area-input":n.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"},{key:"Private",value:"private"},{key:"Local",value:"local"}]}},mounted:function(){this.permissionCheck(),this.fetchCategories()},methods:{permissionCheck:function(){var e=this;axios.post("/api/v0/groups/permission/create").then((function(t){0==t.data.permission?(swal("Limit reached","You cannot create any more groups","error"),e.hide=!0):e.hide=!1,e.permissionChecked=!0}))},submit:function(e){e.preventDefault(),this.submitting=!0,axios.post("/api/v0/groups/create",{name:this.name,description:this.description,membership:this.membership}).then((function(e){console.log(e.data),window.location.href=e.data.url})).catch((function(e){console.log(e.response)}))},fetchCategories:function(){var e=this;axios.get("/api/v0/groups/categories/list").then((function(t){e.categories=t.data.map((function(e){return{key:e,value:e}}))}))},createGroup:function(){axios.post("/api/v0/groups/create",{name:this.name,description:this.description,membership:this.membership,configuration:this.configuration}).then((function(e){console.log(e.data),location.href=e.data.url}))},handleUpdate:function(e,t){this[e]=t}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/GroupFeed.vue?vue&type=script&lang=js": /*!**************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/GroupFeed.vue?vue&type=script&lang=js ***! \**************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>f});var o=s(/*! ~/partials/StatusCard.vue */"./resources/assets/js/components/partials/StatusCard.vue"),a=s(/*! ./partials/GroupCompose.vue */"./resources/assets/components/groups/partials/GroupCompose.vue"),n=s(/*! ./partials/GroupStatus.vue */"./resources/assets/components/groups/partials/GroupStatus.vue"),r=s(/*! ./partials/GroupInfoCard.vue */"./resources/assets/components/groups/partials/GroupInfoCard.vue"),i=s(/*! ./partials/LeaveGroup.vue */"./resources/assets/components/groups/partials/LeaveGroup.vue"),l=s(/*! ./partials/GroupSearchModal.vue */"./resources/assets/components/groups/partials/GroupSearchModal.vue"),d=s(/*! ./partials/GroupInviteModal.vue */"./resources/assets/components/groups/partials/GroupInviteModal.vue"),u=s(/*! @/groups/partials/Page/GroupBanner.vue */"./resources/assets/components/groups/partials/Page/GroupBanner.vue"),c=s(/*! @/groups/partials/Page/GroupNavTabs.vue */"./resources/assets/components/groups/partials/Page/GroupNavTabs.vue"),p=s(/*! @/groups/partials/Page/GroupHeaderDetails.vue */"./resources/assets/components/groups/partials/Page/GroupHeaderDetails.vue");function m(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);"Object"===s&&e.constructor&&(s=e.constructor.name);if("Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return v(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,o=new Array(t);s1&&void 0!==arguments[1]&&arguments[1],s=new Date(e);return t?s.toDateString()+" · "+s.toLocaleTimeString():s.toDateString()},switchTab:function(e){window.scrollTo(0,0),"feed"==e&&this.permalinkMode&&(this.permalinkMode=!1,this.fetchFeed());var t="feed"==e?this.group.url:this.group.url+"/"+e;history.pushState(e,null,t),this.tab=e},joinGroup:function(){var e=this;this.requestingMembership=!0,axios.post("/api/v0/groups/"+this.groupId+"/join").then((function(t){e.requestingMembership=!1,e.group=t.data,e.fetchGroup(),e.fetchFeed()})).catch((function(t){var s=t.response;422==s.status&&(e.tab="feed",history.pushState("",null,e.group.url),e.requestingMembership=!1,swal("Oops!",s.data.error,"error"))}))},cancelJoinRequest:function(){var e=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(t){e.requestingMembership=!1})).catch((function(e){var t=e.response;422==t.status&&swal("Oops!",t.data.error,"error")}))},leaveGroup:function(){var e=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(t){e.tab="feed",history.pushState("",null,e.group.url),e.feed=[],e.isMember=!1,e.isAdmin=!1,e.group.self.role=null,e.group.self.is_member=!1}))},pushNewStatus:function(e){this.feed.unshift(e)},commentFocus:function(e){this.feed[e].showCommentDrawer=!0},statusDelete:function(e){this.feed.splice(e,1)},infiniteFeed:function(e){var t=this;if(this.feed.length<3)e.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 o,a,n=s.data.filter((function(e){return-1==t.ids.indexOf(e.id)}));t.maxId=n[n.length-1].id,(o=t.feed).push.apply(o,m(n)),(a=t.ids).push.apply(a,m(n.map((function(e){return e.id})))),setTimeout((function(){t.initObservers()}),1e3),e.loaded()}else e.complete()}))}},decrementModCounter:function(e){var t=this.atabs.moderation_count;0!=t&&(this.atabs.moderation_count=t-e)},setModCounter:function(e){this.atabs.moderation_count=e},decrementJoinRequestCount:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.atabs.request_count;this.atabs.request_count=t-e},incrementMemberCount:function(){var e=this.group.member_count;this.group.member_count=e+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 e=this;swal("Report Group","Are you sure you want to report this group?").then((function(t){t&&(location.href="/i/report?id=".concat(e.group.id,"&type=group"))}))},showSearchModal:function(){event.currentTarget.blur(),this.$refs.searchModal.open()},showInviteModal:function(){event.currentTarget.blur(),this.$refs.inviteModal.open()},showLikesModal:function(e){var t=this;this.likesId=this.feed[e].id,axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.likesId).then((function(e){t.likes=e.data,t.likesPage++,t.$refs.likeBox.show()}))},infiniteLikesHandler:function(e){var t=this;this.likes.length<3?e.complete():axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.likesId,{params:{page:this.likesPage}}).then((function(s){var o;s.data.length>0?((o=t.likes).push.apply(o,m(s.data)),t.likesPage++,10!=s.data.length?e.complete():e.loaded()):e.complete()}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/GroupsHome.vue?vue&type=script&lang=js": /*!***************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/GroupsHome.vue?vue&type=script&lang=js ***! \***************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>p});var o=s(/*! ./partials/GroupStatus.vue */"./resources/assets/components/groups/partials/GroupStatus.vue"),a=s(/*! ./partials/SelfFeed.vue */"./resources/assets/components/groups/partials/SelfFeed.vue"),n=s(/*! ./partials/SelfDiscover.vue */"./resources/assets/components/groups/partials/SelfDiscover.vue"),r=s(/*! ./partials/SelfGroups.vue */"./resources/assets/components/groups/partials/SelfGroups.vue"),i=s(/*! ./partials/SelfNotifications.vue */"./resources/assets/components/groups/partials/SelfNotifications.vue"),l=s(/*! ./partials/SelfInvitations.vue */"./resources/assets/components/groups/partials/SelfInvitations.vue"),d=s(/*! ./partials/SelfRemoteSearch.vue */"./resources/assets/components/groups/partials/SelfRemoteSearch.vue"),u=s(/*! ./CreateGroup.vue */"./resources/assets/components/groups/CreateGroup.vue"),c=s(/*! @trevoreyre/autocomplete-vue */"./node_modules/@trevoreyre/autocomplete-vue/dist/autocomplete.esm.js");s(/*! @trevoreyre/autocomplete-vue/dist/style.css */"./node_modules/@trevoreyre/autocomplete-vue/dist/style.css");const p={data:function(){return{initialLoad:!1,config:{},groups:[],profile:{},tab:null,searchQuery:void 0}},components:{"autocomplete-input":c.default,"group-status":o.default,"self-discover":n.default,"self-groups":r.default,"self-feed":a.default,"self-notifications":i.default,"self-invitations":l.default,"self-remote-search":d.default,"create-group":u.default},mounted:function(){this.fetchConfig()},methods:{init:function(){document.querySelectorAll("footer").forEach((function(e){return e.parentNode.removeChild(e)})),document.querySelectorAll(".mobile-footer-spacer").forEach((function(e){return e.parentNode.removeChild(e)})),document.querySelectorAll(".mobile-footer").forEach((function(e){return e.parentNode.removeChild(e)})),this.initialLoad=!0},fetchConfig:function(){var e=this;axios.get("/api/v0/groups/config").then((function(t){e.config=t.data,e.fetchProfile()}))},fetchProfile:function(){var e=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(t){e.profile=t.data,e.init(),window._sharedData.curUser=t.data,window.App.util.navatar()}))},fetchSelfGroups:function(){var e=this;axios.get("/api/v0/groups/self/list").then((function(t){e.groups=t.data}))},switchTab:function(e){event.currentTarget.blur(),window.scrollTo(0,0),this.tab=e,"feed"!=e?history.pushState(null,null,"/groups/home?ct="+e):history.pushState(null,null,"/groups/home")},autocompleteSearch:function(e){var t=this;return!e||e.length<2?((this.tab="searchresults")&&(this.tab="feed"),[]):(this.searchQuery=e,e.startsWith("http")?new URL(e).hostname==location.hostname?(location.href=e,[]):[]:e.startsWith("#")?(this.$bvToast.toast(e,{title:"Hashtag detected",variant:"info",autoHideDelay:5e3}),[]):axios.post("/api/v0/groups/search/global",{q:e,v:"0.2"}).then((function(e){return t.searchLoading=!1,e.data})).catch((function(e){return 422===e.response.status&&t.$bvToast.toast(e.response.data.error.message,{title:"Cannot display search results",variant:"danger",autoHideDelay:5e3}),[]})))},getSearchResultValue:function(e){return e.name},onSearchSubmit:function(e){if(e.length<1)return[];location.href=e.url},truncateName:function(e){return e.length<24?e:e.substr(0,23)+"..."}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CommentDrawer.vue?vue&type=script&lang=js": /*!***************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CommentDrawer.vue?vue&type=script&lang=js ***! \***************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>i});var o=s(/*! ./ReadMore.vue */"./resources/assets/components/groups/partials/ReadMore.vue"),a=s(/*! ./CommentPost.vue */"./resources/assets/components/groups/partials/CommentPost.vue");function n(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);"Object"===s&&e.constructor&&(s=e.constructor.name);if("Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,o=new Array(t);s0&&(e.children={feed:[],can_load_more:!0}),e}));e.feed=s,e.isLoaded=!0,e.maxReplyId=t.data[t.data.length-1].id,3==e.feed.length&&(e.canLoadMore=!0)})).catch((function(t){e.isLoaded=!0}))},loadMoreComments:function(){var e=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(t){var s;if(t.data[t.data.length-1].id==e.maxReplyId)return e.isLoadingMore=!1,void(e.canLoadMore=!1);(s=e.feed).push.apply(s,n(t.data)),setTimeout((function(){e.isLoadingMore=!1}),500),e.maxReplyId=t.data[t.data.length-1].id,t.data.length>0?e.canLoadMore=!0:e.canLoadMore=!1})).catch((function(t){e.isLoadingMore=!1,e.canLoadMore=!1}))},storeComment:function(e){var t,s=this;null===(t=e.currentTarget)||void 0===t||t.blur(),axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,content:this.replyContent}).then((function(e){s.replyContent=null,s.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(s.isUploading=!1,s.uploadProgress=0,swal("Oops!",e.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(e){return window.App.util.format.timeAgo(e)},readMore:function(){this.readMoreCursor=this.readMoreCursor+200},likeComment:function(e,t,s){s.target.blur();var o=!e.favourited;this.feed[t].favourited=o,e.favourited=o,axios.post("/api/v0/groups/comment/".concat(o?"like":"unlike"),{sid:e.id,gid:this.groupId})},deleteComment:function(e){var t=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[e].id}).then((function(s){t.feed.splice(e,1)})).catch((function(e){console.log(e.response),swal("Error","Something went wrong. Please try again later.","error")}))},uploadImage:function(){this.$refs.fileInput.click()},handleImageUpload:function(){var e=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var t=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(e){t.uploadProgress=Math.floor(e.loaded/e.total*100)}}).then((function(t){e.isUploading=!1,e.uploadProgress=0,e.feed.unshift(t.data)})).catch((function(t){422==t.response.status?(e.isUploading=!1,e.uploadProgress=0,swal("Oops!",t.response.data.error,"error")):(e.isUploading=!1,e.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},lightbox:function(e){this.lightboxStatus=e.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(e){if(!e.media_attachments[0].meta)return 25;var t=e.media_attachments[0].meta.original.aspect;return 1==t?25:t>1?30:20},blurhashHeight:function(e){if(!e.media_attachments[0].meta)return 25;var t=e.media_attachments[0].meta.original.aspect;return 1==t?25:t>1?20:30},getMediaSource:function(e){var t=e.media_attachments[0];return t.preview_url.endsWith("storage/no-preview.png")?t.url:t.preview_url},replyToChild:function(e,t){var s=this;if(this.replyChildId==e.id)return this.replyChildId=null,void(this.replyChildIndex=null);this.childReplyContent=null,this.replyChildId=e.id,this.replyChildIndex=t,e.hasOwnProperty("replies_loaded")&&e.replies_loaded||this.$nextTick((function(){s.fetchChildReplies(e,t)}))},fetchChildReplies:function(e,t){var s=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:e.id,cid:1,limit:3}}).then((function(e){s.feed[t].hasOwnProperty("children")?(s.feed[t].children.feed.push(e.data),s.feed[t].children.can_load_more=3==e.data.length):s.feed[t].children={feed:e.data,can_load_more:3==e.data.length},s.replyChildMinId=e.data[e.data.length-1].id,s.$nextTick((function(){s.feed[t].replies_loaded=!0}))})).catch((function(e){s.feed[t].children.can_load_more=!1}))},storeChildComment:function(e){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(s){t.childReplyContent=null,t.postingChildComment=!1,t.feed[e].children.feed.push(s.data)})).catch((function(e){422==e.response.status?swal("Oops!",e.response.data.error,"error"):swal("Oops!","An error occured while processing your request, please try again later","error")}))},loadMoreChildComments:function(e,t){var s=this;this.loadingChildComments=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:e.id,max_id:this.replyChildMinId,cid:1,limit:3}}).then((function(e){var o;s.feed[t].hasOwnProperty("children")?((o=s.feed[t].children.feed).push.apply(o,n(e.data)),s.feed[t].children.can_load_more=3==e.data.length):s.feed[t].children={feed:e.data,can_load_more:3==e.data.length};s.replyChildMinId=e.data[e.data.length-1].id,s.feed[t].replies_loaded=!0,s.loadingChildComments=!1})).catch((function(e){}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CommentPost.vue?vue&type=script&lang=js": /*!*************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CommentPost.vue?vue&type=script&lang=js ***! \*************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var o=s(/*! ./ReadMore.vue */"./resources/assets/components/groups/partials/ReadMore.vue");function a(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);"Object"===s&&e.constructor&&(s=e.constructor.name);if("Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,o=new Array(t);s0?e.canLoadMore=!0:e.canLoadMore=!1})).catch((function(t){e.isLoadingMore=!1,e.canLoadMore=!1}))},storeComment:function(){var e=this;axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,content:this.replyContent}).then((function(t){e.replyContent=null,e.feed.unshift(t.data)})).catch((function(t){422==t.response.status?(e.isUploading=!1,e.uploadProgress=0,swal("Oops!",t.response.data.error,"error")):(e.isUploading=!1,e.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))},shortTimestamp:function(e){return window.App.util.format.timeAgo(e)},readMore:function(){this.readMoreCursor=this.readMoreCursor+200},likeComment:function(e,t,s){s.target.blur();var o=!e.favourited;this.feed[t].favourited=o,e.favourited=o,axios.post("/api/v0/groups/like",{sid:e.id,gid:this.groupId})},deleteComment:function(e){var t=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[e].id}).then((function(s){t.feed.splice(e,1)})).catch((function(e){console.log(e.response),swal("Error","Something went wrong. Please try again later.","error")}))},uploadImage:function(){this.$refs.fileInput.click()},handleImageUpload:function(){var e=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var t=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(e){t.uploadProgress=Math.floor(e.loaded/e.total*100)}}).then((function(t){e.isUploading=!1,e.uploadProgress=0,e.feed.unshift(t.data)})).catch((function(t){422==t.response.status?(e.isUploading=!1,e.uploadProgress=0,swal("Oops!",t.response.data.error,"error")):(e.isUploading=!1,e.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},lightbox:function(e){this.lightboxStatus=e.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(e){if(!e.media_attachments[0].meta)return 25;var t=e.media_attachments[0].meta.original.aspect;return 1==t?25:t>1?30:20},blurhashHeight:function(e){if(!e.media_attachments[0].meta)return 25;var t=e.media_attachments[0].meta.original.aspect;return 1==t?25:t>1?20:30},getMediaSource:function(e){var t=e.media_attachments[0];return t.preview_url.endsWith("storage/no-preview.png")?t.url:t.preview_url},replyToChild:function(e,t){this.replyChildId!=e.id?(this.childReplyContent=null,this.replyChildId=e.id,e.hasOwnProperty("replies_loaded")&&e.replies_loaded||this.fetchChildReplies(e,t)):this.replyChildId=null},fetchChildReplies:function(e,t){var s=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:e.id,cid:1,limit:3}}).then((function(e){var o;s.feed[t].hasOwnProperty("children")?((o=s.feed[t].children.feed).push.apply(o,a(e.data)),s.feed[t].children.can_load_more=3==e.data.length):s.feed[t].children={feed:e.data,can_load_more:3==e.data.length};s.feed[t].replies_loaded=!0})).catch((function(e){}))},storeChildComment:function(){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(t){e.childReplyContent=null,e.postingChildComment=!1})).catch((function(e){422==e.response.status?swal("Oops!",e.response.data.error,"error"):swal("Oops!","An error occured while processing your request, please try again later","error")})),console.log(this.replyChildId)}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/ContextMenu.vue?vue&type=script&lang=js": /*!*************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/ContextMenu.vue?vue&type=script&lang=js ***! \*************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var o=s(/*! jquery */"./node_modules/jquery/dist/jquery.js");const a={props:{status:{type:Object},profile:{type:Object},type:{type:String,default:"status",validator:function(e){return["status","comment","profile"].includes(e)}},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 e=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(t){e.ctxMenuRelationship=t.data[0],e.$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 e=this.ctxMenuStatus;navigator.clipboard.writeText(e.url),this.closeModals()},ctxMenuGoToPost:function(){var e=this.ctxMenuStatus;window.location.href=this.statusUrl(e),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var e=this.ctxMenuStatus;window.location.href=this.profileUrl(e),this.closeCtxMenu()},ctxMenuFollow:function(){var e=this,t=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:t}).then((function(t){var s=e.ctxMenuStatus.account.acct;e.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var e=this,t=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:t}).then((function(t){var s=e.ctxMenuStatus.account.acct;"home"==e.scope&&(e.feed=e.feed.filter((function(t){return t.account.id!=e.ctxMenuStatus.account.id}))),e.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(e){return App.util.format.count(e)},openCtxReportOtherMenu:function(){var e=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=e,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(e){var t=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(o){o?axios.post("/api/v0/groups/".concat(t.groupId,"/report/create"),{type:e,id:s}).then((function(e){t.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(e){422==e.response.status?swal("Oops!",e.response.data.error,"error"):swal("Oops!","There was an issue reporting this post.","error")})):t.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 e=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(t){e.feed=e.feed.filter((function(t){return t.id!=e.confirmModalIdentifer})),e.closeConfirmModal()})).catch((function(t){e.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(e,t,s){var o=this,a=(e.account.username,e.id,""),n=this;switch(t){case"addcw":a="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:t,item_id:e.id,item_type:"status"}).then((function(t){swal("Success","Successfully added content warning","success"),e.sensitive=!0,n.closeModals(),n.ctxModMenuClose()})).catch((function(e){swal("Error","Something went wrong, please try again later.","error"),n.closeModals(),n.ctxModMenuClose()}))}));break;case"remcw":a="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:t,item_id:e.id,item_type:"status"}).then((function(t){swal("Success","Successfully added content warning","success"),e.sensitive=!1,n.closeModals(),n.ctxModMenuClose()})).catch((function(e){swal("Error","Something went wrong, please try again later.","error"),n.closeModals(),n.ctxModMenuClose()}))}));break;case"unlist":a="Are you sure you want to unlist this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:t,item_id:e.id,item_type:"status"}).then((function(t){o.feed=o.feed.filter((function(t){return t.id!=e.id})),swal("Success","Successfully unlisted post","success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(e){n.closeModals(),n.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":a="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:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:t,item_id:e.id,item_type:"status"}).then((function(e){swal("Success","Successfully marked account as spammer","success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(e){n.closeModals(),n.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(e,t){0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:e.id}).then((function(t){e.reblogs_count=t.data.count,e.reblogged=!e.reblogged,e.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(e){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(e){return 1==e.local?e.url:"/i/web/post/_/"+e.account.id+"/"+e.id},profileUrl:function(e){return 1==e.local?e.account.url:"/i/web/profile/_/"+e.account.id},deletePost:function(e){var t=this;0!=o("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(e)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:e.id}).then((function(s){t.$emit("status-delete",e.id),t.closeModals()})).catch((function(e){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(e){return this.profile.id===e.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(e){return this.owner(e)||this.admin()},archivePost:function(e){var t=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+e.id+"/archive").then((function(s){t.$emit("status-delete",e.id),t.closeModals()}))},unarchivePost:function(e){var t=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+e.id+"/unarchive").then((function(e){t.closeModals()}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/CheckboxInput.vue?vue&type=script&lang=js": /*!**************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/CheckboxInput.vue?vue&type=script&lang=js ***! \**************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={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(e,t){this.$emit("update",e)}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/SelectInput.vue?vue&type=script&lang=js": /*!************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/SelectInput.vue?vue&type=script&lang=js ***! \************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={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(e,t){this.$emit("update",e)}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/TextAreaInput.vue?vue&type=script&lang=js": /*!**************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/TextAreaInput.vue?vue&type=script&lang=js ***! \**************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={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(e,t){this.$emit("update",e)}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/TextInput.vue?vue&type=script&lang=js": /*!**********************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/TextInput.vue?vue&type=script&lang=js ***! \**********************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={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(e,t){this.$emit("update",e)}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupCard.vue?vue&type=script&lang=js": /*!***********************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupCard.vue?vue&type=script&lang=js ***! \***********************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={props:{group:{type:Object},compact:{type:Boolean,default:!1},showStats:{type:Boolean,default:!0},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(e){return App.util.format.count(e)},truncate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:140;return e.length<=t?e:e.substr(0,t)+" ..."}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupCompose.vue?vue&type=script&lang=js": /*!**************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupCompose.vue?vue&type=script&lang=js ***! \**************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={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 e=this;if(!this.isPosting){this.isPosting=!0;var t=this,s="text",o=new FormData;switch(o.append("group_id",this.groupId),this.composeText&&this.composeText.length&&o.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 a=0;a0&&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}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupInfoCard.vue?vue&type=script&lang=js": /*!***************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupInfoCard.vue?vue&type=script&lang=js ***! \***************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={props:{group:{type:Object}},methods:{timestampFormat:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=new Date(e);return t?s.toDateString()+" · "+s.toLocaleTimeString():s.toDateString()}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupInviteModal.vue?vue&type=script&lang=js": /*!******************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupInviteModal.vue?vue&type=script&lang=js ***! \******************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var o=s(/*! @trevoreyre/autocomplete-vue */"./node_modules/@trevoreyre/autocomplete-vue/dist/autocomplete.esm.js");s(/*! @trevoreyre/autocomplete-vue/dist/style.css */"./node_modules/@trevoreyre/autocomplete-vue/dist/style.css");const a={props:{group:{type:Object},profile:{type:Object}},components:{"autocomplete-input":o.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(e){var t=this;return e&&0!=e.length?axios.post("/api/v0/groups/search/invite/friends",{q:e,g:this.group.id,v:"0.2"}).then((function(e){return e.data.filter((function(e){return-1==t.usernames.map((function(e){return e.username})).indexOf(e.username)}))})):[]},getSearchResultValue:function(e){return e.username},onSearchSubmit:function(e){this.usernames.push(e),this.$refs.autocomplete.value=""},removeUsername:function(e){event.currentTarget.blur(),this.usernames.splice(e,1)},submitInvites:function(){var e=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(e){return e.id}))}).then((function(t){e.usernames=[],e.isSubmitting=!1,e.close(),swal("Success","Successfully sent invite(s)","success")})).catch((function(t){e.usernames=[],e.isSubmitting=!1,422===t.response.status?swal("Error",t.response.data.error,"error"):swal("Oops!","An error occured, please try again later","error"),e.close()}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupListCard.vue?vue&type=script&lang=js": /*!***************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupListCard.vue?vue&type=script&lang=js ***! \***************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={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(e){return App.util.format.count(e)},truncate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:140;return e.length<=t?e:e.substr(0,t)+" ..."}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupPostModal.vue?vue&type=script&lang=js": /*!****************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupPostModal.vue?vue&type=script&lang=js ***! \****************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n});var o=s(/*! ./ReadMore.vue */"./resources/assets/components/groups/partials/ReadMore.vue"),a=s(/*! ./CommentDrawer.vue */"./resources/assets/components/groups/partials/CommentDrawer.vue");const n={props:{groupId:{type:String},status:{type:Object},profile:{type:Object}},components:{"read-more":o.default,"comment-drawer":a.default},data:function(){return{loaded:!1}},mounted:function(){this.init()},methods:{init:function(){this.loaded=!0,this.$refs.modal.show()},shortTimestamp:function(e){return window.App.util.format.timeAgo(e)}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupSearchModal.vue?vue&type=script&lang=js": /*!******************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupSearchModal.vue?vue&type=script&lang=js ***! \******************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var o=s(/*! @trevoreyre/autocomplete-vue */"./node_modules/@trevoreyre/autocomplete-vue/dist/autocomplete.esm.js");s(/*! @trevoreyre/autocomplete-vue/dist/style.css */"./node_modules/@trevoreyre/autocomplete-vue/dist/style.css");const a={props:{group:{type:Object},profile:{type:Object}},components:{autocomplete:o.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 e=this;axios.get("/api/v0/groups/search/getrec",{params:{g:this.group.id}}).then((function(t){e.recent=t.data}))},autocompleteSearch:function(e){return!e||e.length<2?[]:axios.post("/api/v0/groups/search/lac",{q:e,g:this.group.id,v:"0.2"}).then((function(e){return e.data}))},getSearchResultValue:function(e){return e.username},onSearchSubmit:function(e){if(e.length<1)return[];axios.post("/api/v0/groups/search/addrec",{g:this.group.id,q:{value:e.username,action:e.url}}).then((function(t){location.href=e.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(){}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupStatus.vue?vue&type=script&lang=js": /*!*************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupStatus.vue?vue&type=script&lang=js ***! \*************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>g});var o=s(/*! ./CommentDrawer.vue */"./resources/assets/components/groups/partials/CommentDrawer.vue"),a=s(/*! ./ContextMenu.vue */"./resources/assets/components/groups/partials/ContextMenu.vue"),n=s(/*! ~/partials/PollCard.vue */"./resources/assets/js/components/partials/PollCard.vue"),r=s(/*! @/presenter/MixedAlbumPresenter.vue */"./resources/assets/components/presenter/MixedAlbumPresenter.vue"),i=s(/*! @/presenter/PhotoAlbumPresenter.vue */"./resources/assets/components/presenter/PhotoAlbumPresenter.vue"),l=s(/*! @/presenter/PhotoPresenter.vue */"./resources/assets/components/presenter/PhotoPresenter.vue"),d=s(/*! @/presenter/VideoAlbumPresenter.vue */"./resources/assets/components/presenter/VideoAlbumPresenter.vue"),u=s(/*! @/presenter/VideoPresenter.vue */"./resources/assets/components/presenter/VideoPresenter.vue"),c=s(/*! ./GroupPostModal.vue */"./resources/assets/components/groups/partials/GroupPostModal.vue"),p=s(/*! twitter-text */"./node_modules/twitter-text/build/twitter-text.js"),m=s(/*! @/groups/partials/Status/ParentUnavailable.vue */"./resources/assets/components/groups/partials/Status/ParentUnavailable.vue"),v=s(/*! @/groups/partials/Status/GroupHeader.vue */"./resources/assets/components/groups/partials/Status/GroupHeader.vue");function f(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);"Object"===s&&e.constructor&&(s=e.constructor.name);if("Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return h(e,t)}(e)||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 h(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,o=new Array(t);s@'+a+"";case"from":return o+' from '+a+"";case"custom":return o+' '+s+" "+a+""}},lightbox:function(e){window.location.href=e.media_attachments[0].url},labelRedirect:function(e){var t="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=t},likeStatus:function(e,t){t.currentTarget.blur();var s=e.favourites_count,o=e.favourited?"unlike":"like";axios.post("/api/v0/groups/status/"+o,{sid:e.id,gid:this.groupId}).then((function(a){e.favourited=o,e.favourites_count=o?s+1:s-1,e.favourited=o,e.favourited&&setTimeout((function(){t.target.classList.add("animate__animated","animate__bounce")}),100)})).catch((function(e){422==e.response.status?swal("Error",e.response.data.error,"error"):swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200)},commentFocus:function(e){e.target.blur(),this.showCommentDrawer=!this.showCommentDrawer},commentSubmit:function(e,t){var s=this;this.replySending=!0;var o=e.id,a=this.replyText,n=this.config.uploader.max_caption_length;if(a.length>n)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+n+" characters or less.","error");axios.post("/i/comment",{item:o,comment:a,sensitive:this.replyNsfw}).then((function(e){s.replyText="",s.replies.push(e.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(e){return this.profile.id===e.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(e){return this.owner(e)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(e){return App.util.format.timeAgo(e)},statusDeleted:function(e){this.$emit("status-delete")},showPostModal:function(){this.showModal=!0,this.$refs.modal.init()},showLikesModal:function(e){e&&e.hasOwnProperty("currentTarget")&&e.currentTarget().blur(),this.$emit("likes-modal")},infiniteLikesHandler:function(e){var t=this;axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.status.id,{params:{page:this.likesPage}}).then((function(s){var o,a=s.data;a.data.length>0?((o=t.likes).push.apply(o,f(a.data)),t.likesPage++,e.loaded()):e.complete()}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/LeaveGroup.vue?vue&type=script&lang=js": /*!************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/LeaveGroup.vue?vue&type=script&lang=js ***! \************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Page/GroupBanner.vue?vue&type=script&lang=js": /*!******************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Page/GroupBanner.vue?vue&type=script&lang=js ***! \******************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={props:{group:{type:Object}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Page/GroupHeaderDetails.vue?vue&type=script&lang=js": /*!*************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Page/GroupHeaderDetails.vue?vue&type=script&lang=js ***! \*************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={props:{group:{type:Object},isAdmin:{type:Boolean,default:!1},isMember:{type:Boolean,default:!1}},data:function(){return{requestingMembership:!1}},methods:{joinGroup:function(){var e=this;this.requestingMembership=!0,axios.post("/api/v0/groups/"+this.group.id+"/join").then((function(t){e.requestingMembership=!1,e.$emit("refresh")})).catch((function(t){var s=t.response;422==s.status&&(e.requestingMembership=!1,swal("Oops!",s.data.error,"error"))}))},cancelJoinRequest:function(){var e=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(t){e.requestingMembership=!1,e.$emit("refresh")})).catch((function(e){var t=e.response;422==t.status&&swal("Oops!",t.data.error,"error")}))},leaveGroup:function(){var e=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(t){e.$emit("refresh")}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Page/GroupNavTabs.vue?vue&type=script&lang=js": /*!*******************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Page/GroupNavTabs.vue?vue&type=script&lang=js ***! \*******************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var o=s(/*! @/groups/partials/GroupSearchModal.vue */"./resources/assets/components/groups/partials/GroupSearchModal.vue");const a={props:{group:{type:Object},isAdmin:{type:Boolean,default:!1},isMember:{type:Boolean,default:!1},atabs:{type:Object},profile:{type:Object}},components:{"search-modal":o.default},methods:{showSearchModal:function(){event.currentTarget.blur(),this.$refs.searchModal.open()}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/ReadMore.vue?vue&type=script&lang=js": /*!**********************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/ReadMore.vue?vue&type=script&lang=js ***! \**********************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={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)}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfDiscover.vue?vue&type=script&lang=js": /*!**************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfDiscover.vue?vue&type=script&lang=js ***! \**************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var o=s(/*! ./GroupListCard.vue */"./resources/assets/components/groups/partials/GroupListCard.vue");function a(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);"Object"===s&&e.constructor&&(s=e.constructor.name);if("Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,o=new Array(t);s{"use strict";s.r(t),s.d(t,{default:()=>a});var o=s(/*! ./GroupStatus.vue */"./resources/assets/components/groups/partials/GroupStatus.vue");const a={props:{profile:{type:Object}},data:function(){return{feed:[],ids:[],page:1,tab:"feed",initalLoad:!1,emptyFeed:!0}},components:{"group-status":o.default},mounted:function(){this.fetchFeed()},methods:{fetchFeed:function(){var e=this;axios.get("/api/v0/groups/self/feed",{params:{initial:!0}}).then((function(t){e.page++,e.feed=t.data,e.emptyFeed=0===e.feed.length,e.initalLoad=!0}))},infiniteFeed:function(e){var t=this;this.feed.length<2||this.page>5?e.complete():axios.get("/api/v0/groups/self/feed",{params:{page:this.page}}).then((function(s){if(s.data.length){var o=s.data,a=t;o.forEach((function(e){-1==a.ids.indexOf(e.id)&&(a.ids.push(e.id),a.feed.push(e))})),e.loaded(),t.page++}else e.complete()}))},switchTab:function(e){this.tab=e},gotoDiscover:function(){this.$emit("switchtab","discover")}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfGroups.vue?vue&type=script&lang=js": /*!************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfGroups.vue?vue&type=script&lang=js ***! \************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var o=s(/*! ./GroupListCard.vue */"./resources/assets/components/groups/partials/GroupListCard.vue");function a(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);"Object"===s&&e.constructor&&(s=e.constructor.name);if("Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,o=new Array(t);s{"use strict";s.r(t),s.d(t,{default:()=>o});const o={}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfNotifications.vue?vue&type=script&lang=js": /*!*******************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfNotifications.vue?vue&type=script&lang=js ***! \*******************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={data:function(){return{notifications:[],initialLoad:!1,loading:!0,page:1}},mounted:function(){this.fetchNotifications()},methods:{fetchNotifications:function(){var e=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){window._sharedData.curUser=e.data,window.App.util.navatar()})),axios.get("/api/v0/groups/self/notifications").then((function(t){var s=t.data.filter((function(e){return!("share"==e.type&&!e.status)&&(!("comment"==e.type&&!e.status)&&(!("mention"==e.type&&!e.status)&&(!("favourite"==e.type&&!e.status)&&!("follow"==e.type&&!e.account))))}));e.notifications=s}))},truncate:function(e){return e.length<=15?e:e.slice(0,15)+"..."},timeAgo:function(e){var t=Date.parse(e),s=Math.floor((new Date-t)/1e3),o=Math.floor(s/31536e3);return o>=1?o+"y":(o=Math.floor(s/604800))>=1?o+"w":(o=Math.floor(s/86400))>=1?o+"d":(o=Math.floor(s/3600))>=1?o+"h":(o=Math.floor(s/60))>=1?o+"m":Math.floor(s)+"s"},mentionUrl:function(e){return"/p/"+e.account.username+"/"+e.id},followProfile:function(e){var t=this,s=e.account.id;axios.post("/i/follow",{item:s}).then((function(e){t.notifications.map((function(e){e.account.id===s&&(e.relationship.following=!0)}))})).catch((function(e){e.response.data.message&&swal("Error",e.response.data.message,"error")}))},viewContext:function(e){switch(e.type){case"follow":return e.account.url;case"mention":case"like":case"favourite":case"comment":return e.status.url;case"tagged":return e.tagged.post_url;case"direct":return"/account/direct/t/"+e.account.id}return"/"},getProfileUrl:function(e){return 1==e.local?e.url:"/i/web/profile/_/"+e.id},getPostUrl:function(e){return 1==e.local?e.url:"/i/web/post/_/"+e.account.id+"/"+e.id}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfRemoteSearch.vue?vue&type=script&lang=js": /*!******************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfRemoteSearch.vue?vue&type=script&lang=js ***! \******************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={data:function(){return{q:void 0}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Status/GroupHeader.vue?vue&type=script&lang=js": /*!********************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Status/GroupHeader.vue?vue&type=script&lang=js ***! \********************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={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(e){return App.util.format.count(e)},statusUrl:function(e){return"/groups/"+e.gid+"/p/"+e.id},profileUrl:function(e){return"/groups/"+e.gid+"/user/"+e.account.id},timestampFormat:function(e){var t=new Date(e);return t.toDateString()+" "+t.toLocaleTimeString()},shortTimestamp:function(e){return window.App.util.format.timeAgo(e)},statusCardUsernameFormat:function(e){if(1==e.account.local)return e.account.username;var t=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,o=e.account.username,a=document.createElement("a");switch(a.href=e.account.url,a=a.hostname,t){case"@":default:return o+'@'+a+"";case"from":return o+' from '+a+"";case"custom":return o+' '+s+" "+a+""}},sendReport:function(e){var t=this,s=document.createElement("div");s.classList.add("list-group"),this.reportTypes.forEach((function(e){var t=document.createElement("button");t.classList.add("list-group-item","small"),t.innerHTML=e.title,t.onclick=function(){document.dispatchEvent(new CustomEvent("reportOption",{detail:{key:e.key,title:e.title}}))},s.appendChild(t)}));var o=document.createElement("div");o.appendChild(s),swal({title:"Report Content",icon:"warning",content:o,buttons:!1}),document.addEventListener("reportOption",(function(e){console.log(e.detail),t.showConfirmation(e.detail)}),{once:!0})},showConfirmation:function(e){var t=this;console.log(e),swal({title:"Confirmation",text:"You selected ".concat(e.title,". Do you want to proceed?"),icon:"info",buttons:!0}).then((function(s){s?axios.post("/api/v0/groups/".concat(t.status.gid,"/report/create"),{type:e.key,id:t.status.id}).then((function(e){swal("Confirmed!","Your report has been submitted.","success")})):swal("Cancelled","Your report was not submitted.","error")}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Status/ParentUnavailable.vue?vue&type=script&lang=js": /*!**************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Status/ParentUnavailable.vue?vue&type=script&lang=js ***! \**************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var o=s(/*! @/groups/partials/CommentDrawer.vue */"./resources/assets/components/groups/partials/CommentDrawer.vue");const a={props:{showCommentDrawer:{type:Boolean},permalinkMode:{type:Boolean},childContext:{type:Object},status:{type:Object},profile:{type:Object},groupId:{type:String}},components:{"comment-drawer":o.default}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/sections/Loader.vue?vue&type=script&lang=js": /*!********************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/sections/Loader.vue?vue&type=script&lang=js ***! \********************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={props:{loaded:{type:Boolean,default:!1}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/sections/Sidebar.vue?vue&type=script&lang=js": /*!*********************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/sections/Sidebar.vue?vue&type=script&lang=js ***! \*********************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var o=s(/*! @trevoreyre/autocomplete-vue */"./node_modules/@trevoreyre/autocomplete-vue/dist/autocomplete.esm.js");s(/*! @trevoreyre/autocomplete-vue/dist/style.css */"./node_modules/@trevoreyre/autocomplete-vue/dist/style.css");const a={data:function(){return{initialLoad:!1,tabs:[{name:"Your Feed",icon:"fas fa-list",path:"/groups/feed"},{name:"Discover",icon:"fas fa-compass",path:"/groups/discover"},{name:"Your Groups",icon:"fas fa-list",path:"/groups/joins"}],config:{},groups:[],profile:{},tab:null,searchQuery:void 0}},components:{autocomplete:o.default},methods:{autocompleteSearch:function(e){var t=this;return!e||e.length<2?[]:(this.searchQuery=e,e.startsWith("http")?new URL(e).hostname==location.hostname?(location.href=e,[]):[]:e.startsWith("#")?(this.$bvToast.toast(e,{title:"Hashtag detected",variant:"info",autoHideDelay:5e3}),[]):axios.post("/api/v0/groups/search/global",{q:e,v:"0.2"}).then((function(e){return t.searchLoading=!1,e.data})).catch((function(e){return 422===e.response.status&&t.$bvToast.toast(e.response.data.error.message,{title:"Cannot display search results",variant:"danger",autoHideDelay:5e3}),[]})))},getSearchResultValue:function(e){return e.name},onSearchSubmit:function(e){if(e.length<1)return[];location.href=e.url},truncateName:function(e){return e.length<24?e:e.substr(0,23)+"..."}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/partials/navbar.vue?vue&type=script&lang=js": /*!*************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/partials/navbar.vue?vue&type=script&lang=js ***! \*************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var o=s(/*! @trevoreyre/autocomplete-vue */"./node_modules/@trevoreyre/autocomplete-vue/dist/autocomplete.esm.js");s(/*! @trevoreyre/autocomplete-vue/dist/style.css */"./node_modules/@trevoreyre/autocomplete-vue/dist/style.css");function a(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);"Object"===s&&e.constructor&&(s=e.constructor.name);if("Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,o=new Array(t);s1&&void 0!==arguments[1]?arguments[1]:30;return e.length<=t?e:e.slice(0,t)+"..."},timeAgo:function(e){return window.App.util.format.timeAgo(e)},formatCount:function(e){return e?new Intl.NumberFormat("en-CA",{notation:"compact",compactDisplay:"short"}).format(e):0},logout:function(){axios.post("/logout").then((function(e){location.href="/"})).catch((function(e){location.href="/"}))},openUserInterfaceSettings:function(){event.currentTarget.blur(),this.$refs.uis.show()},toggleUi:function(e){event.currentTarget.blur(),this.uiColorScheme=e},toggleProfileLayout:function(e){event.currentTarget.blur(),this.profileLayout=e}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/MixedAlbumPresenter.vue?vue&type=script&lang=js": /*!***************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/MixedAlbumPresenter.vue?vue&type=script&lang=js ***! \***************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={props:["status"]}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/PhotoAlbumPresenter.vue?vue&type=script&lang=js": /*!***************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/PhotoAlbumPresenter.vue?vue&type=script&lang=js ***! \***************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var o=s(/*! bigpicture */"./node_modules/bigpicture/src/BigPicture.js");const a={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(e){this.$emit("togglecw")},toggleLightbox:function(e){(0,o.default)({el:e.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(e){var t=e.description;return t||"Photo was not tagged with any alt text."},keypressNavigation:function(e){var t=this.$refs.carousel;if("37"==e.keyCode){e.preventDefault();var s="backward";t.advancePage(s),t.$emit("navigation-click",s)}if("39"==e.keyCode){e.preventDefault();var o="forward";t.advancePage(o),t.$emit("navigation-click",o)}}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/PhotoPresenter.vue?vue&type=script&lang=js": /*!**********************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/PhotoPresenter.vue?vue&type=script&lang=js ***! \**********************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var o=s(/*! bigpicture */"./node_modules/bigpicture/src/BigPicture.js");const a={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(e){var t=e.media_attachments[0].description;return t||"Photo was not tagged with any alt text."},toggleContentWarning:function(e){this.$emit("togglecw")},toggleLightbox:function(e){(0,o.default)({el:e.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}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/VideoAlbumPresenter.vue?vue&type=script&lang=js": /*!***************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/VideoAlbumPresenter.vue?vue&type=script&lang=js ***! \***************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={props:["status"]}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/VideoPresenter.vue?vue&type=script&lang=js": /*!**********************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/VideoPresenter.vue?vue&type=script&lang=js ***! \**********************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={props:["status"],methods:{altText:function(e){var t=e.media_attachments[0].description;return t||"Video was not tagged with any alt text."},playOrPause:function(e){var t=e.target;1==t.getAttribute("playing")?(t.removeAttribute("playing"),t.pause()):(t.setAttribute("playing",1),t.play())},toggleContentWarning:function(e){this.$emit("togglecw")},poster:function(){var e=this.status.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/NotificationCard.vue?vue&type=script&lang=js": /*!*****************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/NotificationCard.vue?vue&type=script&lang=js ***! \*****************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var o=s(/*! jquery */"./node_modules/jquery/dist/jquery.js");function a(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);"Object"===s&&e.constructor&&(s=e.constructor.name);if("Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,o=new Array(t);s5?e.complete():axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.notificationMaxId}}).then((function(s){if(s.data.length){var o,n=s.data.filter((function(e){return!("share"==e.type&&!e.status)&&(!("comment"==e.type&&!e.status)&&(!("mention"==e.type&&!e.status)&&(!("favourite"==e.type&&!e.status)&&(!("follow"==e.type&&!e.account)&&!_.find(t.notifications,{id:e.id})))))})),r=n.map((function(e){return e.id}));t.notificationMaxId=Math.min.apply(Math,a(r)),(o=t.notifications).push.apply(o,a(n)),t.notificationCursor++,e.loaded()}else e.complete()}))},truncate:function(e){return e.length<=15?e:e.slice(0,15)+"..."},timeAgo:function(e){return window.App.util.format.timeAgo(e)},mentionUrl:function(e){return"/p/"+e.account.username+"/"+e.id},notificationPoll:function(){var e=this.notifications.length>5?15e3:12e4,t=this;setInterval((function(){axios.get("/api/pixelfed/v1/notifications").then((function(e){var s=e.data.filter((function(e){return!("share"==e.type||t.notificationMaxId>=e.id)}));if(s.length){var n,r=s.map((function(e){return e.id}));t.notificationMaxId=Math.max.apply(Math,a(r)),(n=t.notifications).unshift.apply(n,a(s));var i=new Audio("/static/beep.mp3");i.volume=.7,i.play(),o(".notification-card .far.fa-bell").addClass("fas text-danger").removeClass("far text-muted")}}))}),e)},fetchFollowRequests:function(){var e=this;1==window._sharedData.curUser.locked&&axios.get("/account/follow-requests.json").then((function(t){e.followRequests=t.data}))},redirect:function(e){window.location.href=e},notificationPreview:function(e){return e.status&&e.status.hasOwnProperty("media_attachments")&&e.status.media_attachments.length?e.status.media_attachments[0].preview_url:"/storage/no-preview.png"},getProfileUrl:function(e){return 1==e.local?e.url:"/i/web/profile/_/"+e.id},getPostUrl:function(e){if(e)return e.hasOwnProperty("local")&&1!=e.local?"/i/web/post/_/"+e.account.id+"/"+e.id:e.url},refreshNotifications:function(){this.loading=!0,this.attemptedRefresh=!0,this.fetchNotifications()}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/PostMenu.vue?vue&type=script&lang=js": /*!*********************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/PostMenu.vue?vue&type=script&lang=js ***! \*********************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var o=s(/*! jquery */"./node_modules/jquery/dist/jquery.js");const a={props:["feed","status","profile","size","modal"],data:function(){return{activeSession:!1}},mounted:function(){var e=document.querySelector("body");this.activeSession=!!e.classList.contains("loggedIn")},methods:{reportUrl:function(e){return"/i/report?type="+(e.in_reply_to?"comment":"post")+"&id="+e.id},timestampFormat:function(e){var t=new Date(e);return t.toDateString()+" "+t.toLocaleTimeString()},editUrl:function(e){return e.url+"/edit"},redirect:function(e){window.location.href=e},replyUrl:function(e){return"/p/"+this.profile.username+"/"+(e.account.id==this.profile.id?e.id:e.in_reply_to_id)},mentionUrl:function(e){return"/p/"+e.account.username+"/"+e.id},statusOwner:function(e){return parseInt(e.account.id)==parseInt(this.profile.id)},deletePost:function(){this.$emit("deletePost"),o("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(e){e.sensitive=!0,o("#mt_pid_"+e.id).modal("hide")},moderatePost:function(e,t,s){var o=e.account.username;switch(t){case"autocw":var a="Are you sure you want to enforce CW for "+o+" ?";swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":a="Are you sure you want to suspend the account of "+o+" ?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(e){0!=o("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:e.account.id}).then((function(t){swal("Success","You have successfully muted "+e.account.acct,"success")})).catch((function(e){swal("Error","Something went wrong. Please try again later.","error")}))},blockProfile:function(e){0!=o("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:e.account.id}).then((function(t){swal("Success","You have successfully blocked "+e.account.acct,"success")})).catch((function(e){swal("Error","Something went wrong. Please try again later.","error")}))},statusUrl:function(e){return 1==e.local?e.url:"/i/web/post/_/"+e.account.id+"/"+e.id},profileUrl:function(e){return 1==e.local?e.account.url:"/i/web/profile/_/"+e.account.id},closeModal:function(){o("#mt_pid_"+this.status.id).modal("hide")}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/StoryTimelineComponent.vue?vue&type=script&lang=js": /*!***********************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/StoryTimelineComponent.vue?vue&type=script&lang=js ***! \***********************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>o});const o={props:["list","scope"],data:function(){return{loading:!0,show:!0,stories:{}}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var e=this;axios.get("/api/web/stories/v1/recent").then((function(t){t.data;t.data.length?(e.stories=t.data,e.loading=!1):e.show=!1})).catch((function(t){e.loading=!1,e.$bvToast.toast("Cannot load stories. Please try again later.",{title:"Error",variant:"danger",autoHideDelay:5e3}),e.show=!1}))},showStory:function(e){var t;switch(this.scope){case"home":t="/?t=1";break;case"local":t="/?t=2";break;case"network":t="/?t=3"}window.location.href=this.stories[e].url+t},systemStory:function(){window.location.href="/i/_platform/stories/whats-new"}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/partials/ContextMenu.vue?vue&type=script&lang=js": /*!*********************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/partials/ContextMenu.vue?vue&type=script&lang=js ***! \*********************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var o=s(/*! jquery */"./node_modules/jquery/dist/jquery.js");const a={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(e,t){1==e&&(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(e,t){1==e&&(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(e,t){1==e&&(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 e=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(t){e.ctxMenuRelationship=t.data[0],e.$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 e=this.ctxMenuStatus;navigator.clipboard.writeText(e.url),this.closeModals()},ctxMenuGoToPost:function(){var e=this.ctxMenuStatus;window.location.href=this.statusUrl(e),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var e=this.ctxMenuStatus;window.location.href=this.profileUrl(e),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(e){return App.util.format.count(e)},openCtxReportOtherMenu:function(){var e=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=e,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(e){var t=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(o){o?axios.post("/i/report/",{report:e,type:"post",id:s}).then((function(e){t.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(e){swal("Oops!","There was an issue reporting this post.","error")})):t.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 e=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(t){e.feed=e.feed.filter((function(t){return t.id!=e.confirmModalIdentifer})),e.closeConfirmModal()})).catch((function(t){e.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(e,t,s){var o=this,a=(e.account.username,e.id,""),n=this;switch(t){case"addcw":a="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:t,item_id:e.id,item_type:"status"}).then((function(t){swal("Success","Successfully added content warning","success"),e.sensitive=!0,n.closeModals(),n.ctxModMenuClose()})).catch((function(e){swal("Error","Something went wrong, please try again later.","error"),n.closeModals(),n.ctxModMenuClose()}))}));break;case"remcw":a="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:t,item_id:e.id,item_type:"status"}).then((function(t){swal("Success","Successfully added content warning","success"),e.sensitive=!1,n.closeModals(),n.ctxModMenuClose()})).catch((function(e){swal("Error","Something went wrong, please try again later.","error"),n.closeModals(),n.ctxModMenuClose()}))}));break;case"unlist":a="Are you sure you want to unlist this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:t,item_id:e.id,item_type:"status"}).then((function(t){o.feed=o.feed.filter((function(t){return t.id!=e.id})),swal("Success","Successfully unlisted post","success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(e){n.closeModals(),n.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":a="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:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:t,item_id:e.id,item_type:"status"}).then((function(e){swal("Success","Successfully marked account as spammer","success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(e){n.closeModals(),n.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(e,t){0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:e.id}).then((function(t){e.reblogs_count=t.data.count,e.reblogged=!e.reblogged,e.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(e){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(e){return 1==e.account.local?e.url:"/i/web/post/_/"+e.account.id+"/"+e.id},profileUrl:function(e){return 1==e.account.local?e.account.url:"/i/web/profile/_/"+e.account.id},deletePost:function(e){var t=this;0!=o("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(e)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:e.id}).then((function(s){t.$emit("status-delete",e.id),t.closeModals()})).catch((function(e){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(e){return this.profile.id===e.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(e){return this.owner(e)||this.admin()},archivePost:function(e){var t=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+e.id+"/archive").then((function(s){t.$emit("status-delete",e.id),t.closeModals()}))},unarchivePost:function(e){var t=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+e.id+"/unarchive").then((function(e){t.closeModals()}))}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/partials/PollCard.vue?vue&type=script&lang=js": /*!******************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/partials/PollCard.vue?vue&type=script&lang=js ***! \******************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n});var o=s(/*! ./ContextMenu.vue */"./resources/assets/js/components/partials/ContextMenu.vue"),a=s(/*! jquery */"./node_modules/jquery/dist/jquery.js");const n={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":o.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var e=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(t){e.status.poll=t.data,t.data.voted&&(e.selectedIndex=t.data.own_votes[0],e.tab="voted"),e.status.poll.expired=new Date(e.status.poll.expires_at){"use strict";s.r(t),s.d(t,{default:()=>r});var o=s(/*! ./ContextMenu.vue */"./resources/assets/js/components/partials/ContextMenu.vue"),a=s(/*! ./PollCard.vue */"./resources/assets/js/components/partials/PollCard.vue"),n=s(/*! jquery */"./node_modules/jquery/dist/jquery.js");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(e){return["regular","small"].includes(e)},default:"regular"}},components:{"context-menu":o.default,"poll-card":a.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 e=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(t){var s=''.concat(t.shortcode,'');e.content=e.content.replace(":".concat(t.shortcode,":"),s)}))},methods:{formatCount:function(e){return App.util.format.count(e)},statusUrl:function(e){return 1==e.local?e.url:"/i/web/post/_/"+e.account.id+"/"+e.id},profileUrl:function(e){return 1==e.local?e.account.url:"/i/web/profile/_/"+e.account.id},timestampFormat:function(e){var t=new Date(e);return t.toDateString()+" "+t.toLocaleTimeString()},shortTimestamp:function(e){return window.App.util.format.timeAgo(e)},statusCardUsernameFormat:function(e){if(1==e.account.local)return e.account.username;var t=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,o=e.account.username,a=document.createElement("a");switch(a.href=e.account.url,a=a.hostname,t){case"@":default:return o+'@'+a+"";case"from":return o+' from '+a+"";case"custom":return o+' '+s+" "+a+""}},lightbox:function(e){window.location.href=e.media_attachments[0].url},labelRedirect:function(e){var t="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=t},likeStatus:function(e,t){if(0!=n("body").hasClass("loggedIn")){var s=e.favourites_count;e.favourited=!e.favourited,axios.post("/i/like",{item:e.id}).then((function(t){e.favourites_count=t.data.count,e.favourited=!!e.favourited})).catch((function(t){e.favourited=!!e.favourited,e.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),e.favourited&&setTimeout((function(){t.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(e,t){this.$emit("comment-focus",e)},commentSubmit:function(e,t){var s=this;this.replySending=!0;var o=e.id,a=this.replyText,n=this.config.uploader.max_caption_length;if(a.length>n)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+n+" characters or less.","error");axios.post("/i/comment",{item:o,comment:a,sensitive:this.replyNsfw}).then((function(e){s.replyText="",s.replies.push(e.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(e){return this.profile.id===e.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(e){return this.owner(e)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(e){return App.util.format.timeAgo(e)},statusDeleted:function(e){this.$emit("status-delete",e)}}}},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupDiscover.vue?vue&type=template&id=59ae719a&scoped=true": /*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupDiscover.vue?vue&type=template&id=59ae719a&scoped=true ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"group-discover-component"},[t("div",{staticClass:"row border-bottom m-0 p-0"},[t("sidebar"),e._v(" "),t("div",{staticClass:"col-12 col-md-9 px-md-0"},[e.loaded?[t("div",{staticClass:"container-fluid"},[t("div",{staticClass:"py-5"},[t("h1",[e._v("Discover")])]),e._v(" "),t("div",{staticClass:"popular row"},e._l(e.popularGroups,(function(e,s){return t("group-card",{key:s,attrs:{group:e}})})),1)])]:t("loader",{attrs:{loaded:e.loaded}})],2)],1)])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupFeed.vue?vue&type=template&id=76ae8930": /*!******************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupFeed.vue?vue&type=template&id=76ae8930 ***! \******************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"groups-home-component w-100 h-100"},[e.initialLoad?t("div",{staticClass:"row border-bottom m-0 p-0"},[t("sidebar"),e._v(" "),t("self-feed",{attrs:{profile:e.profile},on:{switchtab:e.switchTab}})],1):t("div",{staticClass:"row justify-content-center mt-5"},[t("b-spinner")],1)])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupJoins.vue?vue&type=template&id=18a132af&scoped=true": /*!*******************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupJoins.vue?vue&type=template&id=18a132af&scoped=true ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"group-joins-component"},[t("div",{staticClass:"row border-bottom m-0 p-0"},[t("sidebar"),e._v(" "),t("div",{staticClass:"col-12 col-md-9 px-0 mx-0"},[e.loaded?[t("div",{staticClass:"px-5 pt-4 pb-2"},[t("h2",{staticClass:"fw-bold"},[e._v("My Groups")]),e._v(" "),t("self-groups",{attrs:{profile:e.profile}})],1)]:t("loader",{attrs:{loaded:e.loaded}})],2)],1)])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupNotifications.vue?vue&type=template&id=4c866ce4&scoped=true": /*!***************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupNotifications.vue?vue&type=template&id=4c866ce4&scoped=true ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"group-notifications-component"},[t("div",{staticClass:"row border-bottom m-0 p-0"},[t("sidebar"),e._v(" "),t("div",{staticClass:"col-12 col-md-9 px-0 mx-0"},[e.loaded?[t("div",{staticClass:"px-5 pt-4 pb-2"},[t("h2",{staticClass:"fw-bold"},[e._v("Group Notifications")])])]:t("loader",{attrs:{loaded:e.loaded}})],2)],1)])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupSearch.vue?vue&type=template&id=43c061f2": /*!********************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/GroupSearch.vue?vue&type=template&id=43c061f2 ***! \********************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"groups-home-component w-100 h-100"},[e.initialLoad?t("div",{staticClass:"row border-bottom m-0 p-0"},[t("sidebar"),e._v(" "),t("div",{staticClass:"col-12 col-md-10"},[t("self-notifications",{attrs:{profile:e.profile}})],1)],1):t("div",{staticClass:"row justify-content-center mt-5"},[t("b-spinner")],1)])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/Groups.vue?vue&type=template&id=47288cb9": /*!***************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/Groups.vue?vue&type=template&id=47288cb9 ***! \***************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"group-component"},["home"===e.tab?t("div",[t("groups-home")],1):e._e(),e._v(" "),"createGroup"===e.tab?t("div",[t("create-group")],1):e._e(),e._v(" "),"show"===e.tab?t("div",[t("group-feed",{attrs:{"group-id":e.groupId,path:e.path}})],1):e._e()])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/CreateGroup.vue?vue&type=template&id=5172b766": /*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/CreateGroup.vue?vue&type=template&id=5172b766 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"create-group-component col-12 col-md-9",staticStyle:{height:"100vh - 51px !important",overflow:"hidden"}},[e.hide?e._e():t("div",{staticClass:"row h-100 bg-lighter"},[t("div",{staticClass:"col-12 col-md-8 border-left"},[e._m(0),e._v(" "),t("div",{staticClass:"px-2 mb-5"},[t("div",{staticClass:"mt-4"},[t("text-input",{attrs:{label:"Group Name",value:e.name,hasLimit:!0,maxLimit:e.limit.name.max,placeholder:"Add your group name",helpText:"Alphanumeric characters only, you can change this later.",largeInput:!0},on:{update:function(t){return e.handleUpdate("name",t)}}}),e._v(" "),t("hr"),e._v(" "),t("select-input",{attrs:{label:"Group Type",value:e.membership,categories:e.membershipCategories,placeholder:"Select a type",helpText:"Select the membership type, you can change this later."},on:{update:function(t){return e.handleUpdate("membership",t)}}}),e._v(" "),t("hr"),e._v(" "),t("select-input",{attrs:{label:"Group Category",value:e.category,categories:e.categories,placeholder:"Select a category",helpText:"Choose the most relevant category to improve discovery and visibility"},on:{update:function(t){return e.handleUpdate("category",t)}}}),e._v(" "),t("hr"),e._v(" "),t("text-area-input",{attrs:{label:"Group Description",value:e.description,hasLimit:!0,maxLimit:e.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(t){return e.handleUpdate("description",t)}}}),e._v(" "),t("hr"),e._v(" "),t("checkbox-input",{attrs:{label:"Adult Content",inputText:"Allow Adult Content",value:e.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."}}),e._v(" "),t("hr"),e._v(" "),t("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:e.hasConfirmed,strongText:!1},on:{update:function(t){return e.handleUpdate("hasConfirmed",t)}}}),e._v(" "),t("button",{staticClass:"btn btn-primary btn-block font-weight-bold rounded-pill mt-4",attrs:{disabled:!e.hasConfirmed},on:{click:e.createGroup}},[e._v("\n Create Group\n ")])],1)])]),e._v(" "),t("div",{staticClass:"col-12 col-md-4 bg-white"})])])},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"bg-dark p-5 mx-n3"},[t("p",{staticClass:"h1 font-weight-bold text-light mb-2"},[e._v("Create Group")]),e._v(" "),t("p",{staticClass:"text-lighter mb-0"},[e._v("Create a new federated Group that is compatible with other Pixelfed and Lemmy servers")])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/GroupFeed.vue?vue&type=template&id=61ed69a7": /*!*************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/GroupFeed.vue?vue&type=template&id=61ed69a7 ***! \*************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"group-feed-component"},[e.initalLoad?t("div",[t("div",{staticClass:"mb-3 border-bottom"},[t("div",{staticClass:"container-xl"},[t("group-banner",{attrs:{group:e.group}}),e._v(" "),t("group-header-details",{attrs:{group:e.group,isAdmin:e.isAdmin,isMember:e.isMember},on:{refresh:e.handleRefresh}}),e._v(" "),t("group-nav-tabs",{attrs:{group:e.group,isAdmin:e.isAdmin,isMember:e.isMember,atabs:e.atabs}})],1)]),e._v(" "),t("div",{staticClass:"container-xl group-feed-component-body"},[t("div",{staticClass:"row mb-5"},[t("div",{staticClass:"col-12 col-md-7 mt-3"},[e.group.self.is_member?t("div",[e.initalLoad?t("group-compose",{attrs:{profile:e.profile,"group-id":e.groupId},on:{"new-status":e.pushNewStatus}}):e._e(),e._v(" "),0==e.feed.length?t("div",{staticClass:"mt-3"},[e._m(0)]):t("div",{staticClass:"group-timeline"},[t("p",{staticClass:"font-weight-bold mb-1"},[e._v("Recent Posts")]),e._v(" "),e._l(e.feed,(function(s,o){return t("group-status",{key:"gs:"+s.id+o,attrs:{prestatus:s,profile:e.profile,"group-id":e.groupId},on:{"comment-focus":function(t){return e.commentFocus(o)},"status-delete":function(t){return e.statusDelete(o)},"likes-modal":function(t){return e.showLikesModal(o)}}})})),e._v(" "),t("b-modal",{ref:"likeBox",attrs:{size:"sm",centered:"","hide-footer":"",title:"Likes","body-class":"list-group-flush p-0"}},[t("div",{staticClass:"list-group py-1",staticStyle:{"max-height":"300px","overflow-y":"auto"}},[e._l(e.likes,(function(s,o){return t("div",{key:"modal_likes_"+o,staticClass:"list-group-item border-top-0 border-left-0 border-right-0 py-2",class:{"border-bottom-0":o+1==e.likes.length}},[t("div",{staticClass:"media align-items-center"},[t("a",{attrs:{href:s.url}},[t("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';"}})]),e._v(" "),t("div",{staticClass:"media-body"},[t("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[t("a",{staticClass:"font-weight-bold text-dark",attrs:{href:s.url}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(s.username)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),s.local?t("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(s.display_name)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t")]):t("p",{staticClass:"text-muted mb-0 text-truncate mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[t("span",{staticClass:"font-weight-bold"},[e._v(e._s(s.acct.split("@")[0]))]),t("span",{staticClass:"text-lighter"},[e._v("@"+e._s(s.acct.split("@")[1]))])])])])])})),e._v(" "),t("infinite-loading",{attrs:{distance:800,spinner:"spiral"},on:{infinite:e.infiniteLikesHandler}},[t("div",{attrs:{slot:"no-more"},slot:"no-more"}),e._v(" "),t("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),e._v(" "),e.feed.length>2?t("div",{attrs:{distance:800}},[t("infinite-loading",{on:{infinite:e.infiniteFeed}},[t("div",{attrs:{slot:"no-more"},slot:"no-more"}),e._v(" "),t("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):e._e()],2)],1):t("div",[e._m(1)])]),e._v(" "),t("div",{staticClass:"col-12 col-md-5"},[t("group-info-card",{attrs:{group:e.group}})],1)]),e._v(" "),t("search-modal",{ref:"searchModal",attrs:{group:e.group,profile:e.profile}}),e._v(" "),t("invite-modal",{ref:"inviteModal",attrs:{group:e.group,profile:e.profile}})],1)]):t("div",[t("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[e._v("Loading...")])])])},a=[function(){var e=this._self._c;return e("div",{staticClass:"card card-body shadow-none border d-flex align-items-center justify-content-center",staticStyle:{height:"200px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[this._v("No posts yet!")])])},function(){var e=this._self._c;return e("div",{staticClass:"card card-body mt-3 shadow-none border d-flex align-items-center justify-content-center",staticStyle:{height:"100px"}},[e("p",{staticClass:"lead mb-0"},[this._v("Join to participate in this group.")])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/GroupsHome.vue?vue&type=template&id=4a857f59": /*!**************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/GroupsHome.vue?vue&type=template&id=4a857f59 ***! \**************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"groups-home-component w-100 h-100"},[e.initialLoad?t("div",{staticClass:"row border-bottom m-0 p-0"},[t("div",{staticClass:"col-2 shadow",staticStyle:{height:"100vh",background:"#fff",top:"51px",overflow:"hidden","z-index":"1",position:"sticky"}},[t("div",{staticClass:"p-1"},[e._m(0),e._v(" "),t("div",{staticClass:"mb-3"},[t("autocomplete",{ref:"autocomplete",attrs:{search:e.autocompleteSearch,placeholder:"Search groups by name","aria-label":"Search groups by name","get-result-value":e.getSearchResultValue,debounceTime:700},on:{submit:e.onSearchSubmit},scopedSlots:e._u([{key:"result",fn:function(s){var o=s.result,a=s.props;return[t("li",e._b({staticClass:"autocomplete-result"},"li",a,!1),[t("div",{staticClass:"media align-items-center"},[o.local&&o.metadata&&o.metadata.hasOwnProperty("header")&&o.metadata.header.hasOwnProperty("url")?t("img",{attrs:{src:o.metadata.header.url,width:"32",height:"32"}}):t("div",{staticClass:"icon-placeholder"},[t("i",{staticClass:"fal fa-user-friends"})]),e._v(" "),t("div",{staticClass:"media-body text-truncate mr-3"},[t("p",{staticClass:"result-name mb-n1 font-weight-bold"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.truncateName(o.name))+"\n\t\t\t\t\t\t\t\t\t\t\t"),o.verified?t("span",{staticClass:"fa-stack ml-n2",attrs:{title:"Verified Group","data-toggle":"tooltip"}},[t("i",{staticClass:"fas fa-circle fa-stack-1x fa-lg",staticStyle:{color:"#22a7f0cc","font-size":"18px"}}),e._v(" "),t("i",{staticClass:"fas fa-check fa-stack-1x text-white",staticStyle:{"font-size":"10px"}})]):e._e()]),e._v(" "),t("p",{staticClass:"mb-0 text-muted",staticStyle:{"font-size":"10px"}},[o.local?e._e():t("span",{attrs:{title:"Remote Group"}},[t("i",{staticClass:"far fa-globe"})]),e._v(" "),o.local?e._e():t("span",[e._v("·")]),e._v(" "),t("span",{staticClass:"font-weight-bold"},[e._v(e._s(o.member_count)+" members")])])])])])]}}],null,!1,2331368480)})],1),e._v(" "),t("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"feed"==e.tab},on:{click:function(t){return e.switchTab("feed")}}},[e._m(1),e._v(" "),t("div",{staticClass:"group-nav-btn-name"},[e._v("\n\t\t\t\t\t\tYour Feed\n\t\t\t\t\t")])]),e._v(" "),t("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"discover"==e.tab},on:{click:function(t){return e.switchTab("discover")}}},[e._m(2),e._v(" "),t("div",{staticClass:"group-nav-btn-name"},[e._v("\n\t\t\t\t\t\tDiscover\n\t\t\t\t\t")])]),e._v(" "),t("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"mygroups"==e.tab},on:{click:function(t){return e.switchTab("mygroups")}}},[e._m(3),e._v(" "),t("div",{staticClass:"group-nav-btn-name"},[e._v("\n\t\t\t\t\t\tMy Groups\n\t\t\t\t\t")])]),e._v(" "),t("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"notifications"==e.tab},on:{click:function(t){return e.switchTab("notifications")}}},[e._m(4),e._v(" "),t("div",{staticClass:"group-nav-btn-name"},[e._v("\n\t\t\t\t\t\tYour Notifications\n\t\t\t\t\t")])]),e._v(" "),t("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"remotesearch"==e.tab},on:{click:function(t){return e.switchTab("remotesearch")}}},[e._m(5),e._v(" "),t("div",{staticClass:"group-nav-btn-name"},[e._v("\n\t\t\t\t\t\tFind a remote group\n\t\t\t\t\t")])]),e._v(" "),e.config&&e.config.limits.user.create.new?t("button",{staticClass:"btn btn-primary btn-block rounded-pill font-weight-bold mt-3",attrs:{disabled:"creategroup"==e.tab},on:{click:function(t){return e.switchTab("creategroup")}}},[t("i",{staticClass:"fas fa-plus mr-2"}),e._v(" Create New Group\n\t\t\t\t")]):e._e(),e._v(" "),t("hr"),e._v(" "),e._l(e.groups,(function(s){return t("div",{staticClass:"ml-2"},[t("div",{staticClass:"card shadow-sm border text-decoration-none text-dark"},[s.metadata&&s.metadata.hasOwnProperty("header")?t("img",{staticClass:"card-img-top",staticStyle:{width:"100%",height:"auto","object-fit":"cover","max-height":"160px"},attrs:{src:s.metadata.header.url}}):t("div",{staticClass:"bg-primary",staticStyle:{width:"100%",height:"160px"}}),e._v(" "),t("div",{staticClass:"card-body"},[t("div",{staticClass:"lead font-weight-bold d-flex align-items-top",staticStyle:{height:"60px"}},[e._v("\n\t\t\t\t\t\t\t\t"+e._s(s.name)+"\n\t\t\t\t\t\t\t\t"),s.verified?t("span",{staticClass:"fa-stack ml-n2 mt-n2"},[t("i",{staticClass:"fas fa-circle fa-stack-1x fa-lg",staticStyle:{color:"#22a7f0cc","font-size":"18px"}}),e._v(" "),t("i",{staticClass:"fas fa-check fa-stack-1x text-white",staticStyle:{"font-size":"10px"}})]):e._e()]),e._v(" "),t("div",{staticClass:"text-muted font-weight-light d-flex justify-content-between"},[t("span",[e._v(e._s(s.member_count)+" Members")]),e._v(" "),t("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"}},[e._v(e._s(s.self.role))])]),e._v(" "),t("hr"),e._v(" "),t("p",{staticClass:"mb-0"},[t("a",{staticClass:"btn btn-light btn-block border rounded-lg font-weight-bold",attrs:{href:s.url}},[e._v("View Group")])])])])])}))],2)]),e._v(" "),t("keep-alive",[t("transition",{attrs:{name:"fade"}},["feed"==e.tab?t("self-feed",{attrs:{profile:e.profile},on:{switchtab:e.switchTab}}):e._e(),e._v(" "),"discover"==e.tab?t("self-discover",{attrs:{profile:e.profile}}):e._e(),e._v(" "),"notifications"==e.tab?t("self-notifications",{attrs:{profile:e.profile}}):e._e(),e._v(" "),"invitations"==e.tab?t("self-invitations",{attrs:{profile:e.profile}}):e._e(),e._v(" "),"remotesearch"==e.tab?t("self-remote-search",{attrs:{profile:e.profile}}):e._e(),e._v(" "),"mygroups"==e.tab?t("self-groups",{attrs:{profile:e.profile}}):e._e(),e._v(" "),"creategroup"==e.tab?t("create-group",{attrs:{profile:e.profile}}):e._e(),e._v(" "),"gsearch"==e.tab?t("div",[t("div",{staticClass:"col-12 px-5"},[t("div",{staticClass:"my-4"},[t("p",{staticClass:"h1 font-weight-bold mb-1"},[e._v("Group Search")]),e._v(" "),t("p",{staticClass:"lead text-muted mb-0"},[e._v("Search and explore groups.")])]),e._v(" "),t("div",{staticClass:"media align-items-center text-lighter"},[t("i",{staticClass:"far fa-chevron-left fa-lg mr-3"}),e._v(" "),t("div",{staticClass:"media-body"},[t("p",{staticClass:"lead mb-0"},[e._v("Use the search bar on the side menu")])])])])]):e._e()],1)],1)],1):t("div",{staticClass:"row justify-content-center mt-5"},[t("b-spinner")],1)])},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"d-flex justify-content-between align-items-center py-3"},[t("p",{staticClass:"h2 font-weight-bold mb-0"},[e._v("Groups")]),e._v(" "),t("a",{staticClass:"btn btn-light px-2 rounded-circle",attrs:{href:"/settings/home"}},[t("i",{staticClass:"fas fa-cog fa-lg"})])])},function(){var e=this._self._c;return e("div",{staticClass:"group-nav-btn-icon"},[e("i",{staticClass:"fas fa-list"})])},function(){var e=this._self._c;return e("div",{staticClass:"group-nav-btn-icon"},[e("i",{staticClass:"fas fa-compass"})])},function(){var e=this._self._c;return e("div",{staticClass:"group-nav-btn-icon"},[e("i",{staticClass:"fas fa-list"})])},function(){var e=this._self._c;return e("div",{staticClass:"group-nav-btn-icon"},[e("i",{staticClass:"far fa-bell"})])},function(){var e=this._self._c;return e("div",{staticClass:"group-nav-btn-icon"},[e("i",{staticClass:"fas fa-search-plus"})])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CommentDrawer.vue?vue&type=template&id=10ba9939": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CommentDrawer.vue?vue&type=template&id=10ba9939 ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e,t,s=this,o=s._self._c;return o("div",{staticClass:"comment-drawer-component"},[o("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:s.handleImageUpload}}),s._v(" "),s.hide?o("div"):s.isLoaded?o("div",{staticClass:"border-top"},[o("div",{staticClass:"my-3"},s._l(s.feed,(function(e,t){return o("div",{key:"cdf"+t+e.id,staticClass:"media media-status align-items-top"},[s.replyChildId==e.id?o("a",{staticClass:"comment-border-link",attrs:{href:"#comment-1"},on:{click:function(t){return t.preventDefault(),s.replyToChild(e)}}},[o("span",{staticClass:"sr-only"},[s._v("Jump to comment-"+s._s(t))])]):s._e(),s._v(" "),o("a",{attrs:{href:e.account.url}},[o("img",{staticClass:"rounded-circle media-avatar border",attrs:{src:e.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),s._v(" "),o("div",{staticClass:"media-body"},[e.media_attachments.length?o("div",[o("p",{staticClass:"media-body-comment-username"},[o("a",{attrs:{href:e.account.url}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),s._v(" "),o("div",{staticClass:"bh-comment",on:{click:function(t){return s.lightbox(e)}}},[o("blur-hash-image",{staticClass:"img-fluid rounded-lg border shadow",attrs:{width:s.blurhashWidth(e),height:s.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:s.getMediaSource(e)}})],1)]):o("div",{staticClass:"media-body-comment"},[o("p",{staticClass:"media-body-comment-username"},[o("a",{attrs:{href:e.account.url}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),s._v(" "),o("read-more",{attrs:{status:e}})],1),s._v(" "),o("p",{staticClass:"media-body-reactions"},[s.profile?o("a",{staticClass:"font-weight-bold",class:[e.favourited?"text-primary":"text-muted"],attrs:{href:"#"},on:{click:function(o){return o.preventDefault(),s.likeComment(e,t,o)}}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]):s._e(),s._v(" "),o("span",{staticClass:"mx-1"},[s._v("·")]),s._v(" "),o("a",{staticClass:"text-muted font-weight-bold",attrs:{href:"#"},on:{click:function(o){return o.preventDefault(),s.replyToChild(e,t)}}},[s._v("Reply")]),s._v(" "),s.profile?o("span",{staticClass:"mx-1"},[s._v("·")]):s._e(),s._v(" "),s._o(o("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url}},[s._v("\n\t\t\t\t\t\t\t\t"+s._s(s.shortTimestamp(e.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cdf"+t+e.id),s._v(" "),s.profile&&e.account.id===s.profile.id?o("span",[o("span",{staticClass:"mx-1"},[s._v("·")]),s._v(" "),o("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),s.deleteComment(t)}}},[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==t&&e.hasOwnProperty("children")&&e.children.hasOwnProperty("feed")&&e.children.feed.length?o("div",s._l(e.children.feed,(function(e,t){return o("comment-post",{key:"scp_"+t+"_"+e.id,attrs:{status:e,profile:s.profile,commentBorderArrow:!0}})})),1):s._e(),s._v(" "),s.replyChildIndex==t&&e.hasOwnProperty("children")&&e.children.hasOwnProperty("can_load_more")&&1==e.children.can_load_more?o("a",{staticClass:"text-muted font-weight-bold mt-1 mb-0",staticStyle:{"font-size":"13px"},attrs:{href:"#",disabled:s.loadingChildComments},on:{click:function(o){return o.preventDefault(),s.loadMoreChildComments(e,t)}}},[o("div",{staticClass:"comment-border-arrow"}),s._v(" "),o("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!==t&&e.hasOwnProperty("children")&&e.children.hasOwnProperty("can_load_more")&&1==e.children.can_load_more&&e.reply_count>0&&!s.loadingChildComments?o("a",{staticClass:"text-muted font-weight-bold mt-1 mb-0",staticStyle:{"font-size":"13px"},attrs:{href:"#",disabled:s.loadingChildComments},on:{click:function(o){return o.preventDefault(),s.replyToChild(e,t)}}},[o("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==e.id?o("div",{staticClass:"mt-3 mb-3 d-flex align-items-top reply-form child-reply-form"},[o("div",{staticClass:"comment-border-arrow"}),s._v(" "),o("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?o("div",{staticClass:"w-100"},[o("p",{staticClass:"font-weight-light mb-1"},[s._v("Uploading image ...")]),s._v(" "),o("div",{staticClass:"progress rounded-pill",staticStyle:{height:"10px"}},[o("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"}})])]):o("div",{staticClass:"reply-form-input"},[o("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(e){return!e.type.indexOf("key")&&s._k(e.keyCode,"enter",13,e.key,"Enter")?null:s.storeChildComment(t)},input:function(e){e.target.composing||(s.childReplyContent=e.target.value)}}})])]):s._e()])])})),0),s._v(" "),s.canLoadMore?o("button",{staticClass:"btn btn-link btn-sm text-muted mb-2",attrs:{disabled:s.isLoadingMore},on:{click:s.loadMoreComments}},[s.isLoadingMore?o("div",{staticClass:"spinner-border spinner-border-sm text-muted",attrs:{role:"status"}},[o("span",{staticClass:"sr-only"},[s._v("Loading...")])]):o("span",[s._v("\n\t\t\t\t\tLoad more comments ...\n\t\t\t\t")])]):s._e(),s._v(" "),s.profile&&s.canReply?o("div",{staticClass:"mt-3 mb-n3"},[o("div",{staticClass:"d-flex align-items-top reply-form cdrawer-reply-form"},[o("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?o("div",{staticClass:"w-100"},[o("p",{staticClass:"font-weight-light small text-muted mb-1"},[s._v("Uploading image ...")]),s._v(" "),o("div",{staticClass:"progress rounded-pill",staticStyle:{height:"10px"}},[o("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"}})])]):o("div",{staticClass:"w-100"},[o("div",{staticClass:"reply-form-input"},[o("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(e){e.target.composing||(s.replyContent=e.target.value)}}}),s._v(" "),o("div",{staticClass:"reply-form-input-actions"},[o("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:s.uploadImage}},[o("i",{staticClass:"far fa-image fa-lg"})])])]),s._v(" "),o("div",{staticClass:"d-flex justify-content-between reply-form-menu"},[o("div",{staticClass:"char-counter"},[o("span",[s._v(s._s(null!==(e=null===(t=s.replyContent)||void 0===t?void 0:t.length)&&void 0!==e?e:0))]),s._v(" "),o("span",[s._v("/")]),s._v(" "),o("span",[s._v("500")])])])]),s._v(" "),o("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()]):o("div",{staticClass:"border-top d-flex justify-content-center py-3"},[s._m(0)]),s._v(" "),o("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?o("div",{on:{click:s.hideLightbox}},[o("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:s.lightboxStatus.url}})]):s._e()])],1)},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"text-center"},[t("div",{staticClass:"spinner-border text-lighter",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[e._v("Loading...")])]),e._v(" "),t("p",{staticClass:"text-muted"},[e._v("Loading Comments ...")])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CommentPost.vue?vue&type=template&id=724e9568": /*!************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CommentPost.vue?vue&type=template&id=724e9568 ***! \************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"comment-post-component"},[t("div",{staticClass:"media media-status align-items-top mt-3"},[e.commentBorderArrow?t("div",{staticClass:"comment-border-arrow"}):e._e(),e._v(" "),t("a",{attrs:{href:e.status.account.url}},[t("img",{staticClass:"rounded-circle media-avatar border",attrs:{src:e.status.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),t("div",{staticClass:"media-body"},[e.status.media_attachments.length?t("div",[t("p",{staticClass:"media-body-comment-username"},[t("a",{attrs:{href:e.status.account.url}},[e._v("\n\t\t\t\t\t\t"+e._s(e.status.account.acct)+"\n\t\t\t\t\t")])]),e._v(" "),t("div",{staticClass:"bh-comment",on:{click:function(t){return e.lightbox(e.status)}}},[t("blur-hash-image",{staticClass:"img-fluid rounded-lg border shadow",attrs:{width:e.blurhashWidth(e.status),height:e.blurhashHeight(e.status),punch:1,hash:e.status.media_attachments[0].blurhash,src:e.getMediaSource(e.status)}})],1)]):t("div",{staticClass:"media-body-comment"},[t("p",{staticClass:"media-body-comment-username"},[t("a",{attrs:{href:e.status.account.url}},[e._v("\n\t\t\t\t\t\t"+e._s(e.status.account.acct)+"\n\t\t\t\t\t")])]),e._v(" "),t("read-more",{attrs:{status:e.status}})],1),e._v(" "),t("p",{staticClass:"media-body-reactions"},[e.profile?t("a",{staticClass:"font-weight-bold",class:[e.status.favourited?"text-primary":"text-muted"],attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.likeComment(e.status,e.index,t)}}},[e._v("\n\t\t\t\t\t\t"+e._s(e.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t")]):e._e(),e._v(" "),e.profile?t("span",{staticClass:"mx-1"},[e._v("·")]):e._e(),e._v(" "),e._m(0),e._v(" "),e.profile&&e.status.account.id===e.profile.id?t("span",[t("span",{staticClass:"mx-1"},[e._v("·")]),e._v(" "),t("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.deleteComment(e.index)}}},[e._v("\n\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t")])]):e._e()])])])])},a=[function(){var e=this;return(0,e._self._c)("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.status.url}},[e._v("\n\t\t\t\t\t"+e._s(e.shortTimestamp(e.status.created_at))+"\n\t\t\t\t")])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/ContextMenu.vue?vue&type=template&id=5f20dc12": /*!************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/ContextMenu.vue?vue&type=template&id=5f20dc12 ***! \************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"context-menu-component modal-stack"},[t("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[t("div",{staticClass:"list-group text-center"},["archived"!==e.status.visibility?t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.ctxMenuGoToPost()}}},[e._v("View Post")]):e._e(),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.ctxMenuCopyLink()}}},[e._v("Copy Link")]),e._v(" "),e.status&&e.status.account.id!=e.profile.id?t("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(t){return e.ctxMenuReportPost()}}},[e._v("Report")]):e._e(),e._v(" "),e.status&&(e.profile.is_admin||e.profile.id==e.status.account.id)&&"archived"!==e.status.visibility?t("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(t){return e.deletePost(e.status)}}},[e._v("Delete")]):e._e(),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(t){return e.closeCtxMenu()}}},[e._v("Cancel")])])]),e._v(" "),t("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"}},[t("div",{staticClass:"list-group text-center"},[t("p",{staticClass:"py-2 px-3 mb-0"}),t("div",{staticClass:"text-center font-weight-bold text-danger"},[e._v("Moderation Tools")]),e._v(" "),t("div",{staticClass:"small text-center text-muted"},[e._v("Select one of the following options")]),e._v(" "),t("p"),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.moderatePost(e.status,"unlist")}}},[e._v("Unlist from Timelines")]),e._v(" "),e.status.sensitive?t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.moderatePost(e.status,"remcw")}}},[e._v("Remove Content Warning")]):t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.moderatePost(e.status,"addcw")}}},[e._v("Add Content Warning")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.moderatePost(e.status,"spammer")}}},[e._v("\n\t\t\t\tMark as Spammer"),t("br"),e._v(" "),t("span",{staticClass:"small"},[e._v("Unlist + CW existing and future posts")])]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(t){return e.ctxModMenuClose()}}},[e._v("Cancel")])])]),e._v(" "),t("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"}},[t("div",{staticClass:"list-group text-center"},[t("p",{staticClass:"py-2 px-3 mb-0"}),t("div",{staticClass:"text-center font-weight-bold text-danger"},[e._v("Moderation Tools")]),e._v(" "),t("div",{staticClass:"small text-center text-muted"},[e._v("Select one of the following options")]),e._v(" "),t("p"),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.confirmModal()}}},[e._v("Unlist Posts")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.confirmModal()}}},[e._v("Moderation Log")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(t){return e.ctxModOtherMenuClose()}}},[e._v("Cancel")])])]),e._v(" "),t("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"}},[t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.ctxMenuCopyLink()}}},[e._v("Copy Link")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(t){return e.closeCtxShareMenu()}}},[e._v("Cancel")])]),e._v(" "),t("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[t("div",[t("div",{staticClass:"form-group"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.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:e.ctxEmbedPayload},on:{input:function(t){t.target.composing||(e.ctxEmbedPayload=t.target.value)}}})]),e._v(" "),t("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[t("div",{staticClass:"form-check mr-3"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==e.ctxEmbedCompactMode},domProps:{checked:Array.isArray(e.ctxEmbedShowCaption)?e._i(e.ctxEmbedShowCaption,null)>-1:e.ctxEmbedShowCaption},on:{change:function(t){var s=e.ctxEmbedShowCaption,o=t.target,a=!!o.checked;if(Array.isArray(s)){var n=e._i(s,null);o.checked?n<0&&(e.ctxEmbedShowCaption=s.concat([null])):n>-1&&(e.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else e.ctxEmbedShowCaption=a}}}),e._v(" "),t("label",{staticClass:"form-check-label font-weight-light"},[e._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),e._v(" "),t("div",{staticClass:"form-check mr-3"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==e.ctxEmbedCompactMode},domProps:{checked:Array.isArray(e.ctxEmbedShowLikes)?e._i(e.ctxEmbedShowLikes,null)>-1:e.ctxEmbedShowLikes},on:{change:function(t){var s=e.ctxEmbedShowLikes,o=t.target,a=!!o.checked;if(Array.isArray(s)){var n=e._i(s,null);o.checked?n<0&&(e.ctxEmbedShowLikes=s.concat([null])):n>-1&&(e.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else e.ctxEmbedShowLikes=a}}}),e._v(" "),t("label",{staticClass:"form-check-label font-weight-light"},[e._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),e._v(" "),t("div",{staticClass:"form-check"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.ctxEmbedCompactMode)?e._i(e.ctxEmbedCompactMode,null)>-1:e.ctxEmbedCompactMode},on:{change:function(t){var s=e.ctxEmbedCompactMode,o=t.target,a=!!o.checked;if(Array.isArray(s)){var n=e._i(s,null);o.checked?n<0&&(e.ctxEmbedCompactMode=s.concat([null])):n>-1&&(e.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else e.ctxEmbedCompactMode=a}}}),e._v(" "),t("label",{staticClass:"form-check-label font-weight-light"},[e._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),e._v(" "),t("hr"),e._v(" "),t("button",{class:e.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:e.copiedEmbed},on:{click:e.ctxCopyEmbed}},[e._v(e._s(e.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),e._v(" "),t("p",{staticClass:"mb-0 px-2 small text-muted"},[e._v("By using this embed, you agree to our "),t("a",{attrs:{href:"/site/terms"}},[e._v("Terms of Use")])])])]),e._v(" "),t("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[t("p",{staticClass:"py-2 px-3 mb-0"}),t("div",{staticClass:"text-center font-weight-bold text-danger"},[e._v("Report")]),e._v(" "),t("div",{staticClass:"small text-center text-muted"},[e._v("Select one of the following options")]),e._v(" "),t("p"),e._v(" "),t("div",{staticClass:"list-group text-center"},[t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("spam")}}},[e._v("Spam")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("sensitive")}}},[e._v("Sensitive Content")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("abusive")}}},[e._v("Abusive or Harmful")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.openCtxReportOtherMenu()}}},[e._v("Other")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(t){return e.ctxReportMenuGoBack()}}},[e._v("Cancel")])])]),e._v(" "),t("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"}},[t("p",{staticClass:"py-2 px-3 mb-0"}),t("div",{staticClass:"text-center font-weight-bold text-danger"},[e._v("Report")]),e._v(" "),t("div",{staticClass:"small text-center text-muted"},[e._v("Select one of the following options")]),e._v(" "),t("p"),e._v(" "),t("div",{staticClass:"list-group text-center"},[t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("underage")}}},[e._v("Underage Account")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("copyright")}}},[e._v("Copyright Infringement")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("impersonation")}}},[e._v("Impersonation")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("scam")}}},[e._v("Scam or Fraud")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(t){return e.ctxReportOtherMenuGoBack()}}},[e._v("Cancel")])])]),e._v(" "),t("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[t("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[t("div",[e._v(e._s(this.confirmModalTitle))])]),e._v(" "),t("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[t("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(t){return t.preventDefault(),e.confirmModalCancel()}}},[e._v("Cancel")]),e._v(" "),t("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),e.confirmModalConfirm()}}},[e._v("Confirm")])])])],1)},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/CheckboxInput.vue?vue&type=template&id=6434853f": /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/CheckboxInput.vue?vue&type=template&id=6434853f ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-sm-3"},[t("label",{staticClass:"col-form-label text-left"},[e._v(e._s(e.label))])]),e._v(" "),t("div",{staticClass:"col-sm-9"},[t("div",{staticClass:"form-check"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.value)?e._i(e.value,null)>-1:e.value},on:{change:function(t){var s=e.value,o=t.target,a=!!o.checked;if(Array.isArray(s)){var n=e._i(s,null);o.checked?n<0&&(e.value=s.concat([null])):n>-1&&(e.value=s.slice(0,n).concat(s.slice(n+1)))}else e.value=a}}}),e._v(" "),t("label",{staticClass:"form-check-label ml-1",class:[e.strongText?"font-weight-bold text-capitalize text-dark":"small text-muted"]},[e._v("\n "+e._s(e.inputText)+"\n ")])]),e._v(" "),e.helpText?t("div",{staticClass:"help-text small text-muted d-flex flex-row justify-content-between gap-3"},[e.helpText?t("div",[e._v(e._s(e.helpText))]):e._e()]):e._e()])])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/SelectInput.vue?vue&type=template&id=7c335426": /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/SelectInput.vue?vue&type=template&id=7c335426 ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-sm-3"},[t("label",{staticClass:"col-form-label text-left"},[e._v(e._s(e.label))])]),e._v(" "),t("div",{staticClass:"col-sm-9"},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"custom-select",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.value=t.target.multiple?s:s[0]}}},[t("option",{attrs:{value:"",selected:"",disabled:""}},[e._v(e._s(e.placeholder))]),e._v(" "),e._l(e.categories,(function(s){return t("option",{domProps:{value:s.value}},[e._v(e._s(s.key))])}))],2),e._v(" "),e.helpText||e.hasLimit?t("div",{staticClass:"help-text small text-muted d-flex flex-row justify-content-between gap-3"},[e.helpText?t("div",[e._v(e._s(e.helpText))]):e._e(),e._v(" "),e.hasLimit?t("div",{staticClass:"font-weight-bold text-dark"},[e._v("\n "+e._s(e.value?e.value.length:0)+"/"+e._s(e.maxLimit)+"\n ")]):e._e()]):e._e()])])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/TextAreaInput.vue?vue&type=template&id=5bdd0f88": /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/TextAreaInput.vue?vue&type=template&id=5bdd0f88 ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-sm-3"},[t("label",{staticClass:"col-form-label text-left"},[e._v(e._s(e.label))])]),e._v(" "),t("div",{staticClass:"col-sm-9"},[e.hasLimit?t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"form-control",class:{"form-control-lg":e.largeInput},staticStyle:{resize:"none"},attrs:{type:"text",placeholder:e.placeholder,maxlength:e.maxLimit,rows:e.rows},domProps:{value:e.value},on:{input:function(t){t.target.composing||(e.value=t.target.value)}}}):t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"form-control",class:{"form-control-lg":e.largeInput},staticStyle:{resize:"none"},attrs:{type:"text",placeholder:e.placeholder,rows:e.rows},domProps:{value:e.value},on:{input:function(t){t.target.composing||(e.value=t.target.value)}}}),e._v(" "),e.helpText||e.hasLimit?t("div",{staticClass:"help-text small text-muted d-flex flex-row justify-content-between gap-3"},[e.helpText?t("div",[e._v(e._s(e.helpText))]):e._e(),e._v(" "),e.hasLimit?t("div",{staticClass:"font-weight-bold text-dark"},[e._v("\n "+e._s(e.value?e.value.length:0)+"/"+e._s(e.maxLimit)+"\n ")]):e._e()]):e._e()])])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/TextInput.vue?vue&type=template&id=ce80f9d6": /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/CreateForm/TextInput.vue?vue&type=template&id=ce80f9d6 ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"form-group row"},[t("div",{staticClass:"col-sm-3"},[t("label",{staticClass:"col-form-label text-left"},[e._v(e._s(e.label))])]),e._v(" "),t("div",{staticClass:"col-sm-9"},[e.hasLimit?t("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"form-control",class:{"form-control-lg":e.largeInput},attrs:{type:"text",placeholder:e.placeholder,maxlength:e.maxLimit},domProps:{value:e.value},on:{input:function(t){t.target.composing||(e.value=t.target.value)}}}):t("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"form-control",class:{"form-control-lg":e.largeInput},attrs:{type:"text",placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){t.target.composing||(e.value=t.target.value)}}}),e._v(" "),e.helpText||e.hasLimit?t("div",{staticClass:"help-text small text-muted d-flex flex-row justify-content-between gap-3"},[e.helpText?t("div",[e._v(e._s(e.helpText))]):e._e(),e._v(" "),e.hasLimit?t("div",{staticClass:"font-weight-bold text-dark"},[e._v("\n "+e._s(e.value?e.value.length:0)+"/"+e._s(e.maxLimit)+"\n ")]):e._e()]):e._e()])])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupCard.vue?vue&type=template&id=4a0abf90&scoped=true": /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupCard.vue?vue&type=template&id=4a0abf90&scoped=true ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"col-12 col-md-6 col-xl-4 group-card"},[t("div",{staticClass:"group-card-inner"},[e.group.metadata&&e.group.metadata.hasOwnProperty("header")?t("img",{staticClass:"group-header-img",attrs:{src:e.group.metadata.header.url}}):t("div",{staticClass:"group-header-img",class:{compact:e.compact}},[t("div",{staticClass:"bg-light d-flex align-items-center justify-content-center rounded",staticStyle:{width:"100%",height:"100%"}})]),e._v(" "),t("div",{staticClass:"group-card-inner-copy"},[t("p",{staticClass:"font-weight-bold mb-0 text-dark",staticStyle:{"font-size":"16px"}},[e._v("\n "+e._s(e.truncate(e.group.name||"Untitled Group",e.titleLength))+"\n ")]),e._v(" "),t("p",{staticClass:"text-muted mb-1",staticStyle:{"font-size":"12px"}},[e._v("\n "+e._s(e.truncate(e.group.short_description,e.descriptionLength))+"\n ")]),e._v(" "),e.showStats?t("p",{staticClass:"mb-0 small text-lighter"},[t("span",[t("i",{staticClass:"fal fa-users"}),e._v(" "),t("span",{staticClass:"small font-weight-bold"},[e._v(e._s(e.prettyCount(e.group.member_count)))])]),e._v(" "),e.group.local?e._e():t("span",{staticClass:"remote-label ml-3"},[t("i",{staticClass:"fal fa-globe"}),e._v(" Remote\n ")])]):e._e()]),e._v(" "),t("div",{staticClass:"group-card-inner-foaf"}),e._v(" "),t("div",{staticClass:"group-card-inner-cta"},[t("router-link",{staticClass:"btn btn-light btn-block font-weight-bold",attrs:{to:"/groups/".concat(e.group.id)}},[e._v("\n Join Group\n ")])],1)])])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupCompose.vue?vue&type=template&id=dd9672cc": /*!*************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupCompose.vue?vue&type=template&id=dd9672cc ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"group-compose-form"},[t("input",{ref:"photoInput",staticClass:"d-none file-input",attrs:{id:"photoInput",type:"file",accept:"image/jpeg,image/png"},on:{change:e.handlePhotoChange}}),e._v(" "),t("input",{ref:"videoInput",staticClass:"d-none file-input",attrs:{id:"videoInput",type:"file",accept:"video/mp4"},on:{change:e.handleVideoChange}}),e._v(" "),t("div",{staticClass:"card card-body border mb-3 shadow-sm rounded-lg"},[t("div",{staticClass:"media align-items-top"},[e.profile?t("img",{staticClass:"rounded-circle border mr-3",attrs:{src:e.profile.avatar,width:"42px",height:"42px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}):e._e(),e._v(" "),t("div",{staticClass:"media-body"},[t("div",{staticClass:"d-block",staticStyle:{"min-height":"80px"}},[e.isUploading?t("div",{staticClass:"w-100"},[t("p",{staticClass:"font-weight-light mb-1"},[e._v("Uploading media ...")]),e._v(" "),t("div",{staticClass:"progress rounded-pill",staticStyle:{height:"4px"}},[t("div",{staticClass:"progress-bar",style:{width:e.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":e.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):t("div",{staticClass:"form-group mb-3"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.composeText,expression:"composeText"}],staticClass:"form-control",class:{"form-control-lg":!e.composeText||e.composeText.length<40,"rounded-pill":!e.composeText||e.composeText.length<40,"bg-light":!e.composeText||e.composeText.length<40,"border-0":!e.composeText||e.composeText.length<40},staticStyle:{resize:"none"},attrs:{rows:!e.composeText||e.composeText.length<40?1:5,placeholder:e.placeholder},domProps:{value:e.composeText},on:{input:function(t){t.target.composing||(e.composeText=t.target.value)}}}),e._v(" "),e.composeText?t("div",{staticClass:"small text-muted mt-1",staticStyle:{"min-height":"20px"}},[t("span",{staticClass:"float-right font-weight-bold"},[e._v("\n\t\t\t\t\t\t\t\t"+e._s(e.composeText?e.composeText.length:0)+"/500\n\t\t\t\t\t\t\t")])]):e._e()])]),e._v(" "),e.tab?t("div",{staticClass:"tab"},["poll"===e.tab?t("div",[t("p",{staticClass:"font-weight-bold text-muted small"},[e._v("\n\t\t\t\t\t\t\tPoll Options\n\t\t\t\t\t\t")]),e._v(" "),e.pollOptions.length<4?t("div",{staticClass:"form-group mb-4"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.pollOptionModel,expression:"pollOptionModel"}],staticClass:"form-control rounded-pill",attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:e.pollOptionModel},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.savePollOption.apply(null,arguments)},input:function(t){t.target.composing||(e.pollOptionModel=t.target.value)}}})]):e._e(),e._v(" "),e._l(e.pollOptions,(function(s,o){return t("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[t("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[e._v(e._s(o+1)+".")]),e._v(" "),e.pollOptions[o].length<50?t("input",{directives:[{name:"model",rawName:"v-model",value:e.pollOptions[o],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:e.pollOptions[o]},on:{input:function(t){t.target.composing||e.$set(e.pollOptions,o,t.target.value)}}}):t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.pollOptions[o],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:e.pollOptions[o]},on:{input:function(t){t.target.composing||e.$set(e.pollOptions,o,t.target.value)}}}),e._v(" "),t("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(t){return e.deletePollOption(o)}}},[t("i",{staticClass:"fas fa-trash"}),e._v(" Delete\n\t\t\t\t\t\t\t")])])})),e._v(" "),t("hr"),e._v(" "),t("div",{staticClass:"d-flex justify-content-between"},[t("div",[t("p",{staticClass:"font-weight-bold text-muted small"},[e._v("\n\t\t\t\t\t\t\t\t\tPoll Expiry\n\t\t\t\t\t\t\t\t")]),e._v(" "),t("div",{staticClass:"form-group"},[t("select",{directives:[{name:"model",rawName:"v-model",value:e.pollExpiry,expression:"pollExpiry"}],staticClass:"form-control rounded-pill",staticStyle:{width:"200px"},on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.pollExpiry=t.target.multiple?s:s[0]}}},[t("option",{attrs:{value:"60"}},[e._v("1 hour")]),e._v(" "),t("option",{attrs:{value:"360"}},[e._v("6 hours")]),e._v(" "),t("option",{attrs:{value:"1440",selected:""}},[e._v("24 hours")]),e._v(" "),t("option",{attrs:{value:"10080"}},[e._v("7 days")])])])])])],2):e._e()]):e._e(),e._v(" "),e.isUploading?e._e():t("div",{},[t("div",[e.photoName&&e.photoName.length?t("div",{staticClass:"bg-light rounded-pill mb-4 py-2"},[t("div",{staticClass:"media align-items-center"},[e._m(0),e._v(" "),t("div",{staticClass:"media-body"},[t("p",{staticClass:"mb-0 font-weight-bold text-muted"},[e._v("\n\t\t\t\t\t\t\t\t\t\t"+e._s(e.photoName)+"\n\t\t\t\t\t\t\t\t\t")])]),e._v(" "),t("button",{staticClass:"btn btn-link font-weight-bold text-decoration-none",on:{click:function(t){return t.preventDefault(),e.clearFileInputs.apply(null,arguments)}}},[e._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])])]):e._e(),e._v(" "),e.videoName&&e.videoName.length?t("div",{staticClass:"bg-light rounded-pill mb-4 py-2"},[t("div",{staticClass:"media align-items-center"},[e._m(1),e._v(" "),t("div",{staticClass:"media-body"},[t("p",{staticClass:"mb-0 font-weight-bold text-muted"},[e._v("\n\t\t\t\t\t\t\t\t\t\t"+e._s(e.videoName)+"\n\t\t\t\t\t\t\t\t\t")])]),e._v(" "),t("button",{staticClass:"btn btn-link font-weight-bold text-decoration-none",on:{click:function(t){return t.preventDefault(),e.clearFileInputs.apply(null,arguments)}}},[e._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])])]):e._e()]),e._v(" "),t("div",[t("button",{staticClass:"btn btn-light border font-weight-bold py-1 px-2 rounded-lg mr-3",attrs:{disabled:e.photoName||e.videoName},on:{click:function(t){return e.switchTab("photo")}}},[t("i",{staticClass:"fal fa-image mr-2"}),e._v(" "),t("span",[e._v("Add Photo")])])])])])]),e._v(" "),!e.isUploading&&e.composeText&&e.composeText.length>1||!e.isUploading&&["photo","video"].includes(e.tab)?t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-primary font-weight-bold float-right px-5 rounded-pill mt-3",attrs:{disabled:e.isPosting},on:{click:function(t){return e.newPost()}}},[e.isPosting?t("span",[e._m(2)]):t("span",[e._v("Post")])])]):e._e()])])},a=[function(){var e=this._self._c;return e("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"}},[e("i",{staticClass:"fal fa-image fa-lg text-white"})])},function(){var e=this._self._c;return e("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"}},[e("i",{staticClass:"fal fa-video fa-lg text-white"})])},function(){var e=this._self._c;return e("div",{staticClass:"spinner-border text-white spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupInfoCard.vue?vue&type=template&id=72861306&scoped=true": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupInfoCard.vue?vue&type=template&id=72861306&scoped=true ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"group-info-card"},[t("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},[t("p",{staticClass:"title"},[e._v("About")]),e._v(" "),e.group.description&&e.group.description.length>1?t("p",{staticClass:"description",domProps:{innerHTML:e._s(e.group.description)}}):t("p",{staticClass:"description"},[e._v("This group does not have a description.")])]),e._v(" "),t("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},["all"==e.group.membership?t("div",{staticClass:"fact"},[e._m(0),e._v(" "),e._m(1)]):e._e(),e._v(" "),"private"==e.group.membership?t("div",{staticClass:"fact"},[e._m(2),e._v(" "),e._m(3)]):e._e(),e._v(" "),1==e.group.config.discoverable?t("div",{staticClass:"fact"},[e._m(4),e._v(" "),e._m(5)]):e._e(),e._v(" "),0==e.group.config.discoverable?t("div",{staticClass:"fact"},[e._m(6),e._v(" "),e._m(7)]):e._e(),e._v(" "),t("div",{staticClass:"fact"},[e._m(8),e._v(" "),t("div",{staticClass:"fact-body"},[t("p",{staticClass:"fact-title"},[e._v(e._s(e.group.category.name))]),e._v(" "),t("p",{staticClass:"fact-subtitle"},[e._v("Category")])])]),e._v(" "),t("p",{staticClass:"mb-0 font-weight-light text-lighter"},[e._v("Created: "+e._s(e.timestampFormat(e.group.created_at)))])])])},a=[function(){var e=this._self._c;return e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-globe fa-lg"})])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"fact-body"},[t("p",{staticClass:"fact-title"},[e._v("Public")]),e._v(" "),t("p",{staticClass:"fact-subtitle"},[e._v("Anyone can see who's in the group and what they post.")])])},function(){var e=this._self._c;return e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-lock fa-lg"})])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"fact-body"},[t("p",{staticClass:"fact-title"},[e._v("Private")]),e._v(" "),t("p",{staticClass:"fact-subtitle"},[e._v("Only members can see who's in the group and what they post.")])])},function(){var e=this._self._c;return e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-eye fa-lg"})])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"fact-body"},[t("p",{staticClass:"fact-title"},[e._v("Visible")]),e._v(" "),t("p",{staticClass:"fact-subtitle"},[e._v("Anyone can find this group.")])])},function(){var e=this._self._c;return e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-eye-slash fa-lg"})])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"fact-body"},[t("p",{staticClass:"fact-title"},[e._v("Hidden")]),e._v(" "),t("p",{staticClass:"fact-subtitle"},[e._v("Only members can find this group.")])])},function(){var e=this._self._c;return e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-users fa-lg"})])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupInviteModal.vue?vue&type=template&id=583fdd2c": /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupInviteModal.vue?vue&type=template&id=583fdd2c ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"group-invite-modal"},[t("b-modal",{ref:"modal",attrs:{"hide-header":"","hide-footer":"",centered:"",rounded:"","body-class":"rounded group-invite-modal-wrapper"}},[t("div",{staticClass:"text-center py-3 d-flex align-items-center flex-column"},[t("div",{staticClass:"bg-light rounded-circle d-flex justify-content-center align-items-center mb-3",staticStyle:{width:"100px",height:"100px"}},[t("i",{staticClass:"far fa-user-plus fa-2x text-lighter"})]),e._v(" "),t("p",{staticClass:"h4 font-weight-bold mb-0"},[e._v("Invite Friends")])]),e._v(" "),t("transition",{attrs:{name:"fade"}},[e.usernames.length<5?t("div",{staticClass:"d-flex justify-content-between mt-1"},[t("autocomplete",{ref:"autocomplete",staticStyle:{width:"100%"},attrs:{search:e.autocompleteSearch,placeholder:"Search friends by username","aria-label":"Search this group","get-result-value":e.getSearchResultValue,debounceTime:700},on:{submit:e.onSearchSubmit},scopedSlots:e._u([{key:"result",fn:function(s){var o=s.result,a=s.props;return[t("li",e._b({staticClass:"autocomplete-result"},"li",a,!1),[t("div",{staticClass:"text-truncate"},[t("p",{staticClass:"result-name mb-0 font-weight-bold"},[e._v("\n\t\t\t\t\t\t\t\t\t"+e._s(o.username)+"\n\t\t\t\t\t\t\t\t")])])])]}}],null,!1,3929251)}),e._v(" "),t("button",{staticClass:"btn btn-light border rounded-circle text-lighter ml-3",staticStyle:{width:"52px",height:"50px"},on:{click:e.close}},[t("i",{staticClass:"fal fa-times fa-lg"})])],1):e._e()]),e._v(" "),t("transition",{attrs:{name:"fade"}},[e.usernames.length?t("div",{staticClass:"pt-3"},e._l(e.usernames,(function(s,o){return t("div",{staticClass:"py-1"},[t("div",{staticClass:"media align-items-center"},[t("img",{staticClass:"rounded-circle border mr-3",attrs:{src:"/storage/avatars/default.jpg",width:"45",height:"45"}}),e._v(" "),t("div",{staticClass:"media-body"},[t("p",{staticClass:"lead mb-0"},[e._v(e._s(s.username))])]),e._v(" "),t("button",{staticClass:"btn btn-link text-lighter btn-sm",on:{click:function(t){return e.removeUsername(o)}}},[t("i",{staticClass:"far fa-times-circle fa-lg"})])])])})),0):e._e()]),e._v(" "),t("transition",{attrs:{name:"fade"}},[e.usernames&&e.usernames.length?t("button",{staticClass:"btn btn-primary btn-lg btn-block font-weight-bold rounded font-weight-bold mt-3",on:{click:e.submitInvites}},[e._v("Invite")]):e._e()]),e._v(" "),t("div",{staticClass:"text-center pt-3 small"},[t("p",{staticClass:"mb-0"},[e._v("You can invite up to 5 friends at a time, and 20 friends in total.")])])],1)],1)},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupListCard.vue?vue&type=template&id=23972214&scoped=true": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupListCard.vue?vue&type=template&id=23972214&scoped=true ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"group-list-card"},[t("div",{staticClass:"media"},[t("div",{staticClass:"media align-items-center"},[e.group.metadata&&e.group.metadata.hasOwnProperty("header")?t("img",{staticClass:"mr-3 border rounded group-header-img",class:{compact:e.compact},attrs:{src:e.group.metadata.header.url}}):t("div",{staticClass:"mr-3 border rounded group-header-img",class:{compact:e.compact}},[e._m(0)]),e._v(" "),t("div",{staticClass:"media-body"},[t("p",{staticClass:"font-weight-bold mb-0 text-dark",staticStyle:{"font-size":"16px"}},[e._v("\n\t\t\t\t\t"+e._s(e.truncate(e.group.name||"Untitled Group",e.titleLength))+"\n\t\t\t\t")]),e._v(" "),t("p",{staticClass:"text-muted mb-1",staticStyle:{"font-size":"12px"}},[e._v("\n\t\t\t\t\t"+e._s(e.truncate(e.group.short_description,e.descriptionLength))+"\n\t\t\t\t")]),e._v(" "),e.showStats?t("p",{staticClass:"mb-0 small text-lighter"},[t("span",[t("i",{staticClass:"far fa-users"}),e._v(" "),t("span",{staticClass:"small font-weight-bold"},[e._v(e._s(e.prettyCount(e.group.member_count)))])]),e._v(" "),e.group.local?e._e():t("span",{staticClass:"remote-label ml-3"},[t("i",{staticClass:"fal fa-globe"}),e._v(" Remote\n\t\t\t\t\t")]),e._v(" "),e.group.hasOwnProperty("admin")&&e.group.admin.hasOwnProperty("username")?t("span",{staticClass:"ml-3"},[t("i",{staticClass:"fal fa-user-crown"}),e._v(" "),t("span",{staticClass:"small font-weight-bold"},[e._v("\n\t\t\t\t\t\t\t@"+e._s(e.group.admin.username)+"\n\t\t\t\t\t\t")])]):e._e()]):e._e()])])])])},a=[function(){var e=this._self._c;return e("div",{staticClass:"bg-primary d-flex align-items-center justify-content-center rounded",staticStyle:{width:"100%",height:"100%"}},[e("i",{staticClass:"fal fa-users text-white fa-lg"})])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupPostModal.vue?vue&type=template&id=531f6975": /*!***************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupPostModal.vue?vue&type=template&id=531f6975 ***! \***************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"group-post-modal"},[t("b-modal",{ref:"modal",attrs:{size:"xl","hide-footer":"","hide-header":"",centered:"","body-class":"gpm p-0"}},[t("div",{staticClass:"d-flex"},[t("div",{staticClass:"gpm-media"},[t("img",{attrs:{src:e.status.media_attachments[0].preview_url}})]),e._v(" "),t("div",{staticClass:"p-3",staticStyle:{width:"30%"}},[t("div",{staticClass:"media align-items-center mb-2"},[t("a",{attrs:{href:e.status.account.url}},[t("img",{staticClass:"rounded-circle media-avatar border mr-2",attrs:{src:e.status.account.avatar,width:"32",height:"32"}})]),e._v(" "),t("div",{staticClass:"media-body"},[t("div",{staticClass:"media-body-comment"},[t("p",{staticClass:"media-body-comment-username mb-n1"},[t("a",{staticClass:"text-dark text-decoration-none font-weight-bold",attrs:{href:e.status.account.url}},[e._v("\n\t\t\t\t\t\t\t\t\t"+e._s(e.status.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),e._v(" "),t("p",{staticClass:"media-body-comment-timestamp mb-0"},[t("a",{staticClass:"font-weight-light text-muted small",attrs:{href:e.status.url}},[e._v("\n\t\t\t\t\t\t\t\t\t"+e._s(e.shortTimestamp(e.status.created_at))+"\n\t\t\t\t\t\t\t\t")]),e._v(" "),t("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[e._v("·")]),e._v(" "),t("span",{staticClass:"text-muted small"},[t("i",{staticClass:"fas fa-globe"})])])])]),e._v(" "),t("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[t("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"}},[t("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),e._v(" "),t("span",{staticClass:"sr-only"},[e._v("Post Menu")])])])]),e._v(" "),t("read-more",{attrs:{status:e.status}}),e._v(" "),t("div",{staticClass:"border-top border-bottom mt-3"},[t("div",{staticClass:"d-flex justify-content-between",staticStyle:{padding:"8px 5px"}},[t("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm",class:{"font-weight-bold":e.status.favourited,"text-primary":e.status.favourited,"text-muted":!e.status.favourited}},[t("i",{staticClass:"far fa-heart mr-1"}),e._v("\n\t\t\t\t\t\t\t"+e._s(e.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm text-muted"},[t("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),e._v("\n\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm",attrs:{disabled:""}},[t("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),e._v("\n\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t")])])])],1)])])],1)},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupSearchModal.vue?vue&type=template&id=cf9cad26": /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupSearchModal.vue?vue&type=template&id=cf9cad26 ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e,t,s,o=this,a=o._self._c;return a("div",{staticClass:"group-search-modal"},[a("b-modal",{ref:"modal",attrs:{"hide-header":"","hide-footer":"",centered:"",rounded:"","body-class":"rounded group-search-modal-wrapper"}},[a("div",{staticClass:"d-flex justify-content-between"},[a("autocomplete",{ref:"autocomplete",staticStyle:{width:"100%"},attrs:{search:o.autocompleteSearch,placeholder:"Search this group","aria-label":"Search this group","get-result-value":o.getSearchResultValue,debounceTime:700},on:{submit:o.onSearchSubmit},scopedSlots:o._u([{key:"result",fn:function(e){var t=e.result,s=e.props;return[a("li",o._b({staticClass:"autocomplete-result"},"li",s,!1),[a("div",{staticClass:"text-truncate"},[a("p",{staticClass:"result-name mb-0 font-weight-bold"},[o._v("\n\t\t\t\t\t\t\t\t\t"+o._s(t.username)+"\n\t\t\t\t\t\t\t\t")])])])]}}])}),o._v(" "),a("button",{staticClass:"btn btn-light border rounded-circle text-lighter ml-3",staticStyle:{width:"52px",height:"50px"},on:{click:o.close}},[a("i",{staticClass:"fal fa-times fa-lg"})])],1),o._v(" "),o.recent&&o.recent.length?a("div",{staticClass:"pt-5"},[a("h5",{staticClass:"mb-2"},[o._v("Recent Searches")]),o._v(" "),o._l(o.recent,(function(e,t){return a("a",{staticClass:"media align-items-center text-decoration-none text-dark",attrs:{href:e.action}},[a("div",{staticClass:"bg-light rounded-circle mr-3 border d-flex justify-content-center align-items-center",staticStyle:{width:"40px",height:"40px"}},[a("i",{staticClass:"far fa-search"})]),o._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"mb-0"},[o._v(o._s(e.value))])])])}))],2):o._e(),o._v(" "),a("div",{staticClass:"pt-5"},[a("h5",{staticClass:"mb-2"},[o._v("Explore This Group")]),o._v(" "),a("div",{staticClass:"media align-items-center",on:{click:o.viewMyActivity}},[a("img",{staticClass:"mr-3 border rounded-circle",attrs:{src:null===(e=o.profile)||void 0===e?void 0:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),o._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"mb-0"},[o._v(o._s((null===(t=o.profile)||void 0===t?void 0:t.display_name)||(null===(s=o.profile)||void 0===s?void 0:s.username)))]),o._v(" "),a("p",{staticClass:"mb-0 small text-muted"},[o._v("See your group activity.")])])]),o._v(" "),a("div",{staticClass:"media align-items-center",on:{click:o.viewGroupSearch}},[a("div",{staticClass:"bg-light rounded-circle mr-3 border d-flex justify-content-center align-items-center",staticStyle:{width:"40px",height:"40px"}},[a("i",{staticClass:"far fa-search"})]),o._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"mb-0"},[o._v("Search all groups")])])])])])],1)},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupStatus.vue?vue&type=template&id=2dcc501a": /*!************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/GroupStatus.vue?vue&type=template&id=2dcc501a ***! \************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"status-card-component",class:{"status-card-sm":e.loaded&&"small"===e.size}},[e.loaded?t("div",{staticClass:"shadow-none mb-3"},["poll"!==e.status.pf_type?t("div",{staticClass:"card shadow-sm",class:{"border-top-0":!e.hasTopBorder},staticStyle:{"border-radius":"18px !important"}},[1==e.parentUnavailable?t("parent-unavailable",{attrs:{"permalink-mode":e.permalinkMode,"permalink-status":e.childContext,status:e.status,profile:e.profile,"group-id":e.groupId}}):t("div",{staticClass:"card-body pb-0"},[t("group-post-header",{attrs:{group:e.group,status:e.status,profile:e.profile,showGroupHeader:e.showGroupHeader,showGroupChevron:e.showGroupChevron}}),e._v(" "),t("div",[t("div",[t("div",{staticClass:"pl-2"},[e.status.sensitive&&e.status.content.length?t("div",{staticClass:"card card-body shadow-none border bg-light py-2 my-2 text-center user-select-none cursor-pointer",on:{click:function(t){e.status.sensitive=!1}}},[t("div",{staticClass:"media justify-content-center align-items-center"},[t("div",{staticClass:"mx-3"},[t("i",{staticClass:"far fa-exclamation-triangle fa-2x text-lighter"})]),e._v(" "),t("div",{staticClass:"media-body"},[t("p",{staticClass:"font-weight-bold mb-0"},[e._v("Warning, may contain sensitive content. ")]),e._v(" "),t("p",{staticClass:"mb-0 text-lighter small text-center font-weight-bold"},[e._v("Click to view")])])])]):[t("p",{staticClass:"pt-2 text-break",staticStyle:{"font-size":"15px"},domProps:{innerHTML:e._s(e.renderedCaption)}})],e._v(" "),"photo"===e.status.pf_type?t("photo-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:e.status},on:{lightbox:e.showPostModal,togglecw:function(t){e.status.sensitive=!1},click:e.showPostModal}}):"video"===e.status.pf_type?t("video-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:e.status},on:{togglecw:function(t){e.status.sensitive=!1}}}):"photo:album"===e.status.pf_type?t("photo-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:e.status},on:{lightbox:e.lightbox,togglecw:function(t){e.status.sensitive=!1}}}):"video:album"===e.status.pf_type?t("video-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:e.status},on:{togglecw:function(t){e.status.sensitive=!1}}}):"photo:video:album"===e.status.pf_type?t("mixed-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:e.status},on:{lightbox:e.lightbox,togglecw:function(t){e.status.sensitive=!1}}}):e._e(),e._v(" "),e.status.favourites_count||e.status.reply_count?t("div",{staticClass:"border-top my-0"},[t("div",{staticClass:"d-flex justify-content-between py-2",staticStyle:{"font-size":"14px"}},[e.status.favourites_count?t("button",{staticClass:"btn btn-light py-0 text-decoration-none text-dark",staticStyle:{"font-size":"12px","font-weight":"600"},on:{click:function(t){return e.showLikesModal(t)}}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.status.favourites_count)+" "+e._s(1==e.status.favourites_count?"Like":"Likes")+"\n\t\t\t\t\t\t\t\t\t\t")]):e._e(),e._v(" "),e.status.reply_count?t("button",{staticClass:"btn btn-light py-0 text-decoration-none text-dark",staticStyle:{"font-size":"12px","font-weight":"600"},on:{click:function(t){return e.commentFocus(t)}}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.status.reply_count)+" "+e._s(1==e.status.reply_count?"Comment":"Comments")+"\n\t\t\t\t\t\t\t\t\t\t")]):e._e()])]):e._e(),e._v(" "),e.profile?t("div",{staticClass:"border-top my-0"},[t("div",{staticClass:"d-flex justify-content-between py-2 px-4"},[t("div",[t("button",{staticClass:"btn btn-link py-0 text-decoration-none",class:{"font-weight-bold":e.status.favourited,"text-primary":e.status.favourited,"text-muted":!e.status.favourited},attrs:{id:"lr__"+e.status.id},on:{click:function(t){return e.likeStatus(e.status,t)}}},[t("i",{staticClass:"far fa-heart mr-1"}),e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),t("button",{staticClass:"btn btn-link py-0 text-decoration-none text-muted",on:{click:function(t){return e.commentFocus(t)}}},[t("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),e._v("\n\t\t\t\t\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),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"}),e._v("\n\t\t\t\t\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t\t\t\t\t")])])]):e._e(),e._v(" "),e.showCommentDrawer?t("comment-drawer",{attrs:{"permalink-mode":e.permalinkMode,"permalink-status":e.childContext,status:e.status,profile:e.profile,"group-id":e.groupId}}):e._e()],2)])])],1)],1):t("div",{staticClass:"border"},[t("poll-card",{attrs:{status:e.status,profile:e.profile,showBorder:!1},on:{"status-delete":e.statusDeleted}}),e._v(" "),t("div",{staticClass:"bg-white",staticStyle:{padding:"0 1.25rem"}},[e.profile?t("div",{staticClass:"border-top my-0"},[t("div",{staticClass:"d-flex justify-content-between py-2 px-4"},[t("div",[t("button",{staticClass:"btn btn-link py-0 text-decoration-none",class:{"font-weight-bold":e.status.favourited,"text-primary":e.status.favourited,"text-muted":!e.status.favourited},attrs:{id:"lr__"+e.status.id},on:{click:function(t){return e.likeStatus(e.status,t)}}},[t("i",{staticClass:"far fa-heart mr-1"}),e._v("\n\t\t\t\t\t\t\t\t\t"+e._s(e.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),e._v(" "),t("b-popover",{attrs:{target:"lr__"+e.status.id,triggers:"hover",placement:"top"},scopedSlots:e._u([{key:"title",fn:function(){return[e._v("Popover Title")]},proxy:!0}],null,!1,4088088860)},[e._v("\n\t\t\t\t\t\t\t\t\tI am popover "),t("b",[e._v("component")]),e._v(" content!\n\t\t\t\t\t\t\t\t")])],1),e._v(" "),t("button",{staticClass:"btn btn-link py-0 text-decoration-none text-muted",on:{click:function(t){return e.commentFocus(t)}}},[t("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),e._v("\n\t\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t\t")]),e._v(" "),e._m(0)])]):e._e(),e._v(" "),e.showCommentDrawer?t("comment-drawer",{attrs:{"permalink-mode":e.permalinkMode,"permalink-status":e.childContext,profile:e.profile,status:e.status,"group-id":e.groupId}}):e._e()],1)],1),e._v(" "),e.profile?t("context-menu",{ref:"contextMenu",attrs:{status:e.status,profile:e.profile,"group-id":e.groupId},on:{"status-delete":e.statusDeleted}}):e._e(),e._v(" "),e.showModal?t("post-modal",{ref:"modal",attrs:{status:e.status,profile:e.profile,groupId:e.groupId}}):e._e()],1):t("div",{staticClass:"card card-body shadow-none border mb-3",staticStyle:{height:"200px"}},[e._m(1)])])},a=[function(){var e=this._self._c;return 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"}),this._v("\n\t\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t\t")])},function(){var e=this._self._c;return e("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[e("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/LeaveGroup.vue?vue&type=template&id=33e38fcf": /*!***********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/LeaveGroup.vue?vue&type=template&id=33e38fcf ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){return(0,this._self._c)("div")},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Page/GroupBanner.vue?vue&type=template&id=d42df81c&scoped=true": /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Page/GroupBanner.vue?vue&type=template&id=d42df81c&scoped=true ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"px-md-5",staticStyle:{"background-color":"#fff"}},[e.group.metadata&&e.group.metadata.hasOwnProperty("header")?t("img",{staticClass:"header-image",attrs:{src:e.group.metadata.header.url}}):t("div",{staticClass:"header-jumbotron"})])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Page/GroupHeaderDetails.vue?vue&type=template&id=4ff1171f": /*!************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Page/GroupHeaderDetails.vue?vue&type=template&id=4ff1171f ***! \************************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"col-12 group-feed-component-header px-3 px-md-5"},[t("div",{staticClass:"media align-items-end"},[e.group.metadata&&e.group.metadata.hasOwnProperty("avatar")?t("img",{staticClass:"bg-white mx-4 rounded-circle border shadow p-1",staticStyle:{"object-fit":"cover"},style:{"margin-top":e.group.metadata&&e.group.metadata.hasOwnProperty("header")&&e.group.metadata.header.url?"-100px":"0"},attrs:{src:e.group.metadata.avatar.url,width:"169",height:"169"}}):e._e(),e._v(" "),e.group&&e.group.name?t("div",{staticClass:"media-body px-3"},[t("h3",{staticClass:"d-flex align-items-start"},[t("span",[e._v(e._s(e.group.name.slice(0,118)))]),e._v(" "),e.group.verified?t("sup",{staticClass:"fa-stack ml-n2",attrs:{title:"Verified Group","data-toggle":"tooltip"}},[t("i",{staticClass:"fas fa-circle fa-stack-1x fa-lg",staticStyle:{color:"#22a7f0cc","font-size":"18px"}}),e._v(" "),t("i",{staticClass:"fas fa-check fa-stack-1x text-white",staticStyle:{"font-size":"10px"}})]):e._e()]),e._v(" "),t("p",{staticClass:"text-muted mb-0",staticStyle:{"font-weight":"300"}},[t("span",[t("i",{staticClass:"fas fa-globe mr-1"}),e._v("\n "+e._s("all"==e.group.membership?"Public Group":"Private Group")+"\n ")]),e._v(" "),t("span",{staticClass:"mx-2"},[e._v("\n ·\n ")]),e._v(" "),t("span",[e._v(e._s(1==e.group.member_count?e.group.member_count+" Member":e.group.member_count+" Members"))]),e._v(" "),t("span",{staticClass:"mx-2"},[e._v("\n ·\n ")]),e._v(" "),e.group.local?t("span",{staticClass:"rounded member-label"},[e._v("Local")]):t("span",{staticClass:"rounded remote-label"},[e._v("Remote")]),e._v(" "),e.group.self&&e.group.self.hasOwnProperty("role")&&e.group.self.role?t("span",[t("span",{staticClass:"mx-2"},[e._v("\n ·\n ")]),e._v(" "),t("span",{staticClass:"rounded member-label"},[e._v(e._s(e.group.self.role))])]):e._e()])]):t("div",{staticClass:"media-body"},[e._m(0)])]),e._v(" "),e.group&&e.group.self?t("div",[e.isMember||e.group.self.is_requested?!e.isMember&&e.group.self.is_requested?t("button",{staticClass:"btn btn-light border cta-btn font-weight-bold",on:{click:function(t){return t.preventDefault(),e.cancelJoinRequest.apply(null,arguments)}}},[t("i",{staticClass:"fas fa-user-clock mr-1"}),e._v(" Requested to Join\n ")]):e.isAdmin||!e.isMember||e.group.self.is_requested?e._e():t("button",{staticClass:"btn btn-light border cta-btn font-weight-bold",attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),e.leaveGroup.apply(null,arguments)}}},[t("i",{staticClass:"fas sign-out-alt mr-1"}),e._v(" Leave Group\n ")]):t("button",{staticClass:"btn btn-primary cta-btn font-weight-bold",attrs:{disabled:e.requestingMembership},on:{click:e.joinGroup}},[e.requestingMembership?t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[e._v("Loading...")])]):t("span",[e._v("\n "+e._s("all"==e.group.membership?"Join":"Request Membership")+"\n ")])])]):e._e()])},a=[function(){var e=this._self._c;return e("h3",{staticClass:"d-flex align-items-start"},[e("span",[this._v("Loading...")])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Page/GroupNavTabs.vue?vue&type=template&id=4bf9eeeb": /*!******************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Page/GroupNavTabs.vue?vue&type=template&id=4bf9eeeb ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e,t,s,o,a,n=this,r=n._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(n.group.id,"/about")}},[n._v("About")])],1),n._v(" "),r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(n.group.id),exact:""}},[n._v("Feed")])],1),n._v(" "),null!==(e=n.group)&&void 0!==e&&e.self&&n.group.self.is_member?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(n.group.id,"/topics")}},[n._v("Topics")])],1):n._e(),n._v(" "),null!==(t=n.group)&&void 0!==t&&t.self&&n.group.self.is_member?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(n.group.id,"/members")}},[n._v("\n Members\n "),n.group.self.is_member&&n.isAdmin&&n.atabs.request_count?r("span",{staticClass:"badge badge-danger rounded-pill ml-2",staticStyle:{height:"20px",padding:"4px 8px","font-size":"11px"}},[n._v(n._s(n.atabs.request_count))]):n._e()])],1):n._e(),n._v(" "),null!==(s=n.group)&&void 0!==s&&s.self&&n.group.self.is_member?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(n.group.id,"/media")}},[n._v("Media")])],1):n._e(),n._v(" "),null!==(o=n.group)&&void 0!==o&&o.self&&n.group.self.is_member&&n.isAdmin?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link d-flex align-items-top",attrs:{to:"/groups/".concat(n.group.id,"/moderation")}},[r("span",{staticClass:"mr-2"},[n._v("Moderation")]),n._v(" "),n.atabs.moderation_count?r("span",{staticClass:"badge badge-danger rounded-pill",staticStyle:{height:"20px",padding:"4px 8px","font-size":"11px"}},[n._v(n._s(n.atabs.moderation_count))]):n._e()])],1):n._e()]),n._v(" "),r("div",[null!==(a=n.group)&&void 0!==a&&a.self&&n.group.self.is_member?r("button",{staticClass:"btn btn-light btn-sm border px-3 rounded-pill mr-2",on:{click:n.showSearchModal}},[r("i",{staticClass:"far fa-search"})]):n._e(),n._v(" "),r("div",{staticClass:"dropdown d-inline"},[n._m(0),n._v(" "),r("div",{staticClass:"dropdown-menu dropdown-menu-right"},[r("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),n.copyLink.apply(null,arguments)}}},[n._v("\n Copy Group Link\n ")]),n._v(" "),r("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),n.showInviteModal.apply(null,arguments)}}},[n._v("\n Invite friends\n ")]),n._v(" "),n.isAdmin?n._e():r("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),n.reportGroup.apply(null,arguments)}}},[n._v("\n Report Group\n ")]),n._v(" "),n.isAdmin?r("a",{staticClass:"dropdown-item",attrs:{href:n.group.url+"/settings"}},[n._v("\n Settings\n ")]):n._e()])])])]),n._v(" "),r("search-modal",{ref:"searchModal",attrs:{group:n.group,profile:n.profile}})],1)},a=[function(){var e=this._self._c;return e("button",{staticClass:"btn btn-light btn-sm border px-3 rounded-pill dropdown-toggle",attrs:{"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[e("i",{staticClass:"far fa-cog"})])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/ReadMore.vue?vue&type=template&id=8eea5bdc": /*!*********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/ReadMore.vue?vue&type=template&id=8eea5bdc ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-all"}},[e.status.content.length<200?t("div",{domProps:{innerHTML:e._s(e.content)}}):t("div",[t("span",{domProps:{innerHTML:e._s(e.content)}}),e._v(" "),200==e.cursor||e.fullContent.length>e.cursor?t("a",{staticClass:"font-weight-bold text-muted",staticStyle:{display:"block","white-space":"nowrap"},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.readMore.apply(null,arguments)}}},[t("i",{staticClass:"d-none fas fa-caret-down"}),e._v(" Read more...\n\t\t")]):e._e()])])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfDiscover.vue?vue&type=template&id=947d4248": /*!*************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfDiscover.vue?vue&type=template&id=947d4248 ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"self-discover-component col-12 col-md-9 bg-lighter border-left mb-4"},[e._m(0),e._v(" "),"home"===e.tab?t("div",{staticClass:"px-5"},[t("div",{staticClass:"row mb-4 pt-5"},[t("div",{staticClass:"col-12 col-md-4"},[t("h4",{staticClass:"font-weight-bold"},[e._v("Popular")]),e._v(" "),t("div",{staticClass:"list-group list-group-scroll"},e._l(e.popularGroups,(function(e,s){return t("a",{staticClass:"list-group-item p-1",attrs:{href:e.url}},[t("group-list-card",{attrs:{group:e,compact:!0}})],1)})),0)]),e._v(" "),t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"card card-body shadow-none bg-mantle text-light",staticStyle:{"margin-top":"33px"}},[t("h3",{staticClass:"mb-4 font-weight-lighter"},[e._v("Discover communities and topics based on your interests")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light font-weight-light btn-block",on:{click:function(t){return e.toggleTab("categories")}}},[e._v("Browse Categories")])])]),e._v(" "),e._m(1)]),e._v(" "),t("div",{staticClass:"col-12 col-md-4"},[t("h4",{staticClass:"font-weight-bold"},[e._v("New")]),e._v(" "),t("div",{staticClass:"list-group list-group-scroll"},e._l(e.newGroups,(function(e,s){return t("a",{staticClass:"list-group-item p-1",attrs:{href:e.url}},[t("group-list-card",{attrs:{group:e,compact:!0}})],1)})),0)])]),e._v(" "),t("div",{staticClass:"jumbotron mb-4 text-light bg-black",staticStyle:{"margin-top":"5rem"}},[t("div",{staticClass:"container"},[t("h1",{staticClass:"display-4"},[e._v("Across the Fediverse")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light",on:{click:function(t){return e.toggleTab("fediverseGroups")}}},[e._v("\n \t\t\tExplore fediverse groups "),t("i",{staticClass:"fal fa-chevron-right ml-2"})])]),e._v(" "),t("hr",{staticClass:"my-4"}),e._v(" "),e._m(2)])]),e._v(" "),e._m(3),e._v(" "),e._m(4)]):e._e(),e._v(" "),"categories"===e.tab?t("div",{staticClass:"px-5"},[t("div",{staticClass:"row my-4 justify-content-center"},[t("div",{staticClass:"col-12 col-md-6"},[t("div",{staticClass:"title mb-4"},[t("span",[e._v("Categories")]),e._v(" "),t("button",{staticClass:"btn btn-light font-weight-bold",on:{click:function(t){return e.toggleTab("home")}}},[e._v("Go Back")])]),e._v(" "),t("div",{staticClass:"list-group"},e._l(e.categories,(function(s,o){return t("div",{key:"rec:"+s.id+":"+o,staticClass:"list-group-item",on:{click:function(t){return e.selectCategory(o)}}},[t("p",{staticClass:"mb-0 font-weight-bold"},[e._v("\n\t\t\t\t\t\t\t\t"+e._s(s)+"\n\t\t\t\t\t\t\t\t"),e._m(5,!0)])])})),0)])])]):e._e(),e._v(" "),"category"===e.tab?t("div",{staticClass:"px-5"},[t("div",{staticClass:"row my-4 justify-content-center"},[t("div",{staticClass:"col-12 col-md-6"},[t("div",{staticClass:"title mb-4"},[t("div",[t("div",{staticClass:"mb-n2 small text-uppercase text-lighter"},[e._v("Categories")]),e._v(" "),t("span",[e._v(e._s(e.categories[e.activeCategoryIndex]))])]),e._v(" "),t("button",{staticClass:"btn btn-light font-weight-bold",on:{click:function(t){return e.toggleTab("categories")}}},[e._v("Go Back")])]),e._v(" "),e.categoryGroupsLoaded?t("div",[t("div",{staticClass:"list-group"},[e._l(e.categoryGroups,(function(e,s){return t("a",{staticClass:"list-group-item p-1",attrs:{href:e.url}},[t("group-list-card",{attrs:{group:e,showStats:!0}})],1)})),e._v(" "),e.categoryGroupsCanLoadMore?t("div",{staticClass:"list-group-item"},[t("button",{staticClass:"btn btn-light font-weight-bold btn-block",on:{click:e.fetchCategoryGroups}},[e._v("\n\t\t\t\t\t\t\t\t\tLoad more\n\t\t\t\t\t\t\t\t")])]):e._e()],2),e._v(" "),0===e.categoryGroups.length?t("div",{staticClass:"mt-3"},[e._m(6)]):e._e()]):t("div",[t("div",{staticClass:"card card-body shadow-none border justify-content-center flex-row"},[t("b-spinner")],1)])])])]):e._e(),e._v(" "),"fediverseGroups"===e.tab?t("div",{staticClass:"px-5"},[t("div",{staticClass:"row my-4 justify-content-center"},[t("div",{staticClass:"col-12 col-md-6"},[t("div",{staticClass:"title mb-4"},[t("span",[e._v("Fediverse Groups")]),e._v(" "),t("button",{staticClass:"btn btn-light font-weight-bold",on:{click:function(t){return e.toggleTab("home")}}},[e._v("Go Back")])]),e._v(" "),e._m(7)])])]):e._e()])},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"px-5"},[t("div",{staticClass:"jumbotron my-4 text-light bg-mantle"},[t("div",{staticClass:"container"},[t("h1",{staticClass:"display-4"},[e._v("Discover")]),e._v(" "),t("p",{staticClass:"lead mb-0"},[e._v("Explore group communities and topics")])])])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"card card-body shadow-none bg-light text-dark border",staticStyle:{"margin-top":"20px"}},[t("p",{staticClass:"lead mb-4 text-muted font-weight-lighter mb-1"},[e._v("Browse Public Groups")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-light border font-weight-light btn-block"},[e._v("Group Directory")])])])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"lead"},[e._v("We're in the early stages of Group federation, and working with other projects to support cross-platform compatibility. "),t("a",{attrs:{href:"#"}},[e._v("Learn more about group federation "),t("i",{staticClass:"fal fa-chevron-right ml-2 fa-sm"})])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"row my-4 py-5"},[t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"card card-body shadow-none bg-light",staticStyle:{border:"1px solid #E5E7EB"}},[t("p",{staticClass:"text-center text-lighter"},[t("i",{staticClass:"fal fa-lightbulb fa-4x"})]),e._v(" "),t("p",{staticClass:"text-center lead mb-0"},[e._v("What's New")])])]),e._v(" "),t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"card card-body shadow-none bg-light",staticStyle:{border:"1px solid #E5E7EB"}},[t("p",{staticClass:"text-center text-lighter"},[t("i",{staticClass:"fal fa-clipboard-list-check fa-4x"})]),e._v(" "),t("p",{staticClass:"text-center lead mb-0"},[e._v("User Guide")])])]),e._v(" "),t("div",{staticClass:"col-12 col-md-4"},[t("div",{staticClass:"card card-body shadow-none bg-light",staticStyle:{border:"1px solid #E5E7EB"}},[t("p",{staticClass:"text-center text-lighter"},[t("i",{staticClass:"fal fa-question-circle fa-4x"})]),e._v(" "),t("p",{staticClass:"text-center lead mb-0"},[e._v("Groups Help")])])])])},function(){var e=this._self._c;return e("p",{staticClass:"text-lighter",staticStyle:{"font-size":"9px"}},[e("span",{staticClass:"font-weight-bold mr-1"},[this._v("Groups v0.0.1")])])},function(){var e=this._self._c;return e("span",{staticClass:"float-right"},[e("i",{staticClass:"fal fa-chevron-right"})])},function(){var e=this._self._c;return e("div",{staticClass:"bg-white border text-center p-3"},[e("p",{staticClass:"font-weight-light mb-0"},[this._v("No groups found in this category")])])},function(){var e=this._self._c;return e("div",{staticClass:"mt-3"},[e("div",{staticClass:"bg-white border text-center p-3"},[e("p",{staticClass:"font-weight-light mb-0"},[this._v("No fediverse groups found")])])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfFeed.vue?vue&type=template&id=69898f91": /*!*********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfFeed.vue?vue&type=template&id=69898f91 ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"col-12 col-md-9",staticStyle:{overflow:"hidden"}},[t("div",{staticClass:"row h-100 bg-light justify-content-center"},[t("div",{staticClass:"col-12 col-md-10 col-lg-7"},[e.initalLoad?t("div",{staticClass:"px-5"},[e.emptyFeed?t("div",[t("div",{staticClass:"jumbotron mt-5"},[t("h1",{staticClass:"display-4"},[e._v("Hello 👋")]),e._v(" "),t("h3",{staticClass:"font-weight-light"},[e._v("Welcome to Pixelfed Groups!")]),e._v(" "),t("p",{staticClass:"lead"},[e._v("Groups are a way to participate in like minded communities and topics.")]),e._v(" "),t("hr",{staticClass:"my-4"}),e._v(" "),e._m(0),e._v(" "),t("p",{staticClass:"text-center mb-0"},[t("router-link",{staticClass:"btn btn-primary btn-lg rounded-pill",attrs:{to:"/groups/discover"}},[e._v("\n Discover Groups\n ")])],1)])]):t("div",[e._m(1),e._v(" "),t("div",{staticClass:"my-3"},[e._l(e.feed,(function(s,o){return t("group-status",{key:"gs:"+s.id+o,attrs:{prestatus:s,profile:e.profile,"show-group-header":!0,group:s.group,"group-id":s.group.id}})})),e._v(" "),e.feed.length>2?t("div",[t("infinite-loading",{attrs:{distance:800},on:{infinite:e.infiniteFeed}},[t("div",{staticClass:"my-3",attrs:{slot:"no-more"},slot:"no-more"},[t("p",{staticClass:"lead font-weight-bold pt-5"},[e._v("You have reached the end of this feed")]),e._v(" "),t("div",{staticStyle:{height:"10rem"}})]),e._v(" "),t("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):e._e()],2)])]):t("div",[t("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[e._v("Loading...")])])])])])},a=[function(){var e=this,t=e._self._c;return t("p",[e._v("Anyone can create and manage their own group as long as it abides by our "),t("a",{attrs:{href:"#"}},[e._v("community guidelines")]),e._v(".")])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"my-4"},[t("p",{staticClass:"h1 font-weight-bold mb-1"},[e._v("Groups Feed")]),e._v(" "),t("p",{staticClass:"lead text-muted mb-0"},[e._v("Recent posts from your groups")])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfGroups.vue?vue&type=template&id=a8db63f2&scoped=true": /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfGroups.vue?vue&type=template&id=a8db63f2&scoped=true ***! \***********************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"my-groups-component"},[t("div",{staticClass:"list-container"},[e.isLoaded?t("div",[t("div",{staticClass:"list-group"},e._l(e.groups,(function(e,s){return t("a",{key:"rec:"+e.id+":"+s,staticClass:"list-group-item text-decoration-none",attrs:{href:e.url}},[t("group-list-card",{attrs:{group:e,truncateDescriptionLength:140,showStats:!0}})],1)})),0),e._v(" "),e.canLoadMore?t("p",[t("button",{staticClass:"btn btn-primary btn-block font-weight-bold mt-3",attrs:{disabled:e.loadingMore},on:{click:function(t){return t.preventDefault(),e.loadMore.apply(null,arguments)}}},[e._v("\n \t\tLoad more\n \t")])]):e._e()]):t("div",{staticClass:"d-flex justify-content-center"},[t("b-spinner")],1)])])},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfInvitations.vue?vue&type=template&id=7e32ded7": /*!****************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfInvitations.vue?vue&type=template&id=7e32ded7 ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){this._self._c;return this._m(0)},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"col-12 col-md-9",staticStyle:{height:"100vh - 51px !important",overflow:"hidden"}},[t("div",{staticClass:"row h-100"},[t("div",{staticClass:"col-12 col-md-8 bg-lighter border-left"},[t("div",{staticClass:"p-4 mb-4"},[t("p",{staticClass:"h4 font-weight-bold mb-1 text-center"},[e._v("Group Invitations")])]),e._v(" "),t("div",{staticClass:"p-4 mb-4"},[t("p",{staticClass:"font-weight-bold text-center text-muted"},[e._v("You don't have any group invites")])])]),e._v(" "),t("div",{staticClass:"col-12 col-md-4 bg-white border-left"},[t("div",{staticClass:"p-4"},[t("div",{staticClass:"bg-light rounded-lg border p-3"},[t("p",{staticClass:"lead font-weight-bold mb-0"},[e._v("Send Invite")]),e._v(" "),t("p",{staticClass:"mb-3"},[e._v("Invite friends to your groups")]),e._v(" "),t("div",{staticClass:"form-group",staticStyle:{position:"relative"}},[t("span",{staticStyle:{position:"absolute",top:"50%",transform:"translateY(-50%)",left:"15px","padding-right":"5px"}},[t("i",{staticClass:"fas fa-search text-lighter"})]),e._v(" "),t("input",{staticClass:"form-control bg-white rounded-pill",staticStyle:{"padding-left":"40px"},attrs:{placeholder:"Search username..."}})])])]),e._v(" "),t("hr"),e._v(" "),t("div",{staticClass:"p-4 mb-2"},[t("p",{staticClass:"h4 font-weight-bold mb-1 text-center"},[e._v("Invitations Sent")])]),e._v(" "),t("div",{staticClass:"px-4 mb-4"},[t("p",{staticClass:"font-weight-bold text-center text-muted"},[e._v("You have not sent any group invites")])])])])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfNotifications.vue?vue&type=template&id=bb64d8f6": /*!******************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfNotifications.vue?vue&type=template&id=bb64d8f6 ***! \******************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"group-notification-component col-12 col-md-9",staticStyle:{height:"100vh - 51px !important",overflow:"hidden"}},[t("div",{staticClass:"row h-100 bg-white"},[t("div",{staticClass:"col-12 col-md-8 border-left"},[t("div",{staticClass:"px-5"},[e._m(0),e._v(" "),e._l(e.notifications,(function(s,o){return e.notifications.length>0?t("div",{staticClass:"nitem card card-body shadow-none mb-3 py-2 px-0 rounded-pill",staticStyle:{"background-color":"#F3F4F6"}},[t("div",{staticClass:"media align-items-center px-3"},[t("img",{staticClass:"mr-3 rounded-circle",staticStyle:{border:"1px solid #ccc"},attrs:{src:s.account.avatar,alt:"",width:"32px",height:"32px"}}),e._v(" "),t("div",{staticClass:"media-body"},["group:like"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{attrs:{href:e.getProfileUrl(s.account),"data-placement":"bottom","data-toggle":"tooltip",title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" liked your "),t("a",{attrs:{href:e.getPostUrl(s.status)}},[e._v("post")]),e._v(" in "),t("a",{attrs:{href:s.group.url}},[e._v(e._s(s.group.name))])])]):"group:comment"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" commented on your "),t("a",{staticClass:"font-weight-bold",attrs:{href:s.status.url}},[e._v("post")]),e._v(" in "),t("a",{attrs:{href:s.group.url}},[e._v(e._s(s.group.name))])])]):"mention"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{attrs:{href:e.getProfileUrl(s.account),"data-placement":"bottom","data-toggle":"tooltip",title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" "),t("a",{attrs:{href:e.mentionUrl(s.status)}},[e._v("mentioned")]),e._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"group.join.approved"==s.type?t("div",[t("p",{staticClass:"my-0"},[e._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[e._v(e._s(e.truncate(s.group.name)))]),e._v(" was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?t("div",[t("p",{staticClass:"my-0"},[e._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[e._v(e._s(e.truncate(s.group.name)))]),e._v(" was rejected. You can re-apply to join in 6 months.\n\t\t\t\t\t\t\t\t\t")])]):t("div",[t("p",{staticClass:"my-0"},[e._v("Cannot display notification")])])]),e._v(" "),t("div",[t("div",{staticClass:"align-items-center text-muted"},[t("span",{staticClass:"small",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:s.created_at}},[e._v(e._s(e.timeAgo(s.created_at)))]),e._v(" "),t("span",[e._v("·")]),e._v(" "),e._m(1,!0)])])])]):e._e()}))],2)]),e._v(" "),t("div",{staticClass:"col-12 col-md-4 border-left bg-light"})])])},a=[function(){var e=this._self._c;return e("div",{staticClass:"my-4"},[e("p",{staticClass:"h1 font-weight-bold mb-1"},[this._v("Group Notifications")])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"dropdown d-inline"},[t("a",{staticClass:"dropdown-toggle text-lighter",attrs:{href:"#",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[t("i",{staticClass:"far fa-cog fa-sm"})]),e._v(" "),t("div",{staticClass:"dropdown-menu dropdown-menu-right"},[t("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"#"}},[e._v("Dismiss")]),e._v(" "),t("div",{staticClass:"dropdown-divider"}),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"#"}},[e._v("Help")]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"#"}},[e._v("Report")])])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfRemoteSearch.vue?vue&type=template&id=45ee2481": /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/SelfRemoteSearch.vue?vue&type=template&id=45ee2481 ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"col-12 col-md-9",staticStyle:{height:"100vh - 51px !important",overflow:"hidden"}},[t("div",{staticClass:"row h-100 bg-lighter"},[t("div",{staticClass:"col-12 col-md-8 border-left"},[e._m(0),e._v(" "),t("div",{staticClass:"mb-5"},[t("div",{staticClass:"p-4 mb-4"},[t("div",{staticClass:"form-group"},[t("label",[e._v("Group URL")]),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:e.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:e.q},on:{input:function(t){t.target.composing||(e.q=t.target.value)}}})]),e._v(" "),t("button",{staticClass:"btn btn-primary btn-block btn-lg rounded-pill font-weight-bold"},[e._v("Search")])])])]),e._v(" "),e._m(1)])])},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"d-flex justify-content-center"},[t("div",{staticClass:"p-4 mb-4"},[t("p",{staticClass:"h4 font-weight-bold mb-1"},[e._v("Find a Remote Group")]),e._v(" "),t("p",{staticClass:"lead text-muted"},[e._v("Search and explore remote federated groups.")])])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"col-12 col-md-4 bg-white border-left"},[t("div",{staticClass:"my-4"},[t("h4",{staticClass:"font-weight-bold"},[e._v("Tips")]),e._v(" "),t("ul",{staticClass:"pl-3"},[t("li",{staticClass:"font-weight-bold"},[e._v("Some remote groups are not supported*")]),e._v(" "),t("li",[e._v("Read and comply with group rules defined by group admins")]),e._v(" "),t("li",[e._v("Use the full "),t("span",{staticClass:"font-weight-bold"},[e._v("Group URL")]),e._v(" including "),t("code",[e._v("https://")])]),e._v(" "),t("li",[e._v("Joining private groups requires manual approval from group admins, you will recieve a notification when your membership is approved")]),e._v(" "),t("li",[e._v("Inviting people to remote groups is not supported yet")]),e._v(" "),t("li",[e._v("Your group membership may be terminated at any time by group admins")])]),e._v(" "),t("p",{staticClass:"small"},[e._v("* Some remote groups may not be compatible, we are working to support other group implementations")])])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Status/GroupHeader.vue?vue&type=template&id=7939d676&scoped=true": /*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Status/GroupHeader.vue?vue&type=template&id=7939d676&scoped=true ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e,t,s=this,o=s._self._c;return o("div",{staticClass:"group-post-header media"},[s.showGroupHeader?o("div",{staticClass:"mb-1",staticStyle:{position:"relative"}},[s.group.hasOwnProperty("metadata")&&(s.group.metadata.hasOwnProperty("avatar")||s.group.metadata.hasOwnProperty("header"))?o("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"}}):o("span",{staticClass:"d-block rounded-lg box-shadow mr-2 bg-primary",staticStyle:{width:"52px",height:"52px"}}),s._v(" "),o("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"}})]):o("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(" "),o("div",{staticClass:"media-body"},[o("div",{staticClass:"pl-2 d-flex align-items-top"},[o("div",[o("p",{staticClass:"mb-0"},[s.showGroupHeader&&s.group?o("router-link",{staticClass:"group-name-link username",attrs:{to:"/groups/".concat(s.status.gid)}},[s._v("\n "+s._s(s.group.name)+"\n ")]):o("router-link",{staticClass:"group-name-link 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(" "),s.showGroupChevron?o("span",[s._m(0),s._v(" "),o("span",[o("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(" "),o("p",{staticClass:"mb-0 mt-n1"},[s.showGroupHeader&&s.group?o("span",{staticStyle:{"font-size":"13px"}},[o("router-link",{staticClass:"group-name-link-small 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(" "),o("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),o("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(" "),o("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),s._m(1)],1):o("span",[o("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(" "),o("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),s._m(2)],1)])]),s._v(" "),s.profile?o("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[o("div",{staticClass:"dropdown"},[s._m(3),s._v(" "),o("div",{staticClass:"dropdown-menu dropdown-menu-right"},[o("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[s._v("View Post")]),s._v(" "),o("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[s._v("View Profile")]),s._v(" "),o("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[s._v("Copy Link")]),s._v(" "),o("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),s.sendReport()}}},[s._v("Report")]),s._v(" "),o("div",{staticClass:"dropdown-divider"}),s._v(" "),o("a",{staticClass:"dropdown-item text-danger",attrs:{href:"#"}},[s._v("Delete")])])])]):s._e()])])])},a=[function(){var e=this._self._c;return e("span",{staticClass:"text-muted",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[e("i",{staticClass:"fas fa-caret-right"})])},function(){var e=this._self._c;return e("span",{staticClass:"text-muted"},[e("i",{staticClass:"fas fa-globe"})])},function(){var e=this._self._c;return e("span",{staticClass:"text-muted small"},[e("i",{staticClass:"fas fa-globe"})])},function(){var e=this._self._c;return e("button",{staticClass:"btn btn-link dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"})])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Status/ParentUnavailable.vue?vue&type=template&id=47e8fb50": /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/partials/Status/ParentUnavailable.vue?vue&type=template&id=47e8fb50 ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"18px !important"}},[t("div",{staticClass:"card-body pb-0"},[e._m(0),e._v(" "),t("div",[e.showCommentDrawer?t("comment-drawer",{attrs:{"permalink-mode":e.permalinkMode,"permalink-status":e.childContext,status:e.status,profile:e.profile,"group-id":e.groupId,"can-reply":!1}}):e._e()],1)])])},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"card card-body border shadow-none mb-3",staticStyle:{"background-color":"#E5E7EB"}},[t("div",{staticClass:"media p-md-4"},[t("div",{staticClass:"mr-4 pt-2"},[t("i",{staticClass:"fas fa-lock fa-2x"})]),e._v(" "),t("div",{staticClass:"media-body",staticStyle:{"max-width":"320px"}},[t("p",{staticClass:"lead font-weight-bold mb-1"},[e._v("This content isn't available right now")]),e._v(" "),t("p",{staticClass:"mb-0",staticStyle:{"font-size":"12px","letter-spacing":"-0.3px"}},[e._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.")])])])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/sections/Loader.vue?vue&type=template&id=7311c184": /*!*******************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/sections/Loader.vue?vue&type=template&id=7311c184 ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"w-100 h-100"},[e.loaded?e._e():t("div",{staticClass:"d-flex w-100 h-100 py-5 justify-content-center align-items-center"},[e._m(0)])])},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"text-center"},[t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[e._v("Loading...")])]),e._v(" "),t("p",{staticClass:"text-center font-weight-bold mt-1"},[e._v("Loading...")])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/sections/Sidebar.vue?vue&type=template&id=64e8177e": /*!********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/groups/sections/Sidebar.vue?vue&type=template&id=64e8177e ***! \********************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"col-3 shadow groups-sidenav"},[t("div",{staticClass:"p-1"},[e._m(0),e._v(" "),t("div",{staticClass:"mb-3"},[t("autocomplete",{ref:"autocomplete",attrs:{search:e.autocompleteSearch,placeholder:"Search groups by name","aria-label":"Search groups by name","get-result-value":e.getSearchResultValue,debounceTime:700},on:{submit:e.onSearchSubmit},scopedSlots:e._u([{key:"result",fn:function(s){var o=s.result,a=s.props;return[t("li",e._b({staticClass:"autocomplete-result"},"li",a,!1),[t("div",{staticClass:"media align-items-center"},[o.local&&o.metadata&&o.metadata.hasOwnProperty("header")&&o.metadata.header.hasOwnProperty("url")?t("img",{attrs:{src:o.metadata.header.url,width:"32",height:"32"}}):t("div",{staticClass:"icon-placeholder"},[t("i",{staticClass:"fal fa-user-friends"})]),e._v(" "),t("div",{staticClass:"media-body text-truncate mr-3"},[t("p",{staticClass:"result-name mb-n1 font-weight-bold"},[e._v("\n "+e._s(e.truncateName(o.name))+"\n "),o.verified?t("span",{staticClass:"fa-stack ml-n2",attrs:{title:"Verified Group","data-toggle":"tooltip"}},[t("i",{staticClass:"fas fa-circle fa-stack-1x fa-lg",staticStyle:{color:"#22a7f0cc","font-size":"18px"}}),e._v(" "),t("i",{staticClass:"fas fa-check fa-stack-1x text-white",staticStyle:{"font-size":"10px"}})]):e._e()]),e._v(" "),t("p",{staticClass:"mb-0 text-muted",staticStyle:{"font-size":"10px"}},[o.local?e._e():t("span",{attrs:{title:"Remote Group"}},[t("i",{staticClass:"far fa-globe"})]),e._v(" "),o.local?e._e():t("span",[e._v("·")]),e._v(" "),t("span",{staticClass:"font-weight-bold"},[e._v(e._s(o.member_count)+" members")])])])])])]}}])})],1),e._v(" "),e._l(e.tabs,(function(s){return[t("router-link",{staticClass:"btn btn-light group-nav-btn",attrs:{to:s.path}},[t("div",{staticClass:"group-nav-btn-icon"},[t("i",{class:s.icon})]),e._v(" "),t("div",{staticClass:"group-nav-btn-name"},[e._v("\n "+e._s(s.name)+"\n ")])])]})),e._v(" "),t("router-link",{staticClass:"btn btn-primary btn-block rounded-pill font-weight-bold mt-3",attrs:{to:"/groups/create"}},[t("i",{staticClass:"fas fa-plus mr-2"}),e._v(" Create New Group\n ")]),e._v(" "),t("hr")],2)])},a=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"d-flex justify-content-between align-items-center py-3"},[t("p",{staticClass:"h2 font-weight-bold mb-0"},[e._v("Groups")]),e._v(" "),t("a",{staticClass:"btn btn-light px-2 rounded-circle",attrs:{href:"/settings/home"}},[t("i",{staticClass:"fas fa-cog fa-lg"})])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/partials/navbar.vue?vue&type=template&id=1da66638": /*!************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/partials/navbar.vue?vue&type=template&id=1da66638 ***! \************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("nav",{staticClass:"metro-nav navbar navbar-expand navbar-light navbar-laravel sticky-top shadow-sm py-1"},[t("div",{staticClass:"container-fluid"},[t("a",{staticClass:"navbar-brand d-flex align-items-center",attrs:{href:"/i/web",title:"Logo"}},[t("img",{staticClass:"px-2",attrs:{src:"/img/pixelfed-icon-color.svg",height:"30px",loading:"eager",alt:"Pixelfed logo"}}),e._v(" "),t("span",{staticClass:"font-weight-bold mb-0 d-none d-sm-block",staticStyle:{"font-size":"20px"}},[e._v("\n\t\t\t\t\t"+e._s(e.brandName)+"\n\t\t\t\t")])]),e._v(" "),t("div",{staticClass:"collapse navbar-collapse"},[t("div",{staticClass:"navbar-nav ml-auto"},[t("autocomplete",{ref:"autocomplete",staticClass:"searchbox",attrs:{search:e.autocompleteSearch,placeholder:e.$t("navmenu.search"),"aria-label":"Search","get-result-value":e.getSearchResultValue,debounceTime:700},on:{submit:e.onSearchSubmit},scopedSlots:e._u([{key:"result",fn:function(s){var o=s.result,a=s.props;return[t("li",e._b({staticClass:"autocomplete-result sr"},"li",a,!1),["account"===o.s_type?t("div",{staticClass:"media align-items-center my-0"},[t("img",{staticClass:"sr-avatar",staticStyle:{"border-radius":"40px"},attrs:{src:o.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.png?v=0';this.onerror=null;"}}),e._v(" "),t("div",{staticClass:"media-body sr-account"},[t("div",{staticClass:"sr-account-acct",class:{compact:o.acct&&o.acct.length>24}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t@"+e._s(o.acct)+"\n\t\t\t\t\t\t\t\t\t\t\t"),o.locked?t("b-button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.html",modifiers:{html:!0}}],staticClass:"p-0",attrs:{title:"Private Account",variant:"link",size:"sm"}},[t("i",{staticClass:"far fa-lock fa-sm text-lighter ml-1"})]):e._e()],1),e._v(" "),o.is_admin?[t("div",{staticClass:"sr-account-stats"},[t("div",{staticClass:"sr-account-stats-followers text-danger font-weight-bold"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\tAdmin\n\t\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("div",[e._v("·")]),e._v(" "),t("div",{staticClass:"sr-account-stats-followers font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(o.followers_count)))]),e._v(" "),t("span",[e._v("Followers")])])])]:[o.local?[t("div",{staticClass:"sr-account-stats"},[o.followers_count?t("div",{staticClass:"sr-account-stats-followers font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(o.followers_count)))]),e._v(" "),t("span",[e._v("Followers")])]):e._e(),e._v(" "),o.followers_count&&o.statuses_count?t("div",[e._v("·")]):e._e(),e._v(" "),o.statuses_count?t("div",{staticClass:"sr-account-stats-statuses font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(o.statuses_count)))]),e._v(" "),t("span",[e._v("Posts")])]):e._e(),e._v(" "),!o.followers_count&&o.statuses_count?t("div",[e._v("·")]):e._e(),e._v(" "),t("div",{staticClass:"sr-account-stats-statuses font-weight-bold"},[t("i",{staticClass:"far fa-clock fa-sm"}),e._v(" "),t("span",[e._v(e._s(e.timeAgo(o.created_at)))])])])]:[t("div",{staticClass:"sr-account-stats"},[o.followers_count?t("div",{staticClass:"sr-account-stats-followers font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(o.followers_count)))]),e._v(" "),t("span",[e._v("Followers")])]):e._e(),e._v(" "),o.followers_count&&o.statuses_count?t("div",[e._v("·")]):e._e(),e._v(" "),o.statuses_count?t("div",{staticClass:"sr-account-stats-statuses font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(o.statuses_count)))]),e._v(" "),t("span",[e._v("Posts")])]):e._e(),e._v(" "),!o.followers_count&&o.statuses_count?t("div",[e._v("·")]):e._e(),e._v(" "),o.followers_count||o.statuses_count?e._e():t("div",{staticClass:"sr-account-stats-statuses font-weight-bold"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemote Account\n\t\t\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),o.followers_count||o.statuses_count?e._e():t("div",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t·\n\t\t\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("b-button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.html",modifiers:{html:!0}}],staticClass:"sr-account-stats-statuses p-0",attrs:{title:"Joined "+e.timeAgo(o.created_at)+" ago",variant:"link",size:"sm"}},[t("i",{staticClass:"far fa-clock fa-sm"}),e._v(" "),t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.timeAgo(o.created_at)))])])],1)]]],2)]):"hashtag"===o.s_type?t("div",{staticClass:"media align-items-center my-0"},[t("div",{staticClass:"media-icon"},[t("i",{staticClass:"far fa-hashtag fa-large"})]),e._v(" "),t("div",{staticClass:"media-body sr-tag"},[t("div",{staticClass:"sr-tag-name",class:{compact:o.name&&o.name.length>26}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t#"+e._s(o.name)+"\n\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),o.count&&o.count>100?t("div",{staticClass:"sr-tag-count"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.formatCount(o.count))+" "+e._s(1==o.count?"Post":"Posts")+"\n\t\t\t\t\t\t\t\t\t\t")]):e._e()])]):"status"===o.s_type?t("div",{staticClass:"media align-items-center my-0"},[t("img",{staticClass:"sr-avatar",staticStyle:{"border-radius":"40px"},attrs:{src:o.account.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.png?v=0';this.onerror=null;"}}),e._v(" "),t("div",{staticClass:"media-body sr-post"},[t("div",{staticClass:"sr-post-acct",class:{compact:o.acct&&o.acct.length>26}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t@"+e._s(e.truncate(o.account.acct,20))+"\n\t\t\t\t\t\t\t\t\t\t\t"),o.locked?t("b-button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.html",modifiers:{html:!0}}],staticClass:"p-0",attrs:{title:"Private Account",variant:"link",size:"sm"}},[t("i",{staticClass:"far fa-lock fa-sm text-lighter ml-1"})]):e._e()],1),e._v(" "),t("div",{staticClass:"sr-post-action"},[t("div",{staticClass:"sr-post-action-timestamp"},[t("i",{staticClass:"far fa-clock fa-sm"}),e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.timeAgo(o.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("div",[e._v("·")]),e._v(" "),t("div",{staticClass:"sr-post-action-label"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\tTap to view post\n\t\t\t\t\t\t\t\t\t\t\t")])])])]):e._e()])]}}])})],1),e._v(" "),t("div",{staticClass:"ml-auto"},[t("ul",{staticClass:"navbar-nav align-items-center"},[t("li",{staticClass:"nav-item dropdown ml-2"},[t("a",{staticClass:"nav-link dropdown-toggle",attrs:{id:"navbarDropdown",href:"#",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"User Menu"}},[t("i",{staticClass:"d-none far fa-user fa-lg text-dark"}),e._v(" "),t("span",{staticClass:"sr-only"},[e._v("User Menu")]),e._v(" "),t("img",{staticClass:"nav-avatar rounded-circle border shadow",attrs:{src:e.user.avatar,width:"30",height:"30",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),e._v(" "),t("div",{staticClass:"dropdown-menu dropdown-menu-right shadow",attrs:{"aria-labelledby":"navbarDropdown"}},[t("ul",{staticClass:"nav flex-column"},[t("li",{staticClass:"nav-item nav-icons"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web"}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.homeFeed")))])]),e._v(" "),e.hasLocalTimeline?t("router-link",{staticClass:"nav-link text-center",attrs:{to:{name:"timeline",params:{scope:"local"}}}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.localFeed")))])]):e._e(),e._v(" "),e.hasNetworkTimeline?t("router-link",{staticClass:"nav-link text-center",attrs:{to:{name:"timeline",params:{scope:"global"}}}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.globalFeed")))])]):e._e()],1)]),e._v(" "),t("li",{staticClass:"nav-item nav-icons"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web/discover"}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-compass"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.discover")))])]),e._v(" "),t("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web/notifications"}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-bell"})]),e._v(" "),t("div",{staticClass:"small"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),t("router-link",{staticClass:"nav-link text-center px-3",attrs:{to:"/i/web/profile/"+e.user.id}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-user"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.profile")))])])],1),e._v(" "),t("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),e._v(" "),t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/compose"}},[t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-plus-square"})]),e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.compose"))+"\n\t\t\t\t\t\t\t\t\t\t")])],1),e._v(" "),t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[t("span",[t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-envelope"})]),e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])],1),e._v(" "),t("li",{staticClass:"nav-item"},[t("a",{staticClass:"nav-link",attrs:{href:"/i/web"},on:{click:function(t){return t.preventDefault(),e.openUserInterfaceSettings.apply(null,arguments)}}},[e._m(0),e._v("\n\t\t\t\t\t\t\t\t\t\t\tUI Settings\n\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),e.user.is_admin?t("li",{staticClass:"nav-item"},[t("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),e._v(" "),t("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[e._m(1),e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.admin"))+"\n\t\t\t\t\t\t\t\t\t\t")])]):e._e(),e._v(" "),t("li",{staticClass:"nav-item"},[t("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),e._v(" "),t("a",{staticClass:"nav-link",attrs:{href:"/"}},[e._m(2),e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),t("li",{staticClass:"nav-item"},[t("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),e._v(" "),t("a",{staticClass:"nav-link",attrs:{href:"/"},on:{click:function(t){return t.preventDefault(),e.logout()}}},[e._m(3),e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.logout"))+"\n\t\t\t\t\t\t\t\t\t\t")])])])])])])])])]),e._v(" "),t("b-modal",{ref:"uis",attrs:{"hide-footer":"",centered:"","body-class":"p-0 ui-menu",title:"UI Settings"}},[t("div",{staticClass:"list-group list-group-flush"},[t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-1"},[e._v("Theme")]),e._v(" "),t("p",{staticClass:"small text-muted mb-0"})]),e._v(" "),t("div",{staticClass:"btn-group btn-group-sm"},[t("button",{staticClass:"btn",class:["system"==e.uiColorScheme?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleUi("system")}}},[e._v("\n\t\t\t\t\t\t\tAuto\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn",class:["light"==e.uiColorScheme?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleUi("light")}}},[e._v("\n\t\t\t\t\t\t\tLight mode\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn",class:["dark"==e.uiColorScheme?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleUi("dark")}}},[e._v("\n\t\t\t\t\t\t\tDark mode\n\t\t\t\t\t\t")])])])]),e._v(" "),t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-1"},[e._v("Profile Layout")]),e._v(" "),t("p",{staticClass:"small text-muted mb-0"})]),e._v(" "),t("div",{staticClass:"btn-group btn-group-sm"},[t("button",{staticClass:"btn",class:["grid"==e.profileLayout?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleProfileLayout("grid")}}},[e._v("\n\t\t\t\t\t\t\tGrid\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn",class:["masonry"==e.profileLayout?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleProfileLayout("masonry")}}},[e._v("\n\t\t\t\t\t\t\tMasonry\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn",class:["feed"==e.profileLayout?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleProfileLayout("feed")}}},[e._v("\n\t\t\t\t\t\t\tFeed\n\t\t\t\t\t\t")])])])]),e._v(" "),t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-0"},[e._v("Compact Media Previews")])]),e._v(" "),t("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:e.fixedHeight,callback:function(t){e.fixedHeight=t},expression:"fixedHeight"}})],1)]),e._v(" "),t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-0"},[e._v("Load Comments")])]),e._v(" "),t("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:e.autoloadComments,callback:function(t){e.autoloadComments=t},expression:"autoloadComments"}})],1)]),e._v(" "),t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-0"},[e._v("Hide Counts & Stats")])]),e._v(" "),t("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:e.hideCounts,callback:function(t){e.hideCounts=t},expression:"hideCounts"}})],1)])])])],1)},a=[function(){var e=this._self._c;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-brush"})])},function(){var e=this._self._c;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-tools"})])},function(){var e=this._self._c;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"fas fa-chevron-left"})])},function(){var e=this._self._c;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-sign-out"})])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/MixedAlbumPresenter.vue?vue&type=template&id=8c8aa9d0": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/MixedAlbumPresenter.vue?vue&type=template&id=8c8aa9d0 ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",[t("details",{staticClass:"details-animated"},[t("summary",[t("p",{staticClass:"mb-0 lead font-weight-bold"},[e._v(e._s(e.status.spoiler_text?e.status.spoiler_text:"CW / NSFW / Hidden Media"))]),e._v(" "),t("p",{staticClass:"font-weight-light"},[e._v("(click to show)")])]),e._v(" "),t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(s,o){return t("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?t("div",{attrs:{slot:"img",title:s.description},slot:"img"},[t("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'"}})]):t("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[e._v("Error: Problem rendering preview.")])])})),1)],1)]):t("div",{staticClass:"w-100 h-100 p-0"},[t("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},e._l(e.status.media_attachments,(function(s,o){return t("slide",{key:"px-carousel-"+s.id+"-"+o,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?t("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[t("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?t("div",{attrs:{title:s.description}},[t("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'"}})]):t("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[e._v("Error: Problem rendering preview.")])])})),1)],1)},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/PhotoAlbumPresenter.vue?vue&type=template&id=0936dd8f&scoped=true": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/PhotoAlbumPresenter.vue?vue&type=template&id=0936dd8f&scoped=true ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[t("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-"+e.status.id}},e._l(e.status.media_attachments,(function(s,o){return t("slide",{key:"px-carousel-"+s.id+"-"+o,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[t("img",{staticClass:"img-fluid w-100 p-0",attrs:{src:s.url,alt:e.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),e._v(" "),t("div",{staticClass:"album-overlay"},[!e.status.sensitive&&e.sensitive?t("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(t){e.status.sensitive=!0}}},[t("i",{staticClass:"fas fa-eye-slash fa-lg"})]):e._e(),e._v(" "),t("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(t){return t.preventDefault(),e.toggleLightbox.apply(null,arguments)}}},[t("i",{staticClass:"fas fa-expand fa-lg"})]),e._v(" "),e.status.media_attachments[0].license?t("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))"}},[t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.url}},[e._v("Photo")]),e._v(" by "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.account.url}},[e._v("@"+e._s(e.status.account.username))]),e._v(" licensed under "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.media_attachments[0].license.url}},[e._v(e._s(e.status.media_attachments[0].license.title))])]):e._e()])],1)},a=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/PhotoPresenter.vue?vue&type=template&id=ed39a7fc&scoped=true": /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/PhotoPresenter.vue?vue&type=template&id=ed39a7fc&scoped=true ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",[t("div",{staticStyle:{position:"relative"},attrs:{title:e.status.media_attachments[0].description}},[t("img",{staticClass:"card-img-top",attrs:{src:e.status.media_attachments[0].url,loading:"lazy",alt:e.altText(e.status),width:e.width(),height:e.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(t){return t.preventDefault(),e.toggleLightbox.apply(null,arguments)}}}),e._v(" "),!e.status.sensitive&&e.sensitive?t("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(t){e.status.sensitive=!0}}},[t("i",{staticClass:"fas fa-eye-slash fa-lg"})]):e._e(),e._v(" "),e.status.media_attachments[0].license?t("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))"}},[t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.url}},[e._v("Photo")]),e._v(" by "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.account.url}},[e._v("@"+e._s(e.status.account.username))]),e._v(" licensed under "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.media_attachments[0].license.url}},[e._v(e._s(e.status.media_attachments[0].license.title))])]):e._e()])])},a=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/VideoAlbumPresenter.vue?vue&type=template&id=2fd81398": /*!**************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/VideoAlbumPresenter.vue?vue&type=template&id=2fd81398 ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",[t("details",{staticClass:"details-animated"},[t("summary",[t("p",{staticClass:"mb-0 lead font-weight-bold"},[e._v(e._s(e.status.spoiler_text?e.status.spoiler_text:"CW / NSFW / Hidden Media"))]),e._v(" "),t("p",{staticClass:"font-weight-light"},[e._v("(click to show)")])]),e._v(" "),t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(e,s){return t("b-carousel-slide",{key:e.id+"-media"},[t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:e.url,type:e.mime}})])])})),1)],1)]):t("div",[t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(e,s){return t("b-carousel-slide",{key:e.id+"-media"},[t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:e.url,type:e.mime}})])])})),1)],1)},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/VideoPresenter.vue?vue&type=template&id=ff4ed74e&scoped=true": /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/components/presenter/VideoPresenter.vue?vue&type=template&id=ff4ed74e&scoped=true ***! \*********************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",{staticClass:"embed-responsive embed-responsive-16by9"},[t("video",{staticClass:"video",attrs:{controls:"",playsinline:"","webkit-playsinline":"",preload:"metadata",loop:"","data-id":e.status.id,poster:e.poster()}},[t("source",{attrs:{src:e.status.media_attachments[0].url,type:e.status.media_attachments[0].mime}})])])},a=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/NotificationCard.vue?vue&type=template&id=0b80af52&scoped=true": /*!****************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/NotificationCard.vue?vue&type=template&id=0b80af52&scoped=true ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",[t("transition",{attrs:{name:"fade"}},[t("div",{staticClass:"card notification-card shadow-none border"},[e.loading?t("div",{staticClass:"card-body loader text-center",staticStyle:{height:"240px"}},[t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[e._v("Loading...")])])]):e._e(),e._v(" "),!e.loading&&e.notifications.length>0?t("div",{staticClass:"card-body px-0 py-0 contents",staticStyle:{height:"240px","overflow-y":"scroll"}},[e.profile.locked?t("div",{staticClass:"media align-items-center mt-n2 px-3 py-2 border-bottom border-lighter bg-light cursor-pointer",on:{click:function(t){return e.redirect("/account/follow-requests")}}},[t("div",{staticClass:"media-body font-weight-light pt-2 small d-flex align-items-center justify-content-between"},[t("p",{staticClass:"mb-0 text-lighter"},[t("i",{staticClass:"fas fa-cog text-light"})]),e._v(" "),t("p",{staticClass:"text-center pt-1 mb-1 text-dark font-weight-bold"},[t("strong",[e._v(e._s(e.followRequests&&e.followRequests.hasOwnProperty("count")?e.followRequests.count:0))]),e._v(" Follow Requests")]),e._v(" "),t("p",{staticClass:"mb-0 text-lighter"},[t("i",{staticClass:"fas fa-chevron-right"})])])]):e._e(),e._v(" "),e._l(e.notifications,(function(s,o){return e.notifications.length>0?t("div",{staticClass:"media align-items-center px-3 py-2 border-bottom border-light"},[t("img",{staticClass:"mr-2 rounded-circle",staticStyle:{border:"1px solid #ccc"},attrs:{src:s.account.avatar,alt:"",width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),e._v(" "),t("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" liked your\n\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(s.status),id:"fvn-"+s.id}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t\t"),t("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[t("img",{staticStyle:{"object-fit":"cover"},attrs:{src:e.notificationPreview(s),width:"100px",height:"100px"}})])],1):t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(s.status)}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t")])])]):"comment"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" commented on your\n\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(s.status),id:"fvn-"+s.id}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t\t"),t("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[t("img",{staticStyle:{"object-fit":"cover"},attrs:{src:e.notificationPreview(s),width:"100px",height:"100px"}})])],1):t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(s.status)}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t")])])]):"group:comment"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" commented on your "),t("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[e._v("group post")]),e._v(".\n\t\t\t\t\t\t\t")])]):"story:react"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" reacted to your "),t("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[e._v("story")]),e._v(".\n\t\t\t\t\t\t\t")])]):"story:comment"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" commented on your "),t("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[e._v("story")]),e._v(".\n\t\t\t\t\t\t\t")])]):"mention"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" "),t("a",{staticClass:"font-weight-bold",attrs:{href:e.mentionUrl(s.status)}},[e._v("mentioned")]),e._v(" you.\n\t\t\t\t\t\t\t")])]):"follow"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" followed you.\n\t\t\t\t\t\t\t")])]):"share"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" shared your\n\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(s.status),id:"fvn-"+s.id}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t\t"),t("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[t("img",{staticStyle:{"object-fit":"cover"},attrs:{src:e.notificationPreview(s),width:"100px",height:"100px"}})])],1):t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(s.status)}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t")])])]):"modlog"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(e.truncate(s.account.username)))]),e._v(" updated a "),t("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[e._v("modlog")]),e._v(".\n\t\t\t\t\t\t\t")])]):"tagged"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" tagged you in a "),t("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t")])]):"direct"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" sent a "),t("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[e._v("dm")]),e._v(".\n\t\t\t\t\t\t\t")])]):"group.join.approved"==s.type?t("div",[t("p",{staticClass:"my-0"},[e._v("\n\t\t\t\t\t\t\t\tYour application to join the "),t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[e._v(e._s(e.truncate(s.group.name)))]),e._v(" group was approved!\n\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?t("div",[t("p",{staticClass:"my-0"},[e._v("\n\t\t\t\t\t\t\t\tYour application to join "),t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[e._v(e._s(e.truncate(s.group.name)))]),e._v(" was rejected.\n\t\t\t\t\t\t\t")])]):"group:invite"==s.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(s.account),title:s.account.username}},[e._v(e._s(0==s.account.local?"@":"")+e._s(e.truncate(s.account.username)))]),e._v(" invited you to join "),t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[e._v(e._s(s.group.name))]),e._v(".\n\t\t\t\t\t\t\t")])]):t("div",[t("p",{staticClass:"my-0"},[e._v("\n\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t")])])]),e._v(" "),t("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[e._v(e._s(e.timeAgo(s.created_at)))])]):e._e()})),e._v(" "),e.notifications.length?t("div",[t("infinite-loading",{on:{infinite:e.infiniteNotifications}},[t("div",{staticClass:"font-weight-bold",attrs:{slot:"no-results"},slot:"no-results"}),e._v(" "),t("div",{staticClass:"font-weight-bold",attrs:{slot:"no-more"},slot:"no-more"})])],1):e._e(),e._v(" "),0==e.notifications.length?t("div",{staticClass:"text-lighter text-center py-3"},[t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fas fa-inbox fa-3x"})]),e._v(" "),t("p",{staticClass:"mb-0 small font-weight-bold"},[e._v("0 Notifications!")])]):e._e()],2):e._e(),e._v(" "),e.loading||e.notifications.length?e._e():t("div",{staticClass:"card-body px-0 py-0",staticStyle:{height:"240px"}},[t("div",{staticClass:"text-lighter text-center py-3"},[t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fas fa-inbox fa-3x"})]),e._v(" "),t("p",{staticClass:"mb-0 small font-weight-bold"},[e._v("No notifications yet")]),e._v(" "),e.showRefresh&&!e.attemptedRefresh?t("p",{staticClass:"mt-2 small font-weight-bold text-primary cursor-pointer",on:{click:e.refreshNotifications}},[t("i",{staticClass:"fas fa-redo"}),e._v(" Refresh")]):e._e()])])])])],1)},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/PostMenu.vue?vue&type=template&id=bb77b854&scoped=true": /*!********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/PostMenu.vue?vue&type=template&id=bb77b854&scoped=true ***! \********************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",["true"!=e.modal?t("div",{staticClass:"dropdown"},[t("button",{staticClass:"btn btn-link text-dark no-caret dropdown-toggle py-0",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"Post options"}},[t("span",{class:["lg"==e.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),e._v(" "),t("div",{staticClass:"dropdown-menu dropdown-menu-right"},[t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",attrs:{href:e.status.url}},[e._v("Go to post")]),e._v(" "),1==e.activeSession&&0==e.statusOwner(e.status)?t("span",[t("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:e.reportUrl(e.status)}},[e._v("Report")])]):e._e(),e._v(" "),1==e.activeSession&&1==e.statusOwner(e.status)?t("span",[t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return t.preventDefault(),e.muteProfile(e.status)}}},[e._v("Mute Profile")]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return t.preventDefault(),e.blockProfile(e.status)}}},[e._v("Block Profile")])]):e._e(),e._v(" "),1==e.activeSession&&1==e.profile.is_admin?t("span",[t("div",{staticClass:"dropdown-divider"}),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-danger text-decoration-none",on:{click:function(t){return e.deletePost(e.status)}}},[e._v("Delete")]),e._v(" "),t("div",{staticClass:"dropdown-divider"}),e._v(" "),t("h6",{staticClass:"dropdown-header"},[e._v("Mod Tools")]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"autocw")}}},[t("p",{staticClass:"mb-0"},[e._v("Enforce CW")]),e._v(" "),e._m(0)]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"noautolink")}}},[t("p",{staticClass:"mb-0"},[e._v("No Autolinking")]),e._v(" "),e._m(1)]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"unlisted")}}},[t("p",{staticClass:"mb-0"},[e._v("Unlisted Posts")]),e._v(" "),e._m(2)]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"disable")}}},[t("p",{staticClass:"mb-0"},[e._v("Disable Account")]),e._v(" "),e._m(3)]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"suspend")}}},[t("p",{staticClass:"mb-0"},[e._v("Suspend Account")]),e._v(" "),e._m(4)])]):e._e()])]):e._e(),e._v(" "),"true"==e.modal?t("div",[t("span",{attrs:{"data-toggle":"modal","data-target":"#mt_pid_"+e.status.id}},[t("span",{class:["lg"==e.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),e._v(" "),t("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"mt_pid_"+e.status.id}},[t("div",{staticClass:"modal-dialog modal-sm modal-dialog-centered",attrs:{role:"document"}},[t("div",{staticClass:"modal-content"},[t("div",{staticClass:"modal-body text-center"},[t("div",{staticClass:"list-group"},[t("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:e.statusUrl(e.status)}},[e._v("Go to post")]),e._v(" "),t("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.hidePost(e.status)}}},[e._v("Hide")]),e._v(" "),1!=e.activeSession||e.statusOwner(e.status)?e._e():t("a",{staticClass:"list-group-item text-danger font-weight-bold text-decoration-none",attrs:{href:e.reportUrl(e.status)}},[e._v("Report")]),e._v(" "),1==e.activeSession&&1==e.statusOwner(e.status)||1==e.profile.is_admin?t("div",{staticClass:"list-group-item text-danger font-weight-bold cursor-pointer",on:{click:function(t){return t.preventDefault(),e.deletePost.apply(null,arguments)}}},[e._v("Delete")]):e._e(),e._v(" "),t("a",{staticClass:"list-group-item text-lighter text-decoration-none",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.closeModal()}}},[e._v("Close")])])])])])])]):e._e()])},a=[function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("Adds a CW to every post "),t("br"),e._v(" made by this account.")])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("Do not transform mentions, "),t("br"),e._v(" hashtags or urls into HTML.")])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("Removes account from "),t("br"),e._v(" public/network timelines.")])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("Temporarily disable account "),t("br"),e._v(" until next time user log in.")])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("This prevents any new interactions, "),t("br"),e._v(" without deleting existing data.")])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/StoryTimelineComponent.vue?vue&type=template&id=3ffb4cbe&scoped=true": /*!**********************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/StoryTimelineComponent.vue?vue&type=template&id=3ffb4cbe&scoped=true ***! \**********************************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",[e.show?t("div",{staticClass:"card card-body p-0 border mt-md-4 mb-md-3 shadow-none"},[e.loading?t("div",{staticClass:"w-100 h-100 d-flex align-items-center justify-content-center"},[e._m(0)]):t("div",{staticClass:"d-flex align-items-center justify-content-start scrolly"},e._l(e.stories,(function(s,o){return t("div",{staticClass:"px-3 pt-3 text-center cursor-pointer",class:{seen:s.seen},on:{click:function(t){return e.showStory(o)}}},[t("span",{staticClass:"mb-1 ring",class:[s.seen?"not-seen":"",s.local?"":"remote"]},[t("img",{staticClass:"rounded-circle border",attrs:{src:s.avatar,width:"60",height:"60",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),t("p",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"small font-weight-bold text-truncate",class:{"text-lighter":s.seen},staticStyle:{"max-width":"69px"},attrs:{placement:"bottom",title:s.username}},[e._v("\n\t\t\t\t\t"+e._s(s.username)+"\n\t\t\t\t")])])})),0)]):e._e()])},a=[function(){var e=this._self._c;return e("div",{staticClass:"spinner-border spinner-border-sm text-lighter",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/partials/ContextMenu.vue?vue&type=template&id=65709e28": /*!********************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/partials/ContextMenu.vue?vue&type=template&id=65709e28 ***! \********************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"modal-stack"},[t("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[t("div",{staticClass:"list-group text-center"},["archived"!==e.status.visibility?t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.ctxMenuGoToPost()}}},[e._v("View Post")]):e._e(),e._v(" "),"archived"!==e.status.visibility?t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.ctxMenuGoToProfile()}}},[e._v("View Profile")]):e._e(),e._v(" "),"archived"!==e.status.visibility?t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.ctxMenuShare()}}},[e._v("Share")]):e._e(),e._v(" "),e.status&&e.profile&&1==e.profile.is_admin&&"archived"!==e.status.visibility?t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.ctxModMenuShow()}}},[e._v("Moderation Tools")]):e._e(),e._v(" "),e.status&&e.status.account.id!=e.profile.id?t("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(t){return e.ctxMenuReportPost()}}},[e._v("Report")]):e._e(),e._v(" "),e.status&&e.profile.id==e.status.account.id&&"archived"!==e.status.visibility?t("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(t){return e.archivePost(e.status)}}},[e._v("Archive")]):e._e(),e._v(" "),e.status&&e.profile.id==e.status.account.id&&"archived"==e.status.visibility?t("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(t){return e.unarchivePost(e.status)}}},[e._v("Unarchive")]):e._e(),e._v(" "),e.status&&(e.profile.is_admin||e.profile.id==e.status.account.id)&&"archived"!==e.status.visibility?t("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(t){return e.deletePost(e.status)}}},[e._v("Delete")]):e._e(),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(t){return e.closeCtxMenu()}}},[e._v("Cancel")])])]),e._v(" "),t("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"}},[t("div",{staticClass:"list-group text-center"},[t("p",{staticClass:"py-2 px-3 mb-0"}),t("div",{staticClass:"text-center font-weight-bold text-danger"},[e._v("Moderation Tools")]),e._v(" "),t("div",{staticClass:"small text-center text-muted"},[e._v("Select one of the following options")]),e._v(" "),t("p"),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.moderatePost(e.status,"unlist")}}},[e._v("Unlist from Timelines")]),e._v(" "),e.status.sensitive?t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.moderatePost(e.status,"remcw")}}},[e._v("Remove Content Warning")]):t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.moderatePost(e.status,"addcw")}}},[e._v("Add Content Warning")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.moderatePost(e.status,"spammer")}}},[e._v("\n\t\t\t\tMark as Spammer"),t("br"),e._v(" "),t("span",{staticClass:"small"},[e._v("Unlist + CW existing and future posts")])]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(t){return e.ctxModMenuClose()}}},[e._v("Cancel")])])]),e._v(" "),t("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"}},[t("div",{staticClass:"list-group text-center"},[t("p",{staticClass:"py-2 px-3 mb-0"}),t("div",{staticClass:"text-center font-weight-bold text-danger"},[e._v("Moderation Tools")]),e._v(" "),t("div",{staticClass:"small text-center text-muted"},[e._v("Select one of the following options")]),e._v(" "),t("p"),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.confirmModal()}}},[e._v("Unlist Posts")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.confirmModal()}}},[e._v("Moderation Log")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(t){return e.ctxModOtherMenuClose()}}},[e._v("Cancel")])])]),e._v(" "),t("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"}},[t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.shareStatus(e.status,t)}}},[e._v(e._s(e.status.reblogged?"Unshare":"Share")+" to Followers")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.ctxMenuCopyLink()}}},[e._v("Copy Link")]),e._v(" "),e.status&&1==e.status.local&&!e.status.in_reply_to_id?t("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(t){return e.ctxMenuEmbed()}}},[e._v("Embed")]):e._e(),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(t){return e.closeCtxShareMenu()}}},[e._v("Cancel")])]),e._v(" "),t("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[t("div",[t("div",{staticClass:"form-group"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.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:e.ctxEmbedPayload},on:{input:function(t){t.target.composing||(e.ctxEmbedPayload=t.target.value)}}})]),e._v(" "),t("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[t("div",{staticClass:"form-check mr-3"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==e.ctxEmbedCompactMode},domProps:{checked:Array.isArray(e.ctxEmbedShowCaption)?e._i(e.ctxEmbedShowCaption,null)>-1:e.ctxEmbedShowCaption},on:{change:function(t){var s=e.ctxEmbedShowCaption,o=t.target,a=!!o.checked;if(Array.isArray(s)){var n=e._i(s,null);o.checked?n<0&&(e.ctxEmbedShowCaption=s.concat([null])):n>-1&&(e.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else e.ctxEmbedShowCaption=a}}}),e._v(" "),t("label",{staticClass:"form-check-label font-weight-light"},[e._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),e._v(" "),t("div",{staticClass:"form-check mr-3"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==e.ctxEmbedCompactMode},domProps:{checked:Array.isArray(e.ctxEmbedShowLikes)?e._i(e.ctxEmbedShowLikes,null)>-1:e.ctxEmbedShowLikes},on:{change:function(t){var s=e.ctxEmbedShowLikes,o=t.target,a=!!o.checked;if(Array.isArray(s)){var n=e._i(s,null);o.checked?n<0&&(e.ctxEmbedShowLikes=s.concat([null])):n>-1&&(e.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else e.ctxEmbedShowLikes=a}}}),e._v(" "),t("label",{staticClass:"form-check-label font-weight-light"},[e._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),e._v(" "),t("div",{staticClass:"form-check"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.ctxEmbedCompactMode)?e._i(e.ctxEmbedCompactMode,null)>-1:e.ctxEmbedCompactMode},on:{change:function(t){var s=e.ctxEmbedCompactMode,o=t.target,a=!!o.checked;if(Array.isArray(s)){var n=e._i(s,null);o.checked?n<0&&(e.ctxEmbedCompactMode=s.concat([null])):n>-1&&(e.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else e.ctxEmbedCompactMode=a}}}),e._v(" "),t("label",{staticClass:"form-check-label font-weight-light"},[e._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),e._v(" "),t("hr"),e._v(" "),t("button",{class:e.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:e.copiedEmbed},on:{click:e.ctxCopyEmbed}},[e._v(e._s(e.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),e._v(" "),t("p",{staticClass:"mb-0 px-2 small text-muted"},[e._v("By using this embed, you agree to our "),t("a",{attrs:{href:"/site/terms"}},[e._v("Terms of Use")])])])]),e._v(" "),t("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[t("p",{staticClass:"py-2 px-3 mb-0"}),t("div",{staticClass:"text-center font-weight-bold text-danger"},[e._v("Report")]),e._v(" "),t("div",{staticClass:"small text-center text-muted"},[e._v("Select one of the following options")]),e._v(" "),t("p"),e._v(" "),t("div",{staticClass:"list-group text-center"},[t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("spam")}}},[e._v("Spam")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("sensitive")}}},[e._v("Sensitive Content")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("abusive")}}},[e._v("Abusive or Harmful")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.openCtxReportOtherMenu()}}},[e._v("Other")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(t){return e.ctxReportMenuGoBack()}}},[e._v("Cancel")])])]),e._v(" "),t("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"}},[t("p",{staticClass:"py-2 px-3 mb-0"}),t("div",{staticClass:"text-center font-weight-bold text-danger"},[e._v("Report")]),e._v(" "),t("div",{staticClass:"small text-center text-muted"},[e._v("Select one of the following options")]),e._v(" "),t("p"),e._v(" "),t("div",{staticClass:"list-group text-center"},[t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("underage")}}},[e._v("Underage Account")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("copyright")}}},[e._v("Copyright Infringement")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("impersonation")}}},[e._v("Impersonation")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(t){return e.sendReport("scam")}}},[e._v("Scam or Fraud")]),e._v(" "),t("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(t){return e.ctxReportOtherMenuGoBack()}}},[e._v("Cancel")])])]),e._v(" "),t("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[t("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[t("div",[e._v(e._s(this.confirmModalTitle))])]),e._v(" "),t("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[t("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(t){return t.preventDefault(),e.confirmModalCancel()}}},[e._v("Cancel")]),e._v(" "),t("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),e.confirmModalConfirm()}}},[e._v("Confirm")])])])],1)},a=[];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/partials/PollCard.vue?vue&type=template&id=64818ae5": /*!*****************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/partials/PollCard.vue?vue&type=template&id=64818ae5 ***! \*****************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"card shadow-none rounded-0",class:{border:e.showBorder,"border-top-0":!e.showBorderTop}},[t("div",{staticClass:"card-body"},[t("div",{staticClass:"media"},[t("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:e.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),e._v(" "),t("div",{staticClass:"media-body"},[t("div",{staticClass:"pl-2 d-flex align-items-top"},[t("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.status.account.acct)+"\n\t\t\t\t\t\t")]),e._v(" "),t("span",{staticClass:"px-1 text-lighter"},[e._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),e._v(" "),t("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:e.statusUrl(e.status)}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.shortTimestamp(e.status.created_at))+"\n\t\t\t\t\t\t")]),e._v(" "),t("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[e._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),e._v(" "),e._m(0),e._v(" "),t("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[e._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),e._v(" "),t("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[e.status.poll.expired?t("span",[e._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):t("span",[e._v("\n\t\t\t\t\t\t\t\tCloses in "+e._s(e.shortTimestampAhead(e.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),e._v(" "),t("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[t("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(t){return e.ctxMenu()}}},[t("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),e._v(" "),t("span",{staticClass:"sr-only"},[e._v("Post Menu")])])])]),e._v(" "),t("div",{staticClass:"pl-2"},[t("div",{staticClass:"poll py-3"},[t("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[e._m(1),e._v(" "),t("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:e._s(e.status.content)}})]),e._v(" "),t("div",{staticClass:"mb-2"},["vote"===e.tab?t("div",[e._l(e.status.poll.options,(function(s,o){return t("p",[t("button",{staticClass:"btn btn-block lead rounded-pill",class:[o==e.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!e.authenticated},on:{click:function(t){return e.selectOption(o)}}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),e._v(" "),null!=e.selectedIndex?t("p",{staticClass:"text-right"},[t("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(t){return e.submitVote()}}},[e._v("Vote")])]):e._e()],2):"voted"===e.tab?t("div",e._l(e.status.poll.options,(function(s,o){return t("div",{staticClass:"mb-3"},[t("button",{staticClass:"btn btn-block lead rounded-pill",class:[o==e.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("div",{staticClass:"font-weight-bold"},[t("span",{staticClass:"text-muted"},[e._v(e._s(e.calculatePercentage(s))+"%")]),e._v(" "),t("span",{staticClass:"small text-lighter"},[e._v("("+e._s(s.votes_count)+" "+e._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===e.tab?t("div",e._l(e.status.poll.options,(function(s,o){return t("div",{staticClass:"mb-3"},[t("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("div",{staticClass:"font-weight-bold"},[t("span",{staticClass:"text-muted"},[e._v(e._s(e.calculatePercentage(s))+"%")]),e._v(" "),t("span",{staticClass:"small text-lighter"},[e._v("("+e._s(s.votes_count)+" "+e._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):e._e()]),e._v(" "),t("div",[t("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[t("span",[e._v(e._s(e.status.poll.votes_count)+" votes")]),e._v(" "),"results"!=e.tab&&e.authenticated&&!e.activeRefreshTimeout&&1!=e.status.poll.expired&&e.status.poll.voted?t("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.refreshResults()}}},[e._v("Refresh Results")]):e._e(),e._v(" "),"results"!=e.tab&&e.authenticated&&e.refreshingResults?t("span",{staticClass:"text-lighter"},[e._m(2)]):e._e()])]),e._v(" "),t("div",[t("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[e.status.poll.expired?t("span",[e._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):t("span",[e._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+e._s(e.shortTimestampAhead(e.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),e._v(" "),t("context-menu",{ref:"contextMenu",attrs:{status:e.status,profile:e.profile},on:{"status-delete":e.statusDeleted}})],1)},a=[function(){var e=this,t=e._self._c;return t("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[t("i",{staticClass:"fas fa-poll-h"}),e._v(" Poll "),t("sup",{staticClass:"text-lighter"},[e._v("BETA")])])},function(){var e=this._self._c;return e("span",{staticClass:"btn btn-primary px-2 py-1"},[e("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var e=this._self._c;return e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])}];o._withStripped=!0},"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/partials/StatusCard.vue?vue&type=template&id=5fff7ed0": /*!*******************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/assets/js/components/partials/StatusCard.vue?vue&type=template&id=5fff7ed0 ***! \*******************************************************************************************************************************************************************************************************************************************************************************************************/(e,t,s)=>{"use strict";s.r(t),s.d(t,{render:()=>o,staticRenderFns:()=>a});var o=function(){var e=this,t=e._self._c;return t("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===e.size}},["text"===e.status.pf_type?t("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!e.hasTopBorder}},[t("div",{staticClass:"card-body"},[t("div",{staticClass:"media"},[t("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:e.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),e._v(" "),t("div",{staticClass:"media-body"},[t("div",{staticClass:"pl-2 d-flex align-items-top"},[t("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:e.profileUrl(e.status)},domProps:{innerHTML:e._s(e.statusCardUsernameFormat(e.status))}}),e._v(" "),t("span",{staticClass:"px-1 text-lighter"},[e._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),e._v(" "),t("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:e.statusUrl(e.status)}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.shortTimestamp(e.status.created_at))+"\n\t\t\t\t\t\t")]),e._v(" "),t("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[t("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(t){return e.ctxMenu()}}},[t("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),e._v(" "),t("span",{staticClass:"sr-only"},[e._v("Post Menu")])])])]),e._v(" "),t("div",{staticClass:"pl-2"},[e.status.sensitive?t("details",[t("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[e._v("Content Warning")]),e._v(" "),t("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:e._s(e.status.content)}})]):t("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:e._s(e.status.content)}}),e._v(" "),t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!e.status.favourited,"fas text-danger":e.status.favourited},on:{click:function(t){return e.likeStatus(e.status,t)}}}),e._v(" "),t("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(t){return e.commentFocus(e.status,t)}}})])])])])])]):"poll"===e.status.pf_type?t("div",[t("poll-card",{attrs:{status:e.status,profile:e.profile},on:{"status-delete":e.statusDeleted}})],1):t("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[e.status?t("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[t("div",[t("img",{staticClass:"rounded-circle box-shadow",attrs:{src:e.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),e._v(" "),t("div",{staticClass:"pl-2"},[t("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:e.profileUrl(e.status)},domProps:{innerHTML:e._s(e.statusCardUsernameFormat(e.status))}}),e._v(" "),e.status.account.is_admin?t("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[t("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),e._v(" "),t("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):e._e(),e._v(" "),t("div",{staticClass:"d-flex align-items-center"},[e.status.place?t("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+e.status.place.id+"/"+e.status.place.slug,title:"Location","data-toggle":"tooltip"}},[t("i",{staticClass:"fas fa-map-marked-alt"}),e._v(" "+e._s(e.status.place.name)+", "+e._s(e.status.place.country))]):e._e()])]),e._v(" "),t("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[t("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(t){return e.ctxMenu()}}},[t("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),e._v(" "),t("span",{staticClass:"sr-only"},[e._v("Post Menu")])])])]):e._e(),e._v(" "),t("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("photo-presenter",{attrs:{status:e.status},on:{lightbox:e.lightbox,togglecw:function(t){e.status.sensitive=!1}}})],1):"video"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("video-presenter",{attrs:{status:e.status},on:{togglecw:function(t){e.status.sensitive=!1}}})],1):"photo:album"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("photo-album-presenter",{attrs:{status:e.status},on:{lightbox:e.lightbox,togglecw:function(t){e.status.sensitive=!1}}})],1):"video:album"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("video-album-presenter",{attrs:{status:e.status},on:{togglecw:function(t){e.status.sensitive=!1}}})],1):"photo:video:album"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("mixed-album-presenter",{attrs:{status:e.status},on:{lightbox:e.lightbox,togglecw:function(t){e.status.sensitive=!1}}})],1):t("div",{staticClass:"w-100"},[t("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[e._v("Error: Problem rendering preview.")])])]),e._v(" "),e.config.features.label.covid.enabled&&e.status.label&&1==e.status.label.covid?t("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(t){return e.labelRedirect()}}},[t("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[t("span",[t("i",{staticClass:"fas fa-info-circle mr-2"}),e._v("\n\t\t\t\t\tFor information about COVID-19, "+e._s(e.config.features.label.covid.org)+"\n\t\t\t\t")]),e._v(" "),e._m(0)])]):e._e(),e._v(" "),t("div",{staticClass:"card-body"},[e.reactionBar?t("div",{staticClass:"reactions my-1 pb-2"},[e.status.favourited?t("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(t){return e.likeStatus(e.status,t)}}}):t("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(t){return e.likeStatus(e.status,t)}}}),e._v(" "),e.status.comments_disabled?e._e():t("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(t){return e.commentFocus(e.status,t)}}}),e._v(" "),e.status.taggedPeople.length?t("span",{staticClass:"float-right"},[t("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[t("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),e._v(" "),e._l(e.status.taggedPeople,(function(e,s){return t("span",{staticClass:"mr-n2"},[t("a",{attrs:{href:"/"+e.username}},[t("img",{staticClass:"border rounded-circle",attrs:{src:e.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+e.username,alt:"Avatar"}})])])}))],2)]):e._e()]):e._e(),e._v(" "),e.status.liked_by.username&&e.status.liked_by.username!==e.profile.username?t("div",{staticClass:"likes mb-1"},[t("span",{staticClass:"like-count"},[e._v("Liked by\n\t\t\t\t\t"),t("a",{staticClass:"font-weight-bold text-dark",attrs:{href:e.status.liked_by.url}},[e._v(e._s(e.status.liked_by.username))]),e._v(" "),1==e.status.liked_by.others?t("span",[e._v("\n\t\t\t\t\t\tand "),e.status.liked_by.total_count_pretty?t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.status.liked_by.total_count_pretty))]):e._e(),e._v(" "),t("span",{staticClass:"font-weight-bold"},[e._v("others")])]):e._e()])]):e._e(),e._v(" "),"text"!=e.status.pf_type?t("div",{staticClass:"caption"},[e.status.sensitive?e._e():t("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[t("span",{staticClass:"username font-weight-bold"},[t("bdi",[t("a",{staticClass:"text-dark",attrs:{href:e.profileUrl(e.status)}},[e._v(e._s(e.status.account.username))])])]),e._v(" "),t("span",{staticClass:"status-content",domProps:{innerHTML:e._s(e.content)}})])]):e._e(),e._v(" "),t("div",{staticClass:"timestamp mt-2"},[t("p",{staticClass:"small mb-0"},["archived"!=e.status.visibility?t("a",{staticClass:"text-muted text-uppercase",attrs:{href:e.statusUrl(e.status)}},[t("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:e.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:e.timestampFormat(e.status.created_at)}})],1):t("span",{staticClass:"text-muted text-uppercase"},[e._v("\n\t\t\t\t\t\tPosted "),t("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:e.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:e.timestampFormat(e.status.created_at)}})],1),e._v(" "),e.recommended?t("span",[t("span",{staticClass:"px-1"},[e._v("·")]),e._v(" "),t("span",{staticClass:"text-muted"},[e._v("Based on popular and trending content")])]):e._e()])])])]),e._v(" "),t("context-menu",{ref:"contextMenu",attrs:{status:e.status,profile:e.profile},on:{"status-delete":e.statusDeleted}})],1)},a=[function(){var e=this._self._c;return e("span",[e("i",{staticClass:"fas fa-chevron-right text-lighter"})])}];o._withStripped=!0},"./resources/assets/js/polyfill.js": /*!*****************************************!*\ !*** ./resources/assets/js/polyfill.js ***! \*****************************************/function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(){var t="object"===("undefined"==typeof window?"undefined":e(window))?window:"object"===("undefined"==typeof self?"undefined":e(self))?self:this,s=t.BlobBuilder||t.WebKitBlobBuilder||t.MSBlobBuilder||t.MozBlobBuilder;t.URL=t.URL||t.webkitURL||function(e,t){return(t=document.createElement("a")).href=e,t};var o=t.Blob,a=URL.createObjectURL,n=URL.revokeObjectURL,r=t.Symbol&&t.Symbol.toStringTag,i=!1,d=!1,u=!!t.ArrayBuffer,c=s&&s.prototype.append&&s.prototype.getBlob;try{i=2===new Blob(["ä"]).size,d=2===new Blob([new Uint8Array([1,2])]).size}catch(e){}function p(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var s=new Uint8Array(e.byteLength);s.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=s.buffer}return t}return e}))}function m(e,t){t=t||{};var o=new s;return p(e).forEach((function(e){o.append(e)})),t.type?o.getBlob(t.type):o.getBlob()}function v(e,t){return new o(p(e),t||{})}t.Blob&&(m.prototype=Blob.prototype,v.prototype=Blob.prototype);var f="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(e){for(var s=0,o=e.length,a=t.Uint8Array||Array,n=0,r=Math.max(32,o+(o>>1)+7),i=new a(r>>3<<3);s=55296&&l<=56319){if(s=55296&&l<=56319)continue}if(n+4>i.length){r+=8,r=(r*=1+s/e.length*2)>>3<<3;var u=new Uint8Array(r);u.set(i),i=u}if(4294967168&l){if(4294965248&l)if(4294901760&l){if(4292870144&l)continue;i[n++]=l>>18&7|240,i[n++]=l>>12&63|128,i[n++]=l>>6&63|128}else i[n++]=l>>12&15|224,i[n++]=l>>6&63|128;else i[n++]=l>>6&31|192;i[n++]=63&l|128}else i[n++]=l}return i.slice(0,n)},h="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(e){for(var t=e.length,s=[],o=0;o239?4:l>223?3:l>191?2:1;if(o+u<=t)switch(u){case 1:l<128&&(d=l);break;case 2:128==(192&(a=e[o+1]))&&(i=(31&l)<<6|63&a)>127&&(d=i);break;case 3:a=e[o+1],n=e[o+2],128==(192&a)&&128==(192&n)&&(i=(15&l)<<12|(63&a)<<6|63&n)>2047&&(i<55296||i>57343)&&(d=i);break;case 4:a=e[o+1],n=e[o+2],r=e[o+3],128==(192&a)&&128==(192&n)&&128==(192&r)&&(i=(15&l)<<18|(63&a)<<12|(63&n)<<6|63&r)>65535&&i<1114112&&(d=i)}null===d?(d=65533,u=1):d>65535&&(d-=65536,s.push(d>>>10&1023|55296),d=56320|1023&d),s.push(d),o+=u}var c=s.length,p="";for(o=0;o>2,u=(3&a)<<4|r>>4,c=(15&r)<<2|l>>6,p=63&l;i||(p=64,n||(c=64)),s.push(t[d],t[u],t[c],t[p])}return s.join("")}var o=Object.create||function(e){function t(){}return t.prototype=e,new t};if(u)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&r.indexOf(Object.prototype.toString.call(e))>-1};function d(s,o){o=null==o?{}:o;for(var a=0,n=(s=s||[]).length;a=t.size&&s.close()}))}})}}catch(e){try{new ReadableStream({}),b=function(e){var t=0;e=this;return new ReadableStream({pull:function(s){return e.slice(t,t+524288).arrayBuffer().then((function(o){t+=o.byteLength;var a=new Uint8Array(o);s.enqueue(a),t==e.size&&s.close()}))}})}}catch(e){try{new Response("").body.getReader().read(),b=function(){return new Response(this).body}}catch(e){b=function(){throw new Error("Include https://github.com/MattiasBuelens/web-streams-polyfill")}}}}_.arrayBuffer||(_.arrayBuffer=function(){var e=new FileReader;return e.readAsArrayBuffer(this),y(e)}),_.text||(_.text=function(){var e=new FileReader;return e.readAsText(this),y(e)}),_.stream||(_.stream=b)}(), /*! @source http://purl.eligrey.com/github/canvas-toBlob.js/blob/master/canvas-toBlob.js */ function(e){"use strict";var t,s=e.Uint8Array,o=e.HTMLCanvasElement,a=o&&o.prototype,n=/\s*;\s*base64\s*(?:;|$)/i,r="toDataURL",i=function(e){for(var o,a,n=e.length,r=new s(n/4*3|0),i=0,l=0,d=[0,0],u=0,c=0;n--;)a=e.charCodeAt(i++),255!==(o=t[a-43])&&undefined!==o&&(d[1]=d[0],d[0]=a,c=c<<6|o,4===++u&&(r[l++]=c>>>16,61!==d[1]&&(r[l++]=c>>>8),61!==d[0]&&(r[l++]=c),u=0));return r};s&&(t=new s([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51])),!o||a.toBlob&&a.toBlobHD||(a.toBlob||(a.toBlob=function(e,t){if(t||(t="image/png"),this.mozGetAsFile)e(this.mozGetAsFile("canvas",t));else if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(t))e(this.msToBlob());else{var o,a=Array.prototype.slice.call(arguments,1),l=this[r].apply(this,a),d=l.indexOf(","),u=l.substring(d+1),c=n.test(l.substring(0,d));Blob.fake?((o=new Blob).encoding=c?"base64":"URI",o.data=u,o.size=u.length):s&&(o=c?new Blob([i(u)],{type:t}):new Blob([decodeURIComponent(u)],{type:t})),e(o)}}),!a.toBlobHD&&a.toDataURLHD?a.toBlobHD=function(){r="toDataURLHD";var e=this.toBlob();return r="toDataURL",e}:a.toBlobHD=a.toBlob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},"./resources/assets/js/spa.js": /*!************************************!*\ !*** ./resources/assets/js/spa.js ***! \************************************/(e,t,s)=>{"use strict";s.r(t);var o=s(/*! vue */"./node_modules/vue/dist/vue.esm.js"),a=s(/*! vue-router */"./node_modules/vue-router/dist/vue-router.esm.js"),n=s(/*! vuex */"./node_modules/vuex/dist/vuex.esm.js"),r=s(/*! vuex-router-sync */"./node_modules/vuex-router-sync/index.js"),i=s(/*! bootstrap-vue */"./node_modules/bootstrap-vue/esm/index.js"),l=s(/*! vue-infinite-loading */"./node_modules/vue-infinite-loading/dist/vue-infinite-loading.js"),d=s.n(l),u=s(/*! vue-loading-overlay */"./node_modules/vue-loading-overlay/dist/vue-loading.js"),c=s.n(u),p=s(/*! vue-timeago */"./node_modules/vue-timeago/dist/vue-timeago.es.js"),m=s(/*! vue-carousel */"./node_modules/vue-carousel/dist/vue-carousel.min.js"),v=s.n(m),f=s(/*! vue-blurhash */"./node_modules/vue-blurhash/dist/vue-blurhash.common.js"),h=s.n(f),g=s(/*! vue-masonry-css */"./node_modules/vue-masonry-css/dist/vue-masonry.es2015.js"),b=s(/*! vue-i18n */"./node_modules/vue-i18n/dist/vue-i18n.esm.js"),_=(s(/*! vue-blurhash/dist/vue-blurhash.css */"./node_modules/vue-blurhash/dist/vue-blurhash.css"),s(/*! sweetalert */"./node_modules/sweetalert/dist/sweetalert.min.js"),s(/*! ./../components/Groups.vue */"./resources/assets/components/Groups.vue"),s(/*! ./../components/GroupFeed.vue */"./resources/assets/components/GroupFeed.vue")),y=s(/*! ./../components/GroupDiscover.vue */"./resources/assets/components/GroupDiscover.vue"),x=s(/*! ./../components/GroupJoins.vue */"./resources/assets/components/GroupJoins.vue"),C=s(/*! ./../components/GroupNotifications.vue */"./resources/assets/components/GroupNotifications.vue"),j=s(/*! ./../components/GroupSearch.vue */"./resources/assets/components/GroupSearch.vue"),w=(s(/*! jquery */"./node_modules/jquery/dist/jquery.js"),s(/*! jquery */"./node_modules/jquery/dist/jquery.js"));function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}s(/*! ./polyfill */"./resources/assets/js/polyfill.js"),window.Vue=o.default,window.pftxt=s(/*! twitter-text */"./node_modules/twitter-text/build/twitter-text.js"),window.filesize=s(/*! filesize */"./node_modules/filesize/lib/filesize.js"),window._=s(/*! lodash */"./node_modules/lodash/lodash.js"),window.Popper=s(/*! popper.js */"./node_modules/popper.js/dist/esm/popper.js").default,window.pixelfed=window.pixelfed||{},window.$=s(/*! jquery */"./node_modules/jquery/dist/jquery.js"),s(/*! bootstrap */"./node_modules/bootstrap/dist/js/bootstrap.js"),window.axios=s(/*! axios */"./node_modules/axios/dist/browser/axios.cjs"),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",s(/*! readmore-js */"./node_modules/readmore-js/readmore.js"),window.blurhash=s(/*! blurhash */"./node_modules/blurhash/dist/esm/index.js"),w('[data-toggle="tooltip"]').tooltip();var k=document.head.querySelector('meta[name="csrf-token"]');k?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=k.content:console.error("CSRF token not found."),o.default.use(a.default),o.default.use(n.default),o.default.use(h()),o.default.use(v()),o.default.use(i.default),o.default.use(d()),o.default.use(c()),o.default.use(g.default),o.default.use(b.default),o.default.use(p.default,{name:"Timeago",locale:"en"}),o.default.component("navbar",s(/*! ./../components/partials/navbar.vue */"./resources/assets/components/partials/navbar.vue").default),o.default.component("notification-card",s(/*! ./components/NotificationCard.vue */"./resources/assets/js/components/NotificationCard.vue").default),o.default.component("photo-presenter",s(/*! ./../components/presenter/PhotoPresenter.vue */"./resources/assets/components/presenter/PhotoPresenter.vue").default),o.default.component("video-presenter",s(/*! ./../components/presenter/VideoPresenter.vue */"./resources/assets/components/presenter/VideoPresenter.vue").default),o.default.component("photo-album-presenter",s(/*! ./../components/presenter/PhotoAlbumPresenter.vue */"./resources/assets/components/presenter/PhotoAlbumPresenter.vue").default),o.default.component("video-album-presenter",s(/*! ./../components/presenter/VideoAlbumPresenter.vue */"./resources/assets/components/presenter/VideoAlbumPresenter.vue").default),o.default.component("mixed-album-presenter",s(/*! ./../components/presenter/MixedAlbumPresenter.vue */"./resources/assets/components/presenter/MixedAlbumPresenter.vue").default),o.default.component("post-menu",s(/*! ./components/PostMenu.vue */"./resources/assets/js/components/PostMenu.vue").default),o.default.component("story-component",s(/*! ./components/StoryTimelineComponent.vue */"./resources/assets/js/components/StoryTimelineComponent.vue").default);var R=function(){return Promise.all(/*! import() | home.chunk */[s.e("/js/vendor"),s.e("home.chunk")]).then(s.bind(s,/*! ./../components/Home.vue */"./resources/assets/components/Home.vue"))},P=new a.default({mode:"history",linkActiveClass:"active",routes:[{path:"/i/web/timeline/:scope",name:"timeline",component:R,props:!0},{path:"/groups/feed",name:"groups",component:_.default},{path:"/groups/joins",name:"groupjoins",component:x.default},{path:"/groups/discover",name:"groupdiscover",component:y.default,props:!0},{path:"/groups/notifications",name:"groupnotify",component:C.default},{path:"/groups/search",name:"groupsearch",component:j.default},{path:"/groups/create",name:"groupscreate",component:function(){return s.e(/*! import() | group.create */"group.create").then(s.bind(s,/*! ./../components/GroupCreate.vue */"./resources/assets/components/GroupCreate.vue"))}},{path:"/groups/:gid/p/:sid",component:function(){return s.e(/*! import() | groups-post */"groups-post").then(s.bind(s,/*! ./../components/GroupPost.vue */"./resources/assets/components/GroupPost.vue"))},props:!0},{path:"/groups/:gid/user/:pid",component:function(){return s.e(/*! import() | groups-profile */"groups-profile").then(s.bind(s,/*! ./../components/GroupProfile.vue */"./resources/assets/components/GroupProfile.vue"))},props:!0},{path:"/groups/:groupId/about",component:function(){return s.e(/*! import() | groups-page-about */"groups-page-about").then(s.bind(s,/*! ./../components/groups/Page/GroupAbout.vue */"./resources/assets/components/groups/Page/GroupAbout.vue"))},props:!0},{path:"/groups/:groupId/topics",component:function(){return s.e(/*! import() | groups-page-topics */"groups-page-topics").then(s.bind(s,/*! ./../components/groups/Page/GroupTopics.vue */"./resources/assets/components/groups/Page/GroupTopics.vue"))},props:!0},{path:"/groups/:groupId/members",component:function(){return s.e(/*! import() | groups-page-members */"groups-page-members").then(s.bind(s,/*! ./../components/groups/Page/GroupMembers.vue */"./resources/assets/components/groups/Page/GroupMembers.vue"))},props:!0},{path:"/groups/:groupId/media",component:function(){return s.e(/*! import() | groups-page-media */"groups-page-media").then(s.bind(s,/*! ./../components/groups/Page/GroupMedia.vue */"./resources/assets/components/groups/Page/GroupMedia.vue"))},props:!0},{path:"/groups/:groupId",component:function(){return s.e(/*! import() | groups-page */"groups-page").then(s.bind(s,/*! ./../components/GroupPage.vue */"./resources/assets/components/GroupPage.vue"))},props:!0},{path:"/i/web/post/:id",name:"post",component:function(){return Promise.all(/*! import() | post.chunk */[s.e("/js/vendor"),s.e("post.chunk")]).then(s.bind(s,/*! ./../components/Post.vue */"./resources/assets/components/Post.vue"))},props:!0},{path:"/i/web/profile/:id/followers",name:"profile-followers",component:function(){return Promise.all(/*! import() | profile~followers.bundle */[s.e("/js/vendor"),s.e("profile~followers.bundle")]).then(s.bind(s,/*! ./../components/ProfileFollowers.vue */"./resources/assets/components/ProfileFollowers.vue"))},props:!0},{path:"/i/web/profile/:id/following",name:"profile-following",component:function(){return Promise.all(/*! import() | profile~following.bundle */[s.e("/js/vendor"),s.e("profile~following.bundle")]).then(s.bind(s,/*! ./../components/ProfileFollowing.vue */"./resources/assets/components/ProfileFollowing.vue"))},props:!0},{path:"/i/web/profile/:id",name:"profile",component:function(){return Promise.all(/*! import() | profile.chunk */[s.e("/js/vendor"),s.e("profile.chunk")]).then(s.bind(s,/*! ./../components/Profile.vue */"./resources/assets/components/Profile.vue"))},props:!0},{path:"/i/web/discover",component:function(){return Promise.all(/*! import() | discover.chunk */[s.e("/js/vendor"),s.e("discover.chunk")]).then(s.bind(s,/*! ./../components/Discover.vue */"./resources/assets/components/Discover.vue"))}},{path:"/i/web/compose",component:function(){return Promise.all(/*! import() | compose.chunk */[s.e("/js/vendor"),s.e("compose.chunk")]).then(s.bind(s,/*! ./../components/Compose.vue */"./resources/assets/components/Compose.vue"))}},{path:"/i/web/notifications",component:function(){return Promise.all(/*! import() | notifications.chunk */[s.e("/js/vendor"),s.e("notifications.chunk")]).then(s.bind(s,/*! ./../components/Notifications.vue */"./resources/assets/components/Notifications.vue"))}},{path:"/i/web/direct/thread/:accountId",component:function(){return Promise.all(/*! import() | dms~message.chunk */[s.e("/js/vendor"),s.e("dms~message.chunk")]).then(s.bind(s,/*! ./../components/DirectMessage.vue */"./resources/assets/components/DirectMessage.vue"))},props:!0},{path:"/i/web/direct",component:function(){return Promise.all(/*! import() | dms.chunk */[s.e("/js/vendor"),s.e("dms.chunk")]).then(s.bind(s,/*! ./../components/Direct.vue */"./resources/assets/components/Direct.vue"))}},{path:"/i/web/hashtag/:id",name:"hashtag",component:function(){return Promise.all(/*! import() | discover~hashtag.bundle */[s.e("/js/vendor"),s.e("discover~hashtag.bundle")]).then(s.bind(s,/*! ./../components/Hashtag.vue */"./resources/assets/components/Hashtag.vue"))},props:!0},{path:"/i/web/language",component:function(){return s.e(/*! import() | i18n.bundle */"i18n.bundle").then(s.bind(s,/*! ./../components/Language.vue */"./resources/assets/components/Language.vue"))}},{path:"/i/web/whats-new",component:function(){return s.e(/*! import() | changelog.bundle */"changelog.bundle").then(s.bind(s,/*! ./../components/Changelog.vue */"./resources/assets/components/Changelog.vue"))}},{path:"/i/web/discover/my-memories",component:function(){return Promise.all(/*! import() | discover~memories.chunk */[s.e("/js/vendor"),s.e("discover~memories.chunk")]).then(s.bind(s,/*! ./../components/discover/Memories.vue */"./resources/assets/components/discover/Memories.vue"))}},{path:"/i/web/discover/my-hashtags",component:function(){return Promise.all(/*! import() | discover~myhashtags.chunk */[s.e("/js/vendor"),s.e("discover~myhashtags.chunk")]).then(s.bind(s,/*! ./../components/discover/Hashtags.vue */"./resources/assets/components/discover/Hashtags.vue"))}},{path:"/i/web/discover/account-insights",component:function(){return Promise.all(/*! import() | daci.chunk */[s.e("/js/vendor"),s.e("daci.chunk")]).then(s.bind(s,/*! ./../components/discover/Insights.vue */"./resources/assets/components/discover/Insights.vue"))}},{path:"/i/web/discover/find-friends",component:function(){return Promise.all(/*! import() | discover~findfriends.chunk */[s.e("/js/vendor"),s.e("discover~findfriends.chunk")]).then(s.bind(s,/*! ./../components/discover/FindFriends.vue */"./resources/assets/components/discover/FindFriends.vue"))}},{path:"/i/web/discover/server-timelines",component:function(){return Promise.all(/*! import() | discover~serverfeed.chunk */[s.e("/js/vendor"),s.e("discover~serverfeed.chunk")]).then(s.bind(s,/*! ./../components/discover/ServerFeed.vue */"./resources/assets/components/discover/ServerFeed.vue"))}},{path:"/i/web/discover/settings",component:function(){return Promise.all(/*! import() | discover~settings.chunk */[s.e("/js/vendor"),s.e("discover~settings.chunk")]).then(s.bind(s,/*! ./../components/discover/Settings.vue */"./resources/assets/components/discover/Settings.vue"))}},{path:"/i/web",component:R,props:!0},{path:"/i/web/*",component:function(){return s.e(/*! import() | error404.bundle */"error404.bundle").then(s.bind(s,/*! ./../components/NotFound.vue */"./resources/assets/components/NotFound.vue"))},props:!0}],scrollBehavior:function(e,t,s){return e.hash?{selector:"[id='".concat(e.hash.slice(1),"']")}:{x:0,y:0}}});function M(e,t){var s="pf_m2s."+e,o=window.localStorage;if(o.getItem(s)){var a=o.getItem(s);return["pl","color-scheme"].includes(e)?a:["true",!0].includes(a)}return t}var A=new n.default.Store({state:{version:1,hideCounts:M("hc",!1),autoloadComments:M("ac",!0),newReactions:M("nr",!0),fixedHeight:M("fh",!1),profileLayout:M("pl","grid"),showDMPrivacyWarning:M("dmpwarn",!0),relationships:{},emoji:[],colorScheme:M("color-scheme","system")},getters:{getVersion:function(e){return e.version},getHideCounts:function(e){return e.hideCounts},getAutoloadComments:function(e){return e.autoloadComments},getNewReactions:function(e){return e.newReactions},getFixedHeight:function(e){return e.fixedHeight},getProfileLayout:function(e){return e.profileLayout},getRelationship:function(e){return function(t){return e.relationships[t]}},getCustomEmoji:function(e){return e.emoji},getColorScheme:function(e){return e.colorScheme},getShowDMPrivacyWarning:function(e){return e.showDMPrivacyWarning}},mutations:{setVersion:function(e,t){e.version=t},setHideCounts:function(e,t){localStorage.setItem("pf_m2s.hc",t),e.hideCounts=t},setAutoloadComments:function(e,t){localStorage.setItem("pf_m2s.ac",t),e.autoloadComments=t},setNewReactions:function(e,t){localStorage.setItem("pf_m2s.nr",t),e.newReactions=t},setFixedHeight:function(e,t){localStorage.setItem("pf_m2s.fh",t),e.fixedHeight=t},setProfileLayout:function(e,t){localStorage.setItem("pf_m2s.pl",t),e.profileLayout=t},updateRelationship:function(e,t){t.forEach((function(t){o.default.set(e.relationships,t.id,t)}))},updateCustomEmoji:function(e,t){e.emoji=t},setColorScheme:function(e,t){if(e.colorScheme!=t){localStorage.setItem("pf_m2s.color-scheme",t),e.colorScheme=t;var s="system"==t?"":"light"==t?"force-light-mode":"force-dark-mode";if(document.querySelector("body").className=s,"system"!=s){var o="force-dark-mode"==s?{dark_mode:"on"}:{};axios.post("/settings/labs",o)}}},setShowDMPrivacyWarning:function(e,t){localStorage.setItem("pf_m2s.dmpwarn",t),e.showDMPrivacyWarning=t}}}),L={en:s(/*! ./i18n/en.json */"./resources/assets/js/i18n/en.json"),ar:s(/*! ./i18n/ar.json */"./resources/assets/js/i18n/ar.json"),ca:s(/*! ./i18n/ca.json */"./resources/assets/js/i18n/ca.json"),de:s(/*! ./i18n/de.json */"./resources/assets/js/i18n/de.json"),el:s(/*! ./i18n/el.json */"./resources/assets/js/i18n/el.json"),es:s(/*! ./i18n/es.json */"./resources/assets/js/i18n/es.json"),eu:s(/*! ./i18n/eu.json */"./resources/assets/js/i18n/eu.json"),fr:s(/*! ./i18n/fr.json */"./resources/assets/js/i18n/fr.json"),he:s(/*! ./i18n/he.json */"./resources/assets/js/i18n/he.json"),gd:s(/*! ./i18n/gd.json */"./resources/assets/js/i18n/gd.json"),gl:s(/*! ./i18n/gl.json */"./resources/assets/js/i18n/gl.json"),id:s(/*! ./i18n/id.json */"./resources/assets/js/i18n/id.json"),it:s(/*! ./i18n/it.json */"./resources/assets/js/i18n/it.json"),ja:s(/*! ./i18n/ja.json */"./resources/assets/js/i18n/ja.json"),nl:s(/*! ./i18n/nl.json */"./resources/assets/js/i18n/nl.json"),pl:s(/*! ./i18n/pl.json */"./resources/assets/js/i18n/pl.json"),pt:s(/*! ./i18n/pt.json */"./resources/assets/js/i18n/pt.json"),ru:s(/*! ./i18n/ru.json */"./resources/assets/js/i18n/ru.json"),uk:s(/*! ./i18n/uk.json */"./resources/assets/js/i18n/uk.json"),vi:s(/*! ./i18n/vi.json */"./resources/assets/js/i18n/vi.json")},T=document.querySelector("html").getAttribute("lang"),G=new b.default({locale:T,fallbackLocale:"en",messages:L});(0,r.sync)(A,P);new o.default({el:"#content",i18n:G,router:P,store:A});if(axios.get("/api/v1/custom_emojis").then((function(e){e&&e.data&&e.data.length&&A.commit("updateCustomEmoji",e.data)})),A.state.colorScheme){var F="system"==A.state.colorScheme?"":"light"==A.state.colorScheme?"force-light-mode":"force-dark-mode";"system"!=F&&(document.querySelector("body").className=F)}pixelfed.readmore=function(){w(".read-more").each((function(e,t){var s=w(this),o=s.attr("data-readmore");"undefined"!==S(o)&&!1!==o||s.readmore({collapsedHeight:45,heightMargin:48,moreLink:'Show more',lessLink:'Show less'})}))};try{document.createEvent("TouchEvent"),w("body").addClass("touch")}catch(e){}window.App=window.App||{},window.App.util={compose:{post:function(){var e=window.location.pathname;["/","/timeline/public"].includes(e)?w("#composeModal").modal("show"):window.location.href="/?a=co"},circle:function(){console.log("Unsupported method.")},collection:function(){console.log("Unsupported method.")},loop:function(){console.log("Unsupported method.")},story:function(){console.log("Unsupported method.")}},time:function(){return new Date},version:1,format:{count:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return e<1?0:new Intl.NumberFormat(t,{notation:s,compactDisplay:"short"}).format(e)},timeAgo:function(e){var t=Date.parse(e),s=Math.floor((new Date-t)/1e3),o=Math.floor(s/63072e3);return o<0?"0s":o>=1?o+"y":(o=Math.floor(s/604800))>=1?o+"w":(o=Math.floor(s/86400))>=1?o+"d":(o=Math.floor(s/3600))>=1?o+"h":(o=Math.floor(s/60))>=1?o+"m":Math.floor(s)+"s"},timeAhead:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=Date.parse(e)-Date.parse(new Date),o=Math.floor(s/1e3),a=Math.floor(o/63072e3);return a>=1?a+(t?"y":" years"):(a=Math.floor(o/604800))>=1?a+(t?"w":" weeks"):(a=Math.floor(o/86400))>=1?a+(t?"d":" days"):(a=Math.floor(o/3600))>=1?a+(t?"h":" hours"):(a=Math.floor(o/60))>=1?a+(t?"m":" minutes"):Math.floor(o)+(t?"s":" seconds")},rewriteLinks:function(e){var t=e.innerText;return e.href.startsWith(window.location.origin)?e.href:t=1==t.startsWith("#")?"/discover/tags/"+t.substr(1)+"?src=rph":1==t.startsWith("@")?"/"+e.innerText+"?src=rpp":"/i/redirect?url="+encodeURIComponent(t)}},filters:[["1984","filter-1977"],["Azen","filter-aden"],["Astairo","filter-amaro"],["Grassbee","filter-ashby"],["Bookrun","filter-brannan"],["Borough","filter-brooklyn"],["Farms","filter-charmes"],["Hairsadone","filter-clarendon"],["Cleana ","filter-crema"],["Catpatch","filter-dogpatch"],["Earlyworm","filter-earlybird"],["Plaid","filter-gingham"],["Kyo","filter-ginza"],["Yefe","filter-hefe"],["Goddess","filter-helena"],["Yards","filter-hudson"],["Quill","filter-inkwell"],["Rankine","filter-kelvin"],["Juno","filter-juno"],["Mark","filter-lark"],["Chill","filter-lofi"],["Van","filter-ludwig"],["Apache","filter-maven"],["May","filter-mayfair"],["Ceres","filter-moon"],["Knoxville","filter-nashville"],["Felicity","filter-perpetua"],["Sandblast","filter-poprocket"],["Daisy","filter-reyes"],["Elevate","filter-rise"],["Nevada","filter-sierra"],["Futura","filter-skyline"],["Sleepy","filter-slumber"],["Steward","filter-stinson"],["Savoy","filter-sutro"],["Blaze","filter-toaster"],["Apricot","filter-valencia"],["Gloming","filter-vesper"],["Walter","filter-walden"],["Poplar","filter-willow"],["Xenon","filter-xpro-ii"]],filterCss:{"filter-1977":"sepia(.5) hue-rotate(-30deg) saturate(1.4)","filter-aden":"sepia(.2) brightness(1.15) saturate(1.4)","filter-amaro":"sepia(.35) contrast(1.1) brightness(1.2) saturate(1.3)","filter-ashby":"sepia(.5) contrast(1.2) saturate(1.8)","filter-brannan":"sepia(.4) contrast(1.25) brightness(1.1) saturate(.9) hue-rotate(-2deg)","filter-brooklyn":"sepia(.25) contrast(1.25) brightness(1.25) hue-rotate(5deg)","filter-charmes":"sepia(.25) contrast(1.25) brightness(1.25) saturate(1.35) hue-rotate(-5deg)","filter-clarendon":"sepia(.15) contrast(1.25) brightness(1.25) hue-rotate(5deg)","filter-crema":"sepia(.5) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-2deg)","filter-dogpatch":"sepia(.35) saturate(1.1) contrast(1.5)","filter-earlybird":"sepia(.25) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-5deg)","filter-gingham":"contrast(1.1) brightness(1.1)","filter-ginza":"sepia(.25) contrast(1.15) brightness(1.2) saturate(1.35) hue-rotate(-5deg)","filter-hefe":"sepia(.4) contrast(1.5) brightness(1.2) saturate(1.4) hue-rotate(-10deg)","filter-helena":"sepia(.5) contrast(1.05) brightness(1.05) saturate(1.35)","filter-hudson":"sepia(.25) contrast(1.2) brightness(1.2) saturate(1.05) hue-rotate(-15deg)","filter-inkwell":"brightness(1.25) contrast(.85) grayscale(1)","filter-kelvin":"sepia(.15) contrast(1.5) brightness(1.1) hue-rotate(-10deg)","filter-juno":"sepia(.35) contrast(1.15) brightness(1.15) saturate(1.8)","filter-lark":"sepia(.25) contrast(1.2) brightness(1.3) saturate(1.25)","filter-lofi":"saturate(1.1) contrast(1.5)","filter-ludwig":"sepia(.25) contrast(1.05) brightness(1.05) saturate(2)","filter-maven":"sepia(.35) contrast(1.05) brightness(1.05) saturate(1.75)","filter-mayfair":"contrast(1.1) brightness(1.15) saturate(1.1)","filter-moon":"brightness(1.4) contrast(.95) saturate(0) sepia(.35)","filter-nashville":"sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)","filter-perpetua":"contrast(1.1) brightness(1.25) saturate(1.1)","filter-poprocket":"sepia(.15) brightness(1.2)","filter-reyes":"sepia(.75) contrast(.75) brightness(1.25) saturate(1.4)","filter-rise":"sepia(.25) contrast(1.25) brightness(1.2) saturate(.9)","filter-sierra":"sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)","filter-skyline":"sepia(.15) contrast(1.25) brightness(1.25) saturate(1.2)","filter-slumber":"sepia(.35) contrast(1.25) saturate(1.25)","filter-stinson":"sepia(.35) contrast(1.25) brightness(1.1) saturate(1.25)","filter-sutro":"sepia(.4) contrast(1.2) brightness(.9) saturate(1.4) hue-rotate(-10deg)","filter-toaster":"sepia(.25) contrast(1.5) brightness(.95) hue-rotate(-15deg)","filter-valencia":"sepia(.25) contrast(1.1) brightness(1.1)","filter-vesper":"sepia(.35) contrast(1.15) brightness(1.2) saturate(1.3)","filter-walden":"sepia(.35) contrast(.8) brightness(1.25) saturate(1.4)","filter-willow":"brightness(1.2) contrast(.85) saturate(.05) sepia(.2)","filter-xpro-ii":"sepia(.45) contrast(1.25) brightness(1.75) saturate(1.3) hue-rotate(-5deg)"},emoji:["😂","💯","❤️","🙌","👏","👌","😍","😯","😢","😅","😁","🙂","😎","😀","🤣","😃","😄","😆","😉","😊","😋","😘","😗","😙","😚","🤗","🤩","🤔","🤨","😐","😑","😶","🙄","😏","😣","😥","😮","🤐","😪","😫","😴","😌","😛","😜","😝","🤤","😒","😓","😔","😕","🙃","🤑","😲","🙁","😖","😞","😟","😤","😭","😦","😧","😨","😩","🤯","😬","😰","😱","😳","🤪","😵","😡","😠","🤬","😷","🤒","🤕","🤢","🤮","🤧","😇","🤠","🤡","🤥","🤫","🤭","🧐","🤓","😈","👿","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🤲","👐","🤝","👍","👎","👊","✊","🤛","🤜","🤞","✌️","🤟","🤘","👈","👉","👆","👇","☝️","✋","🤚","🖐","🖖","👋","🤙","💪","🖕","✍️","🙏","💍","💄","💋","👄","👅","👂","👃","👣","👁","👀","🧠","🗣","👤","👥"],embed:{post:function(e){var t=e+"/embed?";return t+=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?"caption=true&":"caption=false&",t+=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"likes=true&":"likes=false&",'