diff --git a/public/js/compose-chunk.js b/public/js/compose-chunk.js index d8f8bc635..0e914358e 100644 --- a/public/js/compose-chunk.js +++ b/public/js/compose-chunk.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[680],{31453:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var s=i(42755),a=i(88231),o=i(14205),n=i(64439);const l={components:{drawer:s.default,sidebar:a.default,"compose-desktop":o.default,"compose-modal":n.default},data:function(){return{isLoaded:!1,profile:void 0,showNew:!1}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0;var t=new URLSearchParams(window.location.search);t.has("fl")&&"v5"==t.get("fl")&&(this.showNew=!0)}}},61043:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r});var s=i(17652),a=(i(81943),i(29655)),o=(i(99101),i(15235));function n(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i=e.config.uploader.album_limit)return swal("Oops!","Posts can have up to "+e.config.uploader.album_limit+" photos or videos, you cannot add any more.","error"),void(e.uploading=!1);if(0==e.config.uploader.media_types.split(",").includes(t.type))return swal("Invalid File Type","You can only upload the following mime types: "+e.config.uploader.media_types,"error"),void(e.uploading=!1);var s=new FormData;s.append("file",t);var a={onUploadProgress:function(t){var i=Math.round(100*t.loaded/t.total);e.uploadProgress=i}};axios.post("/api/compose/v0/media/upload",s,a).then((function(t){var i=t.data;i.edit={brightness:100,contrast:100,saturation:100},e.uploadProgress=100,e.ids.push(t.data.id),e.crops.push({}),e.media.push(i),2!=e.media.map((function(t){return t.mime})).filter((function(t,e,i){return i.indexOf(t)===e})).length?(e.uploading=!1,e.$nextTick((function(){e.compareEdits(i.edit,e.edit)||(e.media[e.mediaIndex].edit=e.edit,e.edit=i.edit),e.tab="crop",e.mediaIndex=e.media.length-1})),setTimeout((function(){document.querySelector(".media-thumbs").scrollLeft+=999999}),300)):swal("Oops!","Your post must contain a single photo or video or multiple photos","error")})).catch((function(i){switch(i.response.status){case 451:e.uploading=!1,t.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),e.page=2;break;case 429:e.uploading=!1,t.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),e.page=2;break;default:e.uploading=!1,t.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),e.page=2}})),t.value=null,e.uploadProgress=0}))},dragOverHandler:function(t){t.preventDefault()}},watch:{edit:{handler:function(t,e){this.previewFilters()},deep:!0}}}},49144:(t,e,i)=>{i.r(e),i.d(e,{default:()=>c});var s=i(17652),a=(i(81943),i(29655)),o=(i(99101),i(15235)),n=i(19755);function l(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i10&&(t.licenseTitle=t.availableLicenses.filter((function(e){return e.id==t.licenseId})).map((function(t){return t.title}))[0]),t.fetchProfile()}))},mounted:function(){this.mediaWatcher()},methods:{timeAgo:function(t){return App.util.format.timeAgo(t)},fetchProfile:function(){var t=this,e={public:"Public",private:"Followers Only",unlisted:"Unlisted"};if(window._sharedData.curUser.id){if(this.profile=window._sharedData.curUser,this.composeSettings&&this.composeSettings.hasOwnProperty("default_scope")&&this.composeSettings.default_scope){var i=this.composeSettings.default_scope;this.visibility=i,this.visibilityTag=e[i]}1==this.profile.locked&&(this.visibility="private",this.visibilityTag="Followers Only")}else axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(i){if(window._sharedData.currentUser=i.data,t.profile=i.data,t.composeSettings&&t.composeSettings.hasOwnProperty("default_scope")&&t.composeSettings.default_scope){var s=t.composeSettings.default_scope;t.visibility=s,t.visibilityTag=e[s]}1==t.profile.locked&&(t.visibility="private",t.visibilityTag="Followers Only")})).catch((function(t){}))},addMedia:function(t){var e=n(t.target);e.attr("disabled",""),n('.file-input[name="media"]').trigger("click"),e.blur(),e.removeAttr("disabled")},addText:function(t){this.pageTitle="New Text Post",this.page="addText",this.textMode=!0,this.mode="text"},mediaWatcher:function(){var t=this;n(document).on("change","#pf-dz",(function(e){t.mediaUpload()}))},mediaUpload:function(){var t=this;t.uploading=!0;var e=document.querySelector("#pf-dz");e.files.length||(t.uploading=!1),Array.prototype.forEach.call(e.files,(function(e,i){if(t.media&&t.media.length+i>=t.config.uploader.album_limit)return swal("Error","You can only upload "+t.config.uploader.album_limit+" photos per album","error"),t.uploading=!1,void(t.page=2);var s=e.type,a=t.config.uploader.media_types.split(",");if(-1==n.inArray(s,a))return swal("Invalid File Type","The file you are trying to add is not a valid mime type. Please upload a "+t.config.uploader.media_types+" only.","error"),t.uploading=!1,void(t.page=2);var o=new FormData;o.append("file",e);var l={onUploadProgress:function(e){var i=Math.round(100*e.loaded/e.total);t.uploadProgress=i}};axios.post("/api/compose/v0/media/upload",o,l).then((function(e){t.uploadProgress=100,t.ids.push(e.data.id),t.media.push(e.data),t.uploading=!1,setTimeout((function(){t.page=3}),300)})).catch((function(i){switch(i.response.status){case 451:t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),t.page=2;break;case 429:t.uploading=!1,e.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),t.page=2;break;default:t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),t.page=2}})),e.value=null,t.uploadProgress=0}))},toggleFilter:function(t,e){this.media[this.carouselCursor].filter_class=e,this.currentFilter=e},deleteMedia:function(){var t=this;if(0!=window.confirm("Are you sure you want to delete this media?")){var e=this.media[this.carouselCursor].id;axios.delete("/api/compose/v0/media/delete",{params:{id:e}}).then((function(e){t.ids.splice(t.carouselCursor,1),t.media.splice(t.carouselCursor,1),0==t.media.length?(t.ids=[],t.media=[],t.carouselCursor=0):t.carouselCursor=0})).catch((function(t){swal("Whoops!","An error occured when attempting to delete this, please try again","error")}))}},compose:function(){var t=this,e=this.composeState;if(100==this.uploadProgress&&0!=this.ids.length)if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(e){case"publish":if(!0===this.composeSettings.media_descriptions)if(this.media.filter((function(t){return!t.hasOwnProperty("alt")||t.alt.length<2})).length)return void swal("Missing media descriptions","You have enabled mandatory media descriptions. Please add media descriptions under Advanced settings to proceed. For more information, please see the media settings page.","warning");if(0==this.media.length)return void swal("Whoops!","You need to add media before you can save this!","warning");"Add optional caption..."==this.composeText&&(this.composeText="");var i={media:this.media,caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames,optimize_media:this.optimizeMedia,license:this.licenseId,video:this.video};return this.collectionsSelected.length&&(i.collections=this.collectionsSelected.map((function(e){return t.collections[e].id}))),void axios.post("/api/compose/v0/publish",i).then((function(t){"/i/web/compose"===location.pathname&&t.data&&t.data.length?location.href="/i/web/post/"+t.data.split("/").slice(-1)[0]:location.href=i})).catch((function(t){if(t.response){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}else swal("Oops, something went wrong!",t.message,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void n("#composeModal").modal("hide")}},composeTextPost:function(){var t=this.composeState;if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(t){case"publish":var e={caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames};return void axios.post("/api/compose/v0/publish/text",e).then((function(t){var e=t.data;window.location.href=e})).catch((function(t){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void n("#composeModal").modal("hide")}},closeModal:function(){n("#composeModal").modal("hide")},goBack:function(){switch(this.pageTitle="",this.mode){case"photo":switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page=3:this.page--}break;case"video":this.page,this.page="video-2";break;default:switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page="text"==this.mode?"addText":3:"text"==this.mode||this.page--}}},nextPage:function(){switch(this.pageTitle="",this.page){case 1:this.page=2;break;case"cropPhoto":this.pageLoading=!0;var t=this;this.$refs.cropper.getCroppedCanvas({maxWidth:4096,maxHeight:4096,fillColor:"#fff",imageSmoothingEnabled:!1,imageSmoothingQuality:"high"}).toBlob((function(e){t.mediaCropped=!0;var i=new FormData;i.append("file",e),i.append("id",t.ids[t.carouselCursor]);axios.post("/api/compose/v0/media/update",i).then((function(e){t.media[t.carouselCursor].url=e.data.url,t.pageLoading=!1,t.page=2})).catch((function(t){}))}));break;case 2:this.currentFilter?window.confirm("Are you sure you want to apply this filter?")&&(this.applyFilterToMedia(),this.page++):this.page++;break;case 3:this.page++}},rotate:function(){this.$refs.cropper.rotate(90)},changeAspect:function(t){this.cropper.aspectRatio=t,this.$refs.cropper.setAspectRatio(t)},showTagCard:function(){this.pageTitle="Tag People",this.page="tagPeople"},showTagHelpCard:function(){this.pageTitle="About Tag People",this.page="tagPeopleHelp"},showLocationCard:function(){this.pageTitle="Add Location",this.page="addLocation"},showAdvancedSettingsCard:function(){this.pageTitle="Advanced Settings",this.page="advancedSettings"},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){switch(this.place=t,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showVisibilityCard:function(){this.pageTitle="Post Visibility",this.page="visibility"},showAddToStoryCard:function(){this.pageTitle="Add to Story",this.page="addToStory"},showCropPhotoCard:function(){this.pageTitle="Edit Photo",this.page="cropPhoto"},toggleVisibility:function(t){switch(this.visibility=t,this.visibilityTag={public:"Public",private:"Followers Only",unlisted:"Unlisted"}[t],this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showMediaDescriptionsCard:function(){this.pageTitle="Media Descriptions",this.page="altText"},showAddToCollectionsCard:function(){this.pageTitle="Add to Collection",this.page="addToCollection"},showSchedulePostCard:function(){this.pageTitle="Schedule Post",this.page="schedulePost"},showEditMediaCard:function(){this.pageTitle="Edit Media",this.page="editMedia"},fetchCameraRollDrafts:function(){var t=this;axios.get("/api/pixelfed/local/drafts").then((function(e){t.cameraRollMedia=e.data}))},applyFilterToMedia:function(){var t=navigator.userAgent.toLowerCase();if(-1!=t.indexOf("firefox")||-1!=t.indexOf("chrome"))for(var e=this.media,i=null,s=document.getElementById("pr_canvas"),a=s.getContext("2d"),o=document.getElementById("pr_img"),n=null,l=e.length-1;l>=0;l--)(i=e[l]).filter_class&&(o.src=i.url,o.addEventListener("load",(function(t){s.width=o.width,s.height=o.height,a.filter=App.util.filterCss[i.filter_class],a.drawImage(o,0,0,o.width,o.height),a.save(),s.toBlob((function(t){(n=new FormData).append("file",t),n.append("id",i.id),axios.post("/api/compose/v0/media/update",n).then((function(t){})).catch((function(t){}))}))}),i.mime,.9),a.clearRect(0,0,o.width,o.height));else swal("Oops!","Your browser does not support the filter feature.","error")},tagSearch:function(t){if(t.length<1)return[];var e=this;return axios.get("/api/compose/v0/search/tag",{params:{q:t}}).then((function(t){if(t.data.length)return t.data.filter((function(t){return 0==e.taggedUsernames.filter((function(e){return e.id==t.id})).length}))}))},getTagResultValue:function(t){return"@"+t.name},onTagSubmitLocation:function(t){this.taggedUsernames.filter((function(e){return e.id==t.id})).length||(this.taggedUsernames.push(t),this.$refs.autocomplete.value="")},untagUsername:function(t){this.taggedUsernames.splice(t,1)},showTextOptions:function(){this.page="textOptions",this.pageTitle="Text Post Options"},showLicenseCard:function(){this.pageTitle="Select a License",this.page="licensePicker"},toggleLicense:function(t){var e=this;switch(this.licenseId=t.id,this.licenseId>10?this.licenseTitle=this.availableLicenses.filter((function(t){return t.id==e.licenseId})).map((function(t){return t.title}))[0]:this.licenseTitle=null,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},newPoll:function(){this.page="poll"},savePollOption:function(){-1==this.pollOptions.indexOf(this.pollOptionModel)?(this.pollOptions.push(this.pollOptionModel),this.pollOptionModel=null):this.pollOptionModel=null},deletePollOption:function(t){this.pollOptions.splice(t,1)},postNewPoll:function(){var t=this;this.postingPoll=!0,axios.post("/api/compose/v0/poll",{caption:this.composeText,cw:!1,visibility:this.visibility,comments_disabled:!1,expiry:this.pollExpiry,pollOptions:this.pollOptions}).then((function(e){if(!e.data.hasOwnProperty("url"))return swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error"),void(t.postingPoll=!1);window.location.href=e.data.url})).catch((function(e){if(console.log(e.response.data.error),e.response.data.hasOwnProperty("error")&&"Duplicate detected."==e.response.data.error)return t.postingPoll=!1,void swal("Oops!","The poll you are trying to create is similar to an existing poll you created. Please make the poll question (caption) unique.","error");t.postingPoll=!1,swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error")}))},filesize:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return filesize(1024*t,{round:0})})),showCollectionCard:function(){this.pageTitle="Add to Collection(s)",this.page="addToCollection",this.collectionsLoaded||this.fetchCollections()},fetchCollections:function(){var t=this;axios.get("/api/local/profile/collections/".concat(this.profile.id)).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.collectionsCanLoadMore=9==e.data.length,t.collectionsPage++}))},toggleCollectionItem:function(t){if(this.collectionsSelected.includes(t))this.collectionsSelected=this.collectionsSelected.filter((function(e){return e!=t}));else{if(7==this.collectionsSelected.length)return void swal("Oops!","You can only share to 5 collections.","info");this.collectionsSelected.push(t)}},clearSelectedCollections:function(){this.collectionsSelected=[],this.pageTitle="Compose",this.page=3},loadMoreCollections:function(){var t=this;this.collectionsCanLoadMore=!1,axios.get("/api/local/profile/collections/".concat(this.profile.id),{params:{page:this.collectionsPage}}).then((function(e){var i,s=t.collections.map((function(t){return t.id})),a=e.data.filter((function(t){return!s.includes(t.id)}));a&&a.length&&((i=t.collections).push.apply(i,l(a)),t.collectionsPage++,t.collectionsCanLoadMore=!0)}))}}}},72727:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(23645),a=i.n(s)()((function(t){return t[1]}));a.push([t.id,'.compose-desktop .tab-flex[data-v-5779f6cf]{align-items:center;display:flex;justify-content:center;min-height:600px}.compose-desktop .tab[data-v-5779f6cf]{min-height:600px}.compose-desktop .crop-dimension-btn[data-v-5779f6cf]{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px;padding-left:0;text-decoration:none;width:100%}.compose-desktop .crop-dimension-btn-label[data-v-5779f6cf]{align-items:center;color:#212529;display:flex}.compose-desktop .crop-dimension-btn-label-icon[data-v-5779f6cf]{margin-right:10px;text-align:center;width:40px}.compose-desktop .crop-dimension-btn-label-name[data-v-5779f6cf]{font-size:.99rem;font-weight:300}.compose-desktop .crop-dimension-btn.active .crop-dimension-btn-indicator i[data-v-5779f6cf]{color:#2c78bf!important}.compose-desktop .crop-dimension-btn.active .crop-dimension-btn-indicator .fa-circle[data-v-5779f6cf]:before{content:""}.compose-desktop .crop-dimension-btn[disabled=disabled] .crop-dimension-btn-indicator[data-v-5779f6cf],.compose-desktop .crop-dimension-btn[disabled=disabled] .crop-dimension-btn-label[data-v-5779f6cf]{color:#b8c2cc!important}.compose-desktop .hide-scroll[data-v-5779f6cf]{-ms-overflow-style:none;overflow-y:scroll;scrollbar-width:none}.compose-desktop .hide-scroll[data-v-5779f6cf]::-webkit-scrollbar{display:none}.compose-desktop .no-focus[data-v-5779f6cf]{border-color:none;box-shadow:none;outline:0}.compose-desktop .list-btn[data-v-5779f6cf]{align-items:center;background-color:#fff;border:1px solid rgba(0,0,0,.125);border-left:0;border-right:0;display:flex;justify-content:space-between;padding:.75rem 1.25rem;position:relative}.compose-desktop .list-btn[data-v-5779f6cf]:not(:first-child){border-top:0}.compose-desktop .list-btn .lead[data-v-5779f6cf]{font-size:1rem}.compose-desktop .list-btn.active[data-v-5779f6cf]{background-color:#f3f4f6}.compose-desktop .list-btn.active .lead[data-v-5779f6cf]{font-weight:500}.compose-desktop .settings-tab[data-v-5779f6cf]{border-radius:0;display:flex;flex-direction:column;flex-grow:1;margin-bottom:0;margin-left:-1rem;margin-top:-17px;max-height:600px;overflow-y:auto;padding-left:0}.compose-desktop .media-square[data-v-5779f6cf]{border:1px solid #dee2e6;border-radius:.25rem;cursor:pointer;height:70px;margin:auto .5rem;-o-object-fit:cover;object-fit:cover;width:70px}.compose-desktop .media-square.active[data-v-5779f6cf]{border:3px solid #3b82f6;padding:2px}.compose-desktop .media-square.activeold[data-v-5779f6cf]{border:3px dashed #bfdbfe;padding:2px}.compose-desktop .media-add-square[data-v-5779f6cf]{right:0}.compose-desktop .media-add-square[data-v-5779f6cf],.compose-desktop .media-remove-square[data-v-5779f6cf]{align-items:center;display:flex;height:70px;justify-content:center;position:-webkit-sticky;position:sticky;text-decoration:none;top:0;width:30px}.compose-desktop .media-remove-square[data-v-5779f6cf]{left:0}.compose-desktop .media-remove-square .fa-minus-circle[data-v-5779f6cf]{color:#b8c2cc!important}.compose-desktop .media-thumbs[data-v-5779f6cf]{-ms-overflow-style:none;display:flex;height:auto;justify-content:center;margin-top:1rem;max-width:500px;overflow-y:auto;position:relative;scrollbar-width:none;width:100%}.compose-desktop .media-thumbs[data-v-5779f6cf]::-webkit-scrollbar{display:none}.compose-desktop .edit-nav-tab[data-v-5779f6cf]{border-bottom:1px solid #dee2e6!important;color:#b8c2cc;cursor:pointer;font-weight:400;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.compose-desktop .edit-nav-tab.active[data-v-5779f6cf]{border-bottom:1px solid #000!important;color:#212529;font-weight:700}',""]);const o=a},42770:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(23645),a=i.n(s)()((function(t){return t[1]}));a.push([t.id,".compose-modal-component .media-drawer-filters{flex-wrap:unset;overflow-x:scroll}.compose-modal-component .media-drawer-filters::-webkit-scrollbar{background:transparent;width:0}.compose-modal-component .media-drawer-filters .nav-link{min-width:100px;padding-bottom:1rem;padding-top:1rem}.compose-modal-component .media-drawer-filters .active{color:#fff;font-weight:700}@media(hover:none)and (pointer:coarse){.compose-modal-component .media-drawer-filters::-webkit-scrollbar{display:none}}.compose-modal-component .no-focus{border-color:none;box-shadow:none;outline:0}.compose-modal-component a.list-group-item{text-decoration:none}.compose-modal-component a.list-group-item:hover{background-color:#f8f9fa!important;text-decoration:none}.compose-modal-component .compose-action:hover{background-color:#f8f9fa!important;cursor:pointer}.compose-modal-component .collections-list-group{max-height:500px;overflow-y:auto}.compose-modal-component .collections-list-group .list-group-item.active{background-color:#dbeafe!important;border-color:#60a5fa!important;color:#212529}",""]);const o=a},50864:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var s=i(93379),a=i.n(s),o=i(72727),n={insert:"head",singleton:!1};a()(o.default,n);const l=o.default.locals||{}},55898:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var s=i(93379),a=i.n(s),o=i(42770),n={insert:"head",singleton:!1};a()(o.default,n);const l=o.default.locals||{}},55763:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(53622),a=i(55489),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);const n=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,null,null).exports},14205:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(56864),a=i(89997),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);i(17143);const n=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,"5779f6cf",null).exports},64439:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(5072),a=i(10594),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);i(40309);const n=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,null,null).exports},55489:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(31453),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},89997:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(61043),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},10594:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(49144),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},17143:(t,e,i)=>{i.r(e);var s=i(50864),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},40309:(t,e,i)=>{i.r(e);var s=i(55898),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},53622:(t,e,i)=>{i.r(e);var s=i(30948),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},56864:(t,e,i)=>{i.r(e);var s=i(84326),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},5072:(t,e,i)=>{i.r(e);var s=i(62978),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},30948:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"web-wrapper"},[t.isLoaded?i("div",{staticClass:"container-fluid mt-3"},[i("div",{staticClass:"row"},[i("div",{staticClass:"col-md-3 d-md-block"},[i("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),i("div",{staticClass:"col-md-8"},[t.showNew?i("div",[i("compose-desktop")],1):i("div",{staticClass:"row"},[i("div",{staticClass:"col-12 col-md-8 offset-md-1"},[i("compose-modal")],1)])])]),t._v(" "),i("drawer")],1):t._e()])},a=[]},84326:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"compose-desktop"},[i("input",{ref:"dz",staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",name:"media",accept:t.config.uploader.media_types},on:{change:t.uploadMedia}}),t._v(" "),i("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),i("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),i("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"},on:{drop:function(e){return t.dropHandler(e)},dragover:function(e){return t.dragOverHandler(e)}}},[i("div",{staticClass:"card-header",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},["home"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[t._m(0),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Compose")]),t._v(" "),t._m(1)]):t._e(),t._v(" "),"crop"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Crop")]),t._v(" "),t._m(2)]):t._e(),t._v(" "),"edit"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Edit")]),t._v(" "),t._m(3)]):t._e(),t._v(" "),"caption"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Compose")]),t._v(" "),t._m(4)]):t._e(),t._v(" "),"alt-text"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Alt Text")]),t._v(" "),t._m(5)]):t._e(),t._v(" "),"settings"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v(t._s(t.settingsTitle))]),t._v(" "),t._m(6)]):t._e()]),t._v(" "),t.uploading?i("div",{staticClass:"card-body p-0 d-flex justify-content-center align-items-center",staticStyle:{height:"600px"}},[i("div",{staticClass:"text-center"},[i("b-spinner"),t._v(" "),i("p",[t._v(t._s(t.$t("post.uploading"))+"...")])],1)]):i("div",{staticClass:"card-body p-0"},["home"==t.tab?i("div",[i("div",{staticClass:"tab-flex"},[i("div",{staticClass:"d-flex justify-content-between align-items-center"},[t._m(7),t._v(" "),i("span",{staticClass:"font-weight-bold mx-4"},[t._v("or")]),t._v(" "),i("button",{staticClass:"btn btn-light shadow text-center mx-4 p-3",staticStyle:{"border-radius":"18px"},on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-upload fa-3x my-3 text-lighter"}),t._v(" "),i("p",{staticClass:"font-weight-bold text-dark mb-0"},[t._v("Browse from my device")])])])]),t._v(" "),i("div",{staticClass:"text-center"},[i("p",{staticClass:"text-muted"},[t._v("Photos and videos can be up to "),i("strong",[t._v(t._s(t.maxFileSize))]),t._v(" in size, and must be one of the following formats:\n\t\t\t\t\t\t"),t._l(t.config.uploader.media_types.split(","),(function(e){return i("span",{staticClass:"mr-1"},[i("kbd",[t._v(t._s(e.split("/")[1]))])])}))],2)])]):t._e(),t._v(" "),"crop"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[t.activeCrop?i("vue-cropper",{ref:"croppa",staticClass:"p-0 img-fluid",attrs:{aspectRatio:t.cropRatios[t.cropRatio],viewMode:3,dragMode:"move",autoCropArea:1,guides:!1,highlight:!1,cropBoxMovable:!1,cropBoxResizable:!1,toggleDragModeOnDblclick:!1,src:t.media[t.mediaIndex].url,data:t.crops[t.mediaIndex]},on:{crop:t.onCropEnd,zoom:t.onCropEnd}}):i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},[i("button",{staticClass:"btn btn-link media-remove-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-minus-circle fa-lg text-dark"})]),t._v(" "),t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),t._v(" "),i("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("div",[i("h5",{staticClass:"font-weight-bold mb-3"},[t._v("Select a Crop")]),t._v(" "),t._m(8),t._v(" "),i("button",{staticClass:"btn crop-dimension-btn",class:{active:1==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(1)}}},[t._m(9),t._v(" "),t._m(10)]),t._v(" "),i("button",{staticClass:"btn crop-dimension-btn",class:{active:2==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(2)}}},[t._m(11),t._v(" "),t._m(12)]),t._v(" "),i("button",{staticClass:"btn crop-dimension-btn",class:{active:3==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(3)}}},[t._m(13),t._v(" "),t._m(14)])]),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",on:{click:t.cropMedia}},[t._v("Next")])])])]):t._e(),t._v(" "),"edit"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},[i("button",{staticClass:"btn btn-link media-remove-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-minus-circle fa-lg text-dark"})]),t._v(" "),t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),t._v(" "),i("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("nav",{staticClass:"nav nav-fill text-uppercase",staticStyle:{"margin-left":"-16px"}},[i("div",{staticClass:"nav-link edit-nav-tab",class:{active:"filters"==t.editTab},on:{click:function(e){return t.toggleEditTab("filters")}}},[t._v("\n\t\t\t\t\t\t\tFilters\n\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"nav-link edit-nav-tab",class:{active:"edit"==t.editTab},on:{click:function(e){return t.toggleEditTab("edit")}}},[t._v("\n\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t")])]),t._v(" "),"filters"==t.editTab?i("div",{staticClass:"row pr-3 hide-scroll mt-2",staticStyle:{height:"450px","overflow-y":"auto"}},[i("div",{staticClass:"col-4 mb-3",on:{click:function(e){return t.selectFilter(null)}}},[i("p",{staticClass:"font-weight-bold text-center small mb-1",class:[null==t.activeFilter?"text-dark":"text-lighter"]},[t._v("Original")]),t._v(" "),i("span",{staticClass:"border rounded d-block overflow-hidden",class:[null==t.activeFilter?"shadow-lg":""]},[t._m(15)])]),t._v(" "),t._l(t.filters,(function(e,s){return i("div",{staticClass:"col-4 mb-3",on:{click:function(e){return t.selectFilter(s)}}},[i("p",{staticClass:"font-weight-bold text-center small mb-1",class:[t.activeFilter==s?"text-dark":"text-lighter"]},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e[0])+"\n\t\t\t\t\t\t\t")]),t._v(" "),i("span",{staticClass:"border rounded d-block overflow-hidden",class:[t.activeFilter==s?"shadow-lg":""]},[i("span",{staticClass:"d-block",class:e[1]},[i("img",{staticStyle:{width:"100%",height:"auto"},attrs:{src:"https://pixelfed.test/storage/m/_v2/321493203255693312/f98697a52-a34568/N3fVbXluhhaO/qmqOrgXvjyWVa7GyTHYP6Vs9ZNskrQ4YNbdks2DZ.jpg"}})])])])}))],2):t._e(),t._v(" "),"edit"==t.editTab?i("div",{staticClass:"settings-tab hide-scroll mt-0"},[i("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[i("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tBrightness\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.brightness,callback:function(e){t.$set(t.edit,"brightness",e)},expression:"edit.brightness"}})],1),t._v(" "),i("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.brightness-100)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),i("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[i("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tContrast\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.contrast,callback:function(e){t.$set(t.edit,"contrast",e)},expression:"edit.contrast"}})],1),t._v(" "),i("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.contrast-100)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),i("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[i("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tSaturation\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.saturation,callback:function(e){t.$set(t.edit,"saturation",e)},expression:"edit.saturation"}})],1),t._v(" "),i("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.saturation-100)+"\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",on:{click:t.applyEdit}},[t._v("Next")])])])]):t._e(),t._v(" "),"caption"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},[t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),t._v(" "),i("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("div",{staticClass:"pr-3"},[i("div",{staticClass:"media align-items-center mb-3"},[i("img",{staticClass:"rounded-circle mr-3",attrs:{src:t.profile.avatar,width:"30",height:"30"}}),t._v(" "),i("div",{staticClass:"media-body lead font-weight-bold"},[t._v(t._s(t.profile.username))])]),t._v(" "),i("div",{staticClass:"form-group mb-3"},[i("div",{staticClass:"border rounded"},[i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 no-focus",staticStyle:{resize:"none","border-radius":"8px"},attrs:{rows:"3",placeholder:"Add an optional caption...",maxlength:"1000"},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("div",{staticClass:"text-lighter p-2 d-flex align-items-end justify-content-between"},[i("div",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.composeText?t.composeText.length:0)),i("span",{staticStyle:{margin:"auto 2px"}},[t._v("/")]),t._v("1000\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),t._m(16)])],1)]),t._v(" "),t._m(17)]),t._v(" "),i("div",{staticClass:"list-group ml-n3 rounded-0 flex-grow-1"},[i("div",{staticClass:"list-btn"},[i("div",{staticClass:"lead mb-0"},[t._v("Sensitive")]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleSensitive}},[i("i",{staticClass:"fal no-focus fa-2x",class:[t.sensitive?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editAltText}},[i("div",{staticClass:"lead mb-0"},[t._v("Accessibility")]),t._v(" "),i("div",{staticClass:"text-lighter"},[i("i",{staticClass:"fal fa-lg",class:[t.media.filter((function(t){return t&&t.description&&t.description.length})).length?"fa-check-circle text-success":"fa-chevron-right"]})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.advancedSettings}},[i("div",{staticClass:"lead mb-0"},[t._v("Advanced Settings")]),t._v(" "),t._m(18)]),t._v(" "),t.collections.length&&t.collectionsSelected.length?i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editCollection}},[i("div",{staticClass:"lead mb-0"},[t._v("Sharing to "+t._s(t.collectionsSelected.length)+" collections")]),t._v(" "),t._m(19)]):t._e()]),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",attrs:{disabled:t.isPosting},on:{click:t.sharePost}},[t.isPosting?i("b-spinner",{attrs:{small:""}}):i("span",[t._v(t._s(t.$t("common.share")))])],1)])])]):t._e(),t._v(" "),"alt-text"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},[t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),t._v(" "),i("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("div",{staticClass:"pr-3"},[i("p",{staticClass:"lead mt-3 pb-3"},[t._v("Describe your media for alt text that is used by people with limited vision")]),t._v(" "),i("div",{staticClass:"form-group mb-3"},[i("div",{staticClass:"border rounded"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.mediaIndex].description,expression:"media[mediaIndex].description"}],staticClass:"form-control border-0 no-focus",staticStyle:{resize:"none","border-radius":"8px"},attrs:{rows:"3",placeholder:"Add alt text here...",maxlength:"1000"},domProps:{value:t.media[t.mediaIndex].description},on:{input:function(e){e.target.composing||t.$set(t.media[t.mediaIndex],"description",e.target.value)}}}),t._v(" "),i("div",{staticClass:"text-lighter p-2 d-flex align-items-end justify-content-between"},[i("div",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.media[t.mediaIndex].description?t.media[t.mediaIndex].description.length:0)),i("span",{staticStyle:{margin:"auto 2px"}},[t._v("/")]),t._v("1000\n\t\t\t\t\t\t\t\t\t")])])])])]),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-light font-weight-bold btn-block py-1",on:{click:function(e){return t.goBack()}}},[t._v("Back")])])])]):t._e(),t._v(" "),"settings"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),0)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},["home"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editAudience}},[i("div",{staticClass:"lead mb-0"},[t._v("Audience")]),t._v(" "),i("div",{staticClass:"text-lighter"},[i("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0 text-capitalize"},[t._v(t._s(t.composeScope))]),t._v(" "),i("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),i("div",{staticClass:"list-btn"},[i("div",{staticClass:"lead mb-0"},[t._v("Disable Comments")]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleDisableComments}},[i("i",{staticClass:"fal no-focus fa-2x",class:[t.composeDisabledComments?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editLicense}},[i("div",{staticClass:"lead mb-0"},[t._v("License")]),t._v(" "),i("div",{staticClass:"text-lighter"},[i("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.licenseIndex>=2?t.availableLicenses[t.licenseIndex].title:t.availableLicenses[t.licenseIndex].name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editMedia}},[i("div",{staticClass:"lead mb-0"},[t._v("Media")]),t._v(" "),t._m(20)]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editSchedule}},[i("div",{staticClass:"lead mb-0"},[t._v("Schedule")]),t._v(" "),i("div",{staticClass:"text-lighter"},[t.schedule.enabled?i("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.getScheduleDate())+"\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),i("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editCollection}},[i("div",{staticClass:"lead mb-0"},[t._v("Share to Collection")]),t._v(" "),t._m(21)])]):t._e(),t._v(" "),"audience"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("button",{staticClass:"list-btn",class:{active:"public"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("public")}}},[i("div",{staticClass:"lead mb-0"},[t._v("Public")]),t._v(" "),t._m(22)]),t._v(" "),i("button",{staticClass:"list-btn",class:{active:"unlisted"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("unlisted")}}},[i("div",{staticClass:"lead mb-0"},[t._v("Unlisted")]),t._v(" "),t._m(23)]),t._v(" "),i("button",{staticClass:"list-btn",class:{active:"followers"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("followers")}}},[i("div",{staticClass:"lead mb-0"},[t._v("Followers Only")]),t._v(" "),t._m(24)])]):t._e(),t._v(" "),"license"==t.settingsTab?i("div",{staticClass:"settings-tab"},t._l(t.availableLicenses,(function(e,s){return i("button",{staticClass:"list-btn",class:{active:t.licenseIndex==s},attrs:{type:"button"},on:{click:function(e){return t.setLicense(s)}}},[i("div",{staticClass:"lead mb-0"},[t._v(t._s(e.name))]),t._v(" "),t._m(25,!0)])})),0):t._e(),t._v(" "),"media"==t.settingsTab?i("div",{staticClass:"settings-tab"},[t._m(26),t._v(" "),t._m(27)]):t._e(),t._v(" "),"schedule"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("div",{staticClass:"list-btn"},[i("div",{staticClass:"lead mb-0"},[t._v("Schedule Post")]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleSchedule}},[i("i",{staticClass:"fal no-focus fa-2x",class:[t.schedule.enabled?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),i("div",{staticClass:"list-btn"},[t._m(28),t._v(" "),i("b-form-datepicker",{attrs:{min:t.schedule.minDate,max:t.schedule.maxDate,"date-format-options":{year:"numeric",month:"long",day:"2-digit"}},model:{value:t.schedule.date,callback:function(e){t.$set(t.schedule,"date",e)},expression:"schedule.date"}})],1),t._v(" "),i("div",{staticClass:"list-btn"},[t._m(29),t._v(" "),i("b-form-timepicker",{attrs:{locale:"en"},model:{value:t.schedule.time,callback:function(e){t.$set(t.schedule,"time",e)},expression:"schedule.time"}})],1),t._v(" "),i("div",{staticClass:"list-btn border-bottom-0"},[i("div",[i("p",{staticClass:"small text-muted mb-0"},[t._v("You can set a date up to 2 months away.")]),t._v(" "),i("p",{staticClass:"small text-muted"},[t._v("Date & time relative to "),i("strong",[t._v(t._s(t.schedule.tz))]),t._v(" timezone.")])])])]):t._e(),t._v(" "),"collection"==t.settingsTab?i("div",[t.collectionsLoaded?i("div",{staticClass:"settings-tab"},[t.collectionsSelected.length?i("div",{staticClass:"list-btn justify-content-center py-2 bg-light",staticStyle:{position:"sticky",top:"0","z-index":"1"}},[i("div",{staticClass:"text-center"},[i("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+" "+t._s(1==t.collectionsSelected.length?"collection":"collections")+" selected\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),5==t.collectionsSelected.length?i("p",{staticClass:"mb-0 small text-muted"},[t._v("5 collections max can be shared to")]):t._e()])]):t._e(),t._v(" "),t._l(t.collections,(function(e,s){return i("button",{staticClass:"list-btn",class:{"border-bottom-0":t.collections.length>=8&&s==t.collections.length-1&&!t.collectionsCanLoadMore},attrs:{type:"button",disabled:5==t.collectionsSelected.length&&-1==t.collectionsSelected.indexOf(e.id)},on:{click:function(i){return t.addToCollections(e.id)}}},[i("div",{staticClass:"media"},[i("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:e.thumb,width:"65",height:"65"}}),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"lead mb-0"},[t._v(t._s(e.title))]),t._v(" "),i("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(e.description||"No description available"))]),t._v(" "),i("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[i("span",[t._v(t._s(e.post_count)+" posts")]),t._v(" "),i("span",[t._v("·")]),t._v(" "),i("span",[t._v("Created "+t._s(t.timeago(e.published_at))+" ago")])])])]),t._v(" "),i("div",{staticClass:"text-lighter"},[-1==t.collectionsSelected.indexOf(e.id)?i("i",{staticClass:"fal fa-circle fa-lg"}):i("i",{staticClass:"far fa-dot-circle fa-lg text-success"})])])})),t._v(" "),t.collectionsCanLoadMore?i("button",{staticClass:"list-btn border-bottom-0 justify-content-center py-4",attrs:{type:"button"},on:{click:t.collectionsLoadMore}},[i("i",{staticClass:"fal fa-plus-circle fa-2x"})]):t._e()],2):i("div",[i("b-spinner")],1)]):t._e(),t._v(" "),"group"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("div",{staticClass:"list-btn"},[t._v("\n\t\t\t\t\t\t\tGroups here\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"tag"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("div",{staticClass:"list-btn"},[t._v("\n\t\t\t\t\t\t\tTag ppl\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-light font-weight-bold btn-block py-1",on:{click:function(e){return t.goBack()}}},[t._v("Back")])])])]):t._e()])])])},a=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card card-body shadow-none text-center mx-4",staticStyle:{"border-radius":"18px"}},[i("i",{staticClass:"fal fa-image fa-3x my-3 text-lighter"}),t._v(" "),i("p",{staticClass:"font-weight-bold text-dark mb-0"},[t._v("Drag photos or videos here")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("button",{staticClass:"btn crop-dimension-btn active"},[i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-image fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Original")])]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-indicator"},[i("i",{staticClass:"far fa-circle fa-lg text-lighter"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-square fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Square (1:1)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-rectangle-portrait fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Portrait (4:5)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-rectangle-landscape fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Landscape (16:9)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("img",{staticStyle:{width:"100%",height:"auto"},attrs:{src:"https://pixelfed.test/storage/m/_v2/321493203255693312/f98697a52-a34568/N3fVbXluhhaO/qmqOrgXvjyWVa7GyTHYP6Vs9ZNskrQ4YNbdks2DZ.jpg"}})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-lighter"},[i("span",[i("i",{staticClass:"fal fa-at",staticStyle:{"font-size":"20px"}})]),t._v(" "),i("span",{staticClass:"ml-2"},[i("i",{staticClass:"fal fa-hashtag",staticStyle:{"font-size":"20px"}})]),t._v(" "),i("span",{staticClass:"ml-2"},[i("i",{staticClass:"fal fa-smile",staticStyle:{"font-size":"20px"}})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"form-group",staticStyle:{position:"relative"}},[i("input",{staticClass:"form-control",staticStyle:{"padding-left":"35px",height:"45px","font-size":"15px","border-radius":"8px"},attrs:{type:"text",placeholder:"Add Location",disabled:""}}),t._v(" "),i("span",{staticStyle:{left:"13px",top:"50%",transform:"translateY(-50%)",position:"absolute"}},[i("i",{staticClass:"fal fa-map-marker-alt text-lighter"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"list-btn"},[i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0"},[t._v("Disable media optimization")]),t._v(" "),i("p",{staticClass:"small mb-0 text-muted"},[t._v("Prevents image optimization that may degrade quality. Only available for single photo posts.")])]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",attrs:{disabled:""}},[i("i",{staticClass:"fal fa-toggle-off text-lighter no-focus fa-2x"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"list-btn"},[i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0"},[t._v("Strip EXIF")]),t._v(" "),i("p",{staticClass:"small mb-0 text-muted"},[t._v("Strips all EXIF data that may leak location information.")])]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",attrs:{disabled:""}},[i("i",{staticClass:"fal fa-toggle-on text-danger no-focus fa-2x"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0 mr-4"},[t._v("Date")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0 mr-4"},[t._v("Time")])])}]},62978:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"compose-modal-component"},[i("input",{staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",id:"pf-dz",name:"media",multiple:"",accept:t.config.uploader.media_types}}),t._v(" "),i("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),i("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),i("div",{staticClass:"timeline"},[t.uploading?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100 bg-light py-3",staticStyle:{"border-bottom":"1px solid #f1f1f1"}},[i("div",{staticClass:"p-5 mt-2"},[i("b-progress",{attrs:{value:t.uploadProgress,max:100,striped:"",animated:!0}}),t._v(" "),i("p",{staticClass:"text-center mb-0 font-weight-bold"},[t._v("Uploading ... ("+t._s(t.uploadProgress)+"%)")])],1)])]):"cameraRoll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[t._m(0),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[t.cameraRollMedia.length>0?i("div",{staticClass:"row p-0 m-0"},t._l(t.cameraRollMedia,(function(t,e){return i("div",{class:[0==e?"col-12 p-0":"col-3 p-0"]},[i("div",{staticClass:"card info-overlay p-0 rounded-0 shadow-none border"},[i("div",{staticClass:"square"},[i("img",{staticClass:"square-content",attrs:{src:t.preview_url}})])])])})),0):i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[i("span",{staticClass:"w-100 h-100"},[i("button",{staticClass:"btn btn-primary",attrs:{type:"button"}},[t._v("Upload")]),t._v(" "),i("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.fetchCameraRollDrafts()}}},[t._v("Load Camera Roll")])])])])])]):"poll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[t._m(1),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNew Poll\n\t\t\t\t\t")]),t._v(" "),t.postingPoll?i("span",[t._m(2)]):!t.postingPoll&&t.pollOptions.length>1&&t.composeText.length?i("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:t.postNewPoll}},[i("span",[t._v("Create Poll")])]):i("span",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tCreate Poll\n\t\t\t\t\t")])]),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{staticClass:"rounded-circle",attrs:{src:t.profile.avatar,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a poll question..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\tPoll Options\n\t\t\t\t\t\t")]),t._v(" "),t.pollOptions.length<4?i("div",{staticClass:"form-group mb-4"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptionModel,expression:"pollOptionModel"}],staticClass:"form-control rounded-pill",attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptionModel},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.savePollOption.apply(null,arguments)},input:function(e){e.target.composing||(t.pollOptionModel=e.target.value)}}})]):t._e(),t._v(" "),t._l(t.pollOptions,(function(e,s){return i("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[i("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(s+1)+".")]),t._v(" "),t.pollOptions[s].length<50?i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control rounded-pill",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}):i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{placeholder:"Add a poll option, press enter to save",rows:"3"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}),t._v(" "),i("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(s)}}},[i("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),i("hr"),t._v(" "),i("div",{staticClass:"d-flex justify-content-between"},[i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Expiry\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.pollExpiry,expression:"pollExpiry"}],staticClass:"form-control rounded-pill",staticStyle:{width:"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.pollExpiry=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),i("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),i("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),i("option",{attrs:{value:"10080"}},[t._v("7 days")])])])]),t._v(" "),i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Visibility\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.visibility,expression:"visibility"}],staticClass:"form-control rounded-pill",staticStyle:{"max-width":"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.visibility=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),i("option",{attrs:{value:"private"}},[t._v("Followers Only")])])])])])],2)])])]):i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("div",[1==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[i("i",{staticClass:"fas fa-times fa-lg"}),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):2==t.page?i("span",[t.config.uploader.album_limit>t.media.length?i("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold",attrs:{id:"cm-add-media-btn"},on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-plus"})]):i("button",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold",attrs:{disabled:""}},[i("i",{staticClass:"fas fa-plus"})]),t._v(" "),i("b-tooltip",{attrs:{target:"cm-add-media-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\t\tUpload another photo or video\n\t\t\t\t\t\t\t")])],1):3==t.page?i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3 d-flex align-items-center",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg mr-2"}),t._v(" "),i("span",{staticClass:"btn btn-outline-secondary btn-sm px-2 py-0 disabled",attrs:{disabled:""}},[t._v(t._s(t.media.length))])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg"})])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]),t._v(" "),2==t.page?i("div",[1==t.media.length?i("a",{staticClass:"text-center text-dark",attrs:{href:"#",title:"Crop & Resize",id:"cm-crop-btn"},on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-crop-alt fa-lg"})]):t._e(),t._v(" "),i("b-tooltip",{attrs:{target:"cm-crop-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\tCrop & Resize\n\t\t\t\t\t\t")])],1):t._e(),t._v(" "),i("div",[t.pageLoading?i("span",[t._m(3)]):i("span",[!t.pageLoading&&t.page>1&&t.page<=2||1==t.page&&0!=t.ids.length||"cropPhoto"==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.nextPage.apply(null,arguments)}}},[t._v("Next")]):t._e(),t._v(" "),t.pageLoading||3!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"addText"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.composeTextPost()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"video-2"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")])])])]),t._v(" "),i("div",{staticClass:"card-body p-0 border-top"},["licensePicker"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"list-group list-group-flush"},t._l(t.availableLicenses,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer",class:{"text-primary":t.licenseId===e.id,"font-weight-bold":t.licenseId===e.id},on:{click:function(i){return t.toggleLicense(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t")])})),0)]):t._e(),t._v(" "),"textOptions"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}}):t._e(),t._v(" "),"addText"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"mt-2"},[i("div",{staticClass:"media px-3"},[i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Body")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",staticStyle:{"font-size":"18px",resize:"none"},attrs:{rows:"7",placeholder:"What's happening?"},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),i("div",{staticClass:"border-bottom"}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0 font-weight-bold"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))]),t._v(" "),i("p",{staticClass:"mb-0 mt-2"},[i("a",{staticClass:"btn btn-primary rounded-pill mr-2",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTextOptions()}}},[i("i",{staticClass:"fas fa-palette px-3 text-white"})]),t._v(" "),i("a",{staticClass:"btn rounded-pill mx-3 d-inline-flex align-items-center",class:[t.nsfw?"btn-danger":"btn-outline-lighter"],staticStyle:{height:"37px"},attrs:{href:"#",title:"Mark as sensitive/not safe for work"},on:{click:function(e){e.preventDefault(),t.nsfw=!t.nsfw}}},[i("i",{staticClass:"far fa-flag px-3"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"})]),t._v(" "),i("a",{staticClass:"btn btn-outline-lighter rounded-pill d-inline-flex align-items-center",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-eye mr-2"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"},[t._v(t._s(t.visibilityTag))])])])])])])])]):t._e(),t._v(" "),1==t.page?i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center",staticStyle:{"min-height":"400px"}},[i("div",{staticClass:"text-center"},[0==t.media.length?i("div",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark"},[i("div",{staticClass:"card-body py-2",on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("div",{staticClass:"media"},[t._m(4),t._v(" "),i("div",{staticClass:"media-body text-left"},[t._m(5),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share up to "+t._s(t.config.uploader.album_limit)+" photos or videos")]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.config.uploader.media_types.split(",").map((function(t){return t.split("/")[1]})).join(", ")))]),t._v(" allowed up to "),i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.filesize(t.config.uploader.max_photo_size)))])])])])])]):t._e(),t._v(" "),t._e(),t._v(" "),1==t.config.features.stories?i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/stories/new"}},[t._m(7)]):t._e(),t._v(" "),t._e(),t._v(" "),t._m(9),t._v(" "),t._m(10)])]):t._e(),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"w-100 h-100"},[t.ids.length>0?i("div",[i("vue-cropper",{ref:"cropper",attrs:{relativeZoom:t.cropper.zoom,aspectRatio:t.cropper.aspectRatio,viewMode:t.cropper.viewMode,zoomable:t.cropper.zoomable,rotatable:!0,src:t.media[t.carouselCursor].url}})],1):t._e()]):t._e(),t._v(" "),2==t.page?i("div",{staticClass:"w-100 h-100"},[1==t.media.length?i("div",[i("div",{staticStyle:{display:"flex","min-height":"420px","align-items":"center"},attrs:{slot:"img"},slot:"img"},[i("img",{class:"d-block img-fluid w-100 "+[t.media[t.carouselCursor].filter_class?t.media[t.carouselCursor].filter_class:""],attrs:{src:t.media[t.carouselCursor].url,alt:t.media[t.carouselCursor].description,title:t.media[t.carouselCursor].description}})]),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"Image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):t.media.length>1?i("div",{staticClass:"d-flex-inline px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")]),t._v(" "),t._l(t.media,(function(e,s){return i("li",{staticClass:"nav-item mx-md-4"},[i("div",{staticClass:"nav-link",staticStyle:{display:"block",width:"300px",height:"300px"},on:{click:function(e){t.carouselCursor=s}}},[i("span",{class:[e.filter_class?e.filter_class:""]},[i("span",{class:"rounded border "+[s==t.carouselCursor?" border-primary shadow":""],style:"display:block;padding:5px;width:100%;height:100%;background-image: url("+e.url+");background-size:cover;border-width:3px !important;"})])]),t._v(" "),s==t.carouselCursor?i("div",{staticClass:"text-center mb-0 small text-lighter font-weight-bold pt-2"},[i("span",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[t._v("Crop")]),t._v(" "),i("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return e.preventDefault(),t.showEditMediaCard()}}},[t._v("Edit")]),t._v(" "),i("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.deleteMedia()}}},[t._v("Delete")])]):t._e()])})),t._v(" "),i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")])],2),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"Image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):i("div",[i("p",{staticClass:"mb-0 p-5 text-center font-weight-bold"},[t._v("An error occured, please refresh the page.")])])]):t._e(),t._v(" "),3==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a caption..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(11),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showTagCard()}}},[t._v("Tag people")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showCollectionCard()}}},[t._m(12),t._v(" "),i("span",{staticClass:"float-right"},[t.collectionsSelected.length?i("span",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px 5px","text-transform":"uppercase"},attrs:{href:"#",disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+"\n\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t._m(13)])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[i("span",[t._v("Add license")]),t._v(" "),i("span",{staticClass:"float-right"},[t.licenseTitle?i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[t._v(t._s(t.licenseTitle))]):t._e(),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[t.place?i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",{staticClass:"text-lighter"},[t._v("Location:")]),t._v(" "+t._s(t.place.name)+", "+t._s(t.place.country)+"\n\t\t\t\t\t\t\t\t"),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-2",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLocationCard()}}},[t._v("Edit")]),t._v(" "),i("a",{staticClass:"btn btn-outline-secondary btn-sm small",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.place=!1}}},[t._v("Remove")])])]):i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLocationCard()}}},[t._v("Add location")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticStyle:{"min-height":"200px"}},[i("p",{staticClass:"px-4 mb-0 py-2 small font-weight-bold text-muted cursor-pointer",on:{click:function(e){return t.showAdvancedSettingsCard()}}},[t._v("Advanced settings")])])]):t._e(),t._v(" "),"tagPeople"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("autocomplete",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],ref:"autocomplete",attrs:{search:t.tagSearch,placeholder:"@pixelfed","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],staticClass:"font-weight-bold text-muted small"},[t._v("You can tag "+t._s(10-t.taggedUsernames.length)+" more "+t._s(9==t.taggedUsernames.length?"person":"people")+"!")]),t._v(" "),i("p",{staticClass:"font-weight-bold text-center mt-3"},[t._v("Tagged People")]),t._v(" "),i("div",{staticClass:"list-group"},[t._l(t.taggedUsernames,(function(e,s){return i("div",{staticClass:"list-group-item d-flex justify-content-between"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-2 rounded-circle border",attrs:{src:e.avatar,width:"24px",height:"24px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.name))])])]),t._v(" "),i("div",{staticClass:"custom-control custom-switch"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.privacy,expression:"tag.privacy"}],staticClass:"custom-control-input disabled",attrs:{type:"checkbox",id:"cci-tagged-privacy-switch"+s,disabled:""},domProps:{checked:Array.isArray(e.privacy)?t._i(e.privacy,null)>-1:e.privacy},on:{change:function(i){var s=e.privacy,a=i.target,o=!!a.checked;if(Array.isArray(s)){var n=t._i(s,null);a.checked?n<0&&t.$set(e,"privacy",s.concat([null])):n>-1&&t.$set(e,"privacy",s.slice(0,n).concat(s.slice(n+1)))}else t.$set(e,"privacy",o)}}}),t._v(" "),i("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"cci-tagged-privacy-switch"+s}},[t._v(t._s(e.privacy?"Public":"Private"))]),t._v(" "),i("a",{staticClass:"ml-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.untagUsername(s)}}},[i("i",{staticClass:"fas fa-times text-muted"})])])])})),t._v(" "),0==t.taggedUsernames.length?i("div",{staticClass:"list-group-item p-3"},[i("p",{staticClass:"text-center mb-0 font-weight-bold text-lighter"},[t._v("Search usernames to tag.")])]):t._e()],2),t._v(" "),i("p",{staticClass:"font-weight-bold text-center small text-muted pt-3 mb-0"},[t._v("When you tag someone, they are sent a notification."),i("br"),t._v("For more information on tagging, "),i("a",{staticClass:"text-primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTagHelpCard()}}},[t._v("click here")]),t._v(".")])],1):t._e(),t._v(" "),"tagPeopleHelp"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0 text-center py-3 px-2 lead"},[t._v("Tagging someone is like mentioning them, with the option to make it private between you.")]),t._v(" "),i("p",{staticClass:"mb-3 py-3 px-2 font-weight-lighter"},[t._v("\n\t\t\t\t\t\t\tYou can choose to tag someone in public or private mode. Public mode will allow others to see who you tagged in the post and private mode tagged users will not be shown to others.\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"addLocation"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0"},[t._v("Add Location")]),t._v(" "),i("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}})],1):t._e(),t._v(" "),"advancedSettings"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[i("div",{staticClass:"list-group-item d-flex justify-content-between"},[t._m(14),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.commentsDisabled,expression:"commentsDisabled"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asdisablecomments"},domProps:{checked:Array.isArray(t.commentsDisabled)?t._i(t.commentsDisabled,null)>-1:t.commentsDisabled},on:{change:function(e){var i=t.commentsDisabled,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.commentsDisabled=i.concat([null])):o>-1&&(t.commentsDisabled=i.slice(0,o).concat(i.slice(o+1)))}else t.commentsDisabled=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asdisablecomments"}})])])]),t._v(" "),i("a",{staticClass:"list-group-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showMediaDescriptionsCard()}}},[t._m(15)])])]):t._e(),t._v(" "),"visibility"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"public"==t.visibility},on:{click:function(e){return t.toggleVisibility("public")}}},[t._v("\n\t\t\t\t\t\t\t\tPublic\n\t\t\t\t\t\t\t")]),t._v(" "),t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"unlisted"==t.visibility},on:{click:function(e){return t.toggleVisibility("unlisted")}}},[t._v("\n\t\t\t\t\t\t\t\tUnlisted\n\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"private"==t.visibility},on:{click:function(e){return t.toggleVisibility("private")}}},[t._v("\n\t\t\t\t\t\t\t\tFollowers Only\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),"altText"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t._l(t.media,(function(e,s){return i("div",[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.alt,expression:"m.alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:t.maxAltTextLength,rows:"4"},domProps:{value:e.alt},on:{input:function(i){i.target.composing||t.$set(e,"alt",i.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(e.alt?e.alt.length:0)+"/"+t._s(t.maxAltTextLength))])])]),t._v(" "),i("hr")])})),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])],2):t._e(),t._v(" "),"addToCollection"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t.collectionsLoaded&&t.collections.length?i("div",{staticClass:"list-group mb-3 collections-list-group"},[t._l(t.collections,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer compose-action border",class:{active:t.collectionsSelected.includes(s)},on:{click:function(e){return t.toggleCollectionItem(s)}}},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.thumb,alt:"",width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("h5",{staticClass:"mt-0"},[t._v(t._s(e.title))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(e.post_count)+" Posts - Created "+t._s(t.timeAgo(e.published_at))+" ago")])])])])})),t._v(" "),t.collectionsCanLoadMore?i("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-3",on:{click:t.loadMoreCollections}},[t._v("\n\t\t\t\t\t\t\t\tLoad more\n\t\t\t\t\t\t\t")]):t._e()],2):t._e(),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.clearSelectedCollections()}}},[t._v("Clear")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"schedulePost"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"mediaMetadata"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"addToStory"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"editMedia"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:t.media[t.carouselCursor].preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("Media Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.carouselCursor].alt,expression:"media[carouselCursor].alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:"140"},domProps:{value:t.media[t.carouselCursor].alt},on:{input:function(e){e.target.composing||t.$set(t.media[t.carouselCursor],"alt",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-muted mb-0 d-flex justify-content-between"},[i("span",[t._v("Describe your photo for people with visual impairments.")]),t._v(" "),i("span",[t._v(t._s(t.media[t.carouselCursor].alt?t.media[t.carouselCursor].alt.length:0)+"/140")])])]),t._v(" "),i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("License")]),t._v(" "),i("select",{directives:[{name:"model",rawName:"v-model",value:t.licenseId,expression:"licenseId"}],staticClass:"form-control",on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.licenseId=e.target.multiple?i:i[0]}}},t._l(t.availableLicenses,(function(e,s){return i("option",{domProps:{value:e.id,selected:e.id==t.licenseId}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t\t")])})),0)])])]),t._v(" "),i("hr"),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"video-2"==t.page?i("div",{staticClass:"w-100 h-100"},[t.video.title.length?i("div",{staticClass:"border-bottom"},[i("div",{staticClass:"media p-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"100px",height:"70px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"font-weight-bold mb-1"},[t._v(t._s(t.video.title?t.video.title.slice(0,70):"Untitled"))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(t.video.description?t.video.description.slice(0,90):"No description"))])])])]):t._e(),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(16),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[t._v("Add license")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("div",{staticClass:"form-group"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Title")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.video.title,expression:"video.title"}],staticClass:"form-control",attrs:{placeholder:"Add a good title"},domProps:{value:t.video.title},on:{input:function(e){e.target.composing||t.$set(t.video,"title",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.title.length)+"/70")])]),t._v(" "),i("div",{staticClass:"form-group mb-0"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.video.description,expression:"video.description"}],staticClass:"form-control",attrs:{placeholder:"Add an optional description",maxlength:"5000",rows:"5"},domProps:{value:t.video.description},on:{input:function(e){e.target.composing||t.$set(t.video,"description",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.description.length)+"/5000")])])])]):t._e()]),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"card-footer bg-white d-flex justify-content-between"},[i("div",[i("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"},on:{click:t.rotate}},[i("i",{staticClass:"fas fa-redo"})])]),t._v(" "),i("div",[i("div",{staticClass:"d-inline-block button-group"},[i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==16/9?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(16/9)}}},[t._v("16:9")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==4/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(4/3)}}},[t._v("4:3")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1.5==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1.5)}}},[t._v("3:2")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1)}}},[t._v("1:1")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==2/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(2/3)}}},[t._v("2:3")])])])]):t._e()])])])])},a=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("span",{staticClass:"pr-3"},[i("i",{staticClass:"fas fa-cog fa-lg text-muted"})]),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tCamera Roll\n\t\t\t\t\t")]),t._v(" "),i("span",{staticClass:"text-primary font-weight-bold"},[t._v("Upload")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"pr-3"},[e("i",{staticClass:"fas fa-info-circle fa-lg text-primary"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%","background-color":"#008DF5"}},[e("i",{staticClass:"fal fa-bolt text-white fa-lg"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Post")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"far fa-edit text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Text Post")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share a text only post")])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fas fa-history text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Story")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Add to your story")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"fas fa-poll-h text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Poll")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Create a poll")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/collections/create"}},[i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fal fa-images text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Collection")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("New collection of posts")])])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"py-3"},[i("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v("Help")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",[t._v("Add to Collection "),i("span",{staticClass:"ml-2 badge badge-primary"},[t._v("NEW")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-decoration-none"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Turn off commenting")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Disables comments for this post, you can change this later.")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("div",[i("div",{staticClass:"text-dark"},[t._v("Media Descriptions")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Describe your photos for people with visual impairments.")])]),t._v(" "),i("div",[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])}]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[680],{31453:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var s=i(42755),a=i(88231),o=i(14205),n=i(64439);const l={components:{drawer:s.default,sidebar:a.default,"compose-desktop":o.default,"compose-modal":n.default},data:function(){return{isLoaded:!1,profile:void 0,showNew:!1}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0;var t=new URLSearchParams(window.location.search);t.has("fl")&&"v5"==t.get("fl")&&(this.showNew=!0)},methods:{closeModal:function(){this.$router.push("/i/web")}}}},61043:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r});var s=i(17652),a=(i(81943),i(29655)),o=(i(99101),i(15235));function n(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i=e.config.uploader.album_limit)return swal("Oops!","Posts can have up to "+e.config.uploader.album_limit+" photos or videos, you cannot add any more.","error"),void(e.uploading=!1);if(0==e.config.uploader.media_types.split(",").includes(t.type))return swal("Invalid File Type","You can only upload the following mime types: "+e.config.uploader.media_types,"error"),void(e.uploading=!1);var s=new FormData;s.append("file",t);var a={onUploadProgress:function(t){var i=Math.round(100*t.loaded/t.total);e.uploadProgress=i}};axios.post("/api/compose/v0/media/upload",s,a).then((function(t){var i=t.data;i.edit={brightness:100,contrast:100,saturation:100},e.uploadProgress=100,e.ids.push(t.data.id),e.crops.push({}),e.media.push(i),2!=e.media.map((function(t){return t.mime})).filter((function(t,e,i){return i.indexOf(t)===e})).length?(e.uploading=!1,e.$nextTick((function(){e.compareEdits(i.edit,e.edit)||(e.media[e.mediaIndex].edit=e.edit,e.edit=i.edit),e.tab="crop",e.mediaIndex=e.media.length-1})),setTimeout((function(){document.querySelector(".media-thumbs").scrollLeft+=999999}),300)):swal("Oops!","Your post must contain a single photo or video or multiple photos","error")})).catch((function(i){switch(i.response.status){case 451:e.uploading=!1,t.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),e.page=2;break;case 429:e.uploading=!1,t.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),e.page=2;break;default:e.uploading=!1,t.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),e.page=2}})),t.value=null,e.uploadProgress=0}))},dragOverHandler:function(t){t.preventDefault()}},watch:{edit:{handler:function(t,e){this.previewFilters()},deep:!0}}}},49144:(t,e,i)=>{i.r(e),i.d(e,{default:()=>c});var s=i(17652),a=(i(81943),i(29655)),o=(i(99101),i(15235)),n=i(19755);function l(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i10&&(t.licenseTitle=t.availableLicenses.filter((function(e){return e.id==t.licenseId})).map((function(t){return t.title}))[0]),t.fetchProfile()}))},mounted:function(){this.mediaWatcher()},methods:{timeAgo:function(t){return App.util.format.timeAgo(t)},fetchProfile:function(){var t=this,e={public:"Public",private:"Followers Only",unlisted:"Unlisted"};if(window._sharedData.curUser.id){if(this.profile=window._sharedData.curUser,this.composeSettings&&this.composeSettings.hasOwnProperty("default_scope")&&this.composeSettings.default_scope){var i=this.composeSettings.default_scope;this.visibility=i,this.visibilityTag=e[i]}1==this.profile.locked&&(this.visibility="private",this.visibilityTag="Followers Only")}else axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(i){if(window._sharedData.currentUser=i.data,t.profile=i.data,t.composeSettings&&t.composeSettings.hasOwnProperty("default_scope")&&t.composeSettings.default_scope){var s=t.composeSettings.default_scope;t.visibility=s,t.visibilityTag=e[s]}1==t.profile.locked&&(t.visibility="private",t.visibilityTag="Followers Only")})).catch((function(t){}))},addMedia:function(t){var e=n(t.target);e.attr("disabled",""),n('.file-input[name="media"]').trigger("click"),e.blur(),e.removeAttr("disabled")},addText:function(t){this.pageTitle="New Text Post",this.page="addText",this.textMode=!0,this.mode="text"},mediaWatcher:function(){var t=this;n(document).on("change","#pf-dz",(function(e){t.mediaUpload()}))},mediaUpload:function(){var t=this;t.uploading=!0;var e=document.querySelector("#pf-dz");e.files.length||(t.uploading=!1),Array.prototype.forEach.call(e.files,(function(e,i){if(t.media&&t.media.length+i>=t.config.uploader.album_limit)return swal("Error","You can only upload "+t.config.uploader.album_limit+" photos per album","error"),t.uploading=!1,void(t.page=2);var s=e.type,a=t.config.uploader.media_types.split(",");if(-1==n.inArray(s,a))return swal("Invalid File Type","The file you are trying to add is not a valid mime type. Please upload a "+t.config.uploader.media_types+" only.","error"),t.uploading=!1,void(t.page=2);var o=new FormData;o.append("file",e);var l={onUploadProgress:function(e){var i=Math.round(100*e.loaded/e.total);t.uploadProgress=i}};axios.post("/api/compose/v0/media/upload",o,l).then((function(e){t.uploadProgress=100,t.ids.push(e.data.id),t.media.push(e.data),t.uploading=!1,setTimeout((function(){t.page=3}),300)})).catch((function(i){switch(i.response.status){case 451:t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),t.page=2;break;case 429:t.uploading=!1,e.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),t.page=2;break;default:t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),t.page=2}})),e.value=null,t.uploadProgress=0}))},toggleFilter:function(t,e){this.media[this.carouselCursor].filter_class=e,this.currentFilter=e},deleteMedia:function(){var t=this;if(0!=window.confirm("Are you sure you want to delete this media?")){var e=this.media[this.carouselCursor].id;axios.delete("/api/compose/v0/media/delete",{params:{id:e}}).then((function(e){t.ids.splice(t.carouselCursor,1),t.media.splice(t.carouselCursor,1),0==t.media.length?(t.ids=[],t.media=[],t.carouselCursor=0):t.carouselCursor=0})).catch((function(t){swal("Whoops!","An error occured when attempting to delete this, please try again","error")}))}},compose:function(){var t=this,e=this.composeState;if(100==this.uploadProgress&&0!=this.ids.length)if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(e){case"publish":if(!0===this.composeSettings.media_descriptions)if(this.media.filter((function(t){return!t.hasOwnProperty("alt")||t.alt.length<2})).length)return void swal("Missing media descriptions","You have enabled mandatory media descriptions. Please add media descriptions under Advanced settings to proceed. For more information, please see the media settings page.","warning");if(0==this.media.length)return void swal("Whoops!","You need to add media before you can save this!","warning");"Add optional caption..."==this.composeText&&(this.composeText="");var i={media:this.media,caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames,optimize_media:this.optimizeMedia,license:this.licenseId,video:this.video};return this.collectionsSelected.length&&(i.collections=this.collectionsSelected.map((function(e){return t.collections[e].id}))),void axios.post("/api/compose/v0/publish",i).then((function(t){"/i/web/compose"===location.pathname&&t.data&&t.data.length?location.href="/i/web/post/"+t.data.split("/").slice(-1)[0]:location.href=i})).catch((function(t){if(t.response){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}else swal("Oops, something went wrong!",t.message,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void n("#composeModal").modal("hide")}},composeTextPost:function(){var t=this.composeState;if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(t){case"publish":var e={caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames};return void axios.post("/api/compose/v0/publish/text",e).then((function(t){var e=t.data;window.location.href=e})).catch((function(t){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void n("#composeModal").modal("hide")}},closeModal:function(){n("#composeModal").modal("hide"),this.$emit("close")},goBack:function(){switch(this.pageTitle="",this.mode){case"photo":switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page=3:this.page--}break;case"video":this.page,this.page="video-2";break;default:switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page="text"==this.mode?"addText":3:"text"==this.mode||this.page--}}},nextPage:function(){switch(this.pageTitle="",this.page){case 1:this.page=2;break;case"cropPhoto":this.pageLoading=!0;var t=this;this.$refs.cropper.getCroppedCanvas({maxWidth:4096,maxHeight:4096,fillColor:"#fff",imageSmoothingEnabled:!1,imageSmoothingQuality:"high"}).toBlob((function(e){t.mediaCropped=!0;var i=new FormData;i.append("file",e),i.append("id",t.ids[t.carouselCursor]);axios.post("/api/compose/v0/media/update",i).then((function(e){t.media[t.carouselCursor].url=e.data.url,t.pageLoading=!1,t.page=2})).catch((function(t){}))}));break;case 2:this.currentFilter?window.confirm("Are you sure you want to apply this filter?")&&(this.applyFilterToMedia(),this.page++):this.page++;break;case 3:this.page++}},rotate:function(){this.$refs.cropper.rotate(90)},changeAspect:function(t){this.cropper.aspectRatio=t,this.$refs.cropper.setAspectRatio(t)},showTagCard:function(){this.pageTitle="Tag People",this.page="tagPeople"},showTagHelpCard:function(){this.pageTitle="About Tag People",this.page="tagPeopleHelp"},showLocationCard:function(){this.pageTitle="Add Location",this.page="addLocation"},showAdvancedSettingsCard:function(){this.pageTitle="Advanced Settings",this.page="advancedSettings"},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){switch(this.place=t,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showVisibilityCard:function(){this.pageTitle="Post Visibility",this.page="visibility"},showAddToStoryCard:function(){this.pageTitle="Add to Story",this.page="addToStory"},showCropPhotoCard:function(){this.pageTitle="Edit Photo",this.page="cropPhoto"},toggleVisibility:function(t){switch(this.visibility=t,this.visibilityTag={public:"Public",private:"Followers Only",unlisted:"Unlisted"}[t],this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showMediaDescriptionsCard:function(){this.pageTitle="Media Descriptions",this.page="altText"},showAddToCollectionsCard:function(){this.pageTitle="Add to Collection",this.page="addToCollection"},showSchedulePostCard:function(){this.pageTitle="Schedule Post",this.page="schedulePost"},showEditMediaCard:function(){this.pageTitle="Edit Media",this.page="editMedia"},fetchCameraRollDrafts:function(){var t=this;axios.get("/api/pixelfed/local/drafts").then((function(e){t.cameraRollMedia=e.data}))},applyFilterToMedia:function(){var t=navigator.userAgent.toLowerCase();if(-1!=t.indexOf("firefox")||-1!=t.indexOf("chrome"))for(var e=this.media,i=null,s=document.getElementById("pr_canvas"),a=s.getContext("2d"),o=document.getElementById("pr_img"),n=null,l=e.length-1;l>=0;l--)(i=e[l]).filter_class&&(o.src=i.url,o.addEventListener("load",(function(t){s.width=o.width,s.height=o.height,a.filter=App.util.filterCss[i.filter_class],a.drawImage(o,0,0,o.width,o.height),a.save(),s.toBlob((function(t){(n=new FormData).append("file",t),n.append("id",i.id),axios.post("/api/compose/v0/media/update",n).then((function(t){})).catch((function(t){}))}))}),i.mime,.9),a.clearRect(0,0,o.width,o.height));else swal("Oops!","Your browser does not support the filter feature.","error")},tagSearch:function(t){if(t.length<1)return[];var e=this;return axios.get("/api/compose/v0/search/tag",{params:{q:t}}).then((function(t){if(t.data.length)return t.data.filter((function(t){return 0==e.taggedUsernames.filter((function(e){return e.id==t.id})).length}))}))},getTagResultValue:function(t){return"@"+t.name},onTagSubmitLocation:function(t){this.taggedUsernames.filter((function(e){return e.id==t.id})).length||(this.taggedUsernames.push(t),this.$refs.autocomplete.value="")},untagUsername:function(t){this.taggedUsernames.splice(t,1)},showTextOptions:function(){this.page="textOptions",this.pageTitle="Text Post Options"},showLicenseCard:function(){this.pageTitle="Select a License",this.page="licensePicker"},toggleLicense:function(t){var e=this;switch(this.licenseId=t.id,this.licenseId>10?this.licenseTitle=this.availableLicenses.filter((function(t){return t.id==e.licenseId})).map((function(t){return t.title}))[0]:this.licenseTitle=null,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},newPoll:function(){this.page="poll"},savePollOption:function(){-1==this.pollOptions.indexOf(this.pollOptionModel)?(this.pollOptions.push(this.pollOptionModel),this.pollOptionModel=null):this.pollOptionModel=null},deletePollOption:function(t){this.pollOptions.splice(t,1)},postNewPoll:function(){var t=this;this.postingPoll=!0,axios.post("/api/compose/v0/poll",{caption:this.composeText,cw:!1,visibility:this.visibility,comments_disabled:!1,expiry:this.pollExpiry,pollOptions:this.pollOptions}).then((function(e){if(!e.data.hasOwnProperty("url"))return swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error"),void(t.postingPoll=!1);window.location.href=e.data.url})).catch((function(e){if(console.log(e.response.data.error),e.response.data.hasOwnProperty("error")&&"Duplicate detected."==e.response.data.error)return t.postingPoll=!1,void swal("Oops!","The poll you are trying to create is similar to an existing poll you created. Please make the poll question (caption) unique.","error");t.postingPoll=!1,swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error")}))},filesize:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return filesize(1024*t,{round:0})})),showCollectionCard:function(){this.pageTitle="Add to Collection(s)",this.page="addToCollection",this.collectionsLoaded||this.fetchCollections()},fetchCollections:function(){var t=this;axios.get("/api/local/profile/collections/".concat(this.profile.id)).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.collectionsCanLoadMore=9==e.data.length,t.collectionsPage++}))},toggleCollectionItem:function(t){if(this.collectionsSelected.includes(t))this.collectionsSelected=this.collectionsSelected.filter((function(e){return e!=t}));else{if(7==this.collectionsSelected.length)return void swal("Oops!","You can only share to 5 collections.","info");this.collectionsSelected.push(t)}},clearSelectedCollections:function(){this.collectionsSelected=[],this.pageTitle="Compose",this.page=3},loadMoreCollections:function(){var t=this;this.collectionsCanLoadMore=!1,axios.get("/api/local/profile/collections/".concat(this.profile.id),{params:{page:this.collectionsPage}}).then((function(e){var i,s=t.collections.map((function(t){return t.id})),a=e.data.filter((function(t){return!s.includes(t.id)}));a&&a.length&&((i=t.collections).push.apply(i,l(a)),t.collectionsPage++,t.collectionsCanLoadMore=!0)}))}}}},72727:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(23645),a=i.n(s)()((function(t){return t[1]}));a.push([t.id,'.compose-desktop .tab-flex[data-v-5779f6cf]{align-items:center;display:flex;justify-content:center;min-height:600px}.compose-desktop .tab[data-v-5779f6cf]{min-height:600px}.compose-desktop .crop-dimension-btn[data-v-5779f6cf]{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px;padding-left:0;text-decoration:none;width:100%}.compose-desktop .crop-dimension-btn-label[data-v-5779f6cf]{align-items:center;color:#212529;display:flex}.compose-desktop .crop-dimension-btn-label-icon[data-v-5779f6cf]{margin-right:10px;text-align:center;width:40px}.compose-desktop .crop-dimension-btn-label-name[data-v-5779f6cf]{font-size:.99rem;font-weight:300}.compose-desktop .crop-dimension-btn.active .crop-dimension-btn-indicator i[data-v-5779f6cf]{color:#2c78bf!important}.compose-desktop .crop-dimension-btn.active .crop-dimension-btn-indicator .fa-circle[data-v-5779f6cf]:before{content:""}.compose-desktop .crop-dimension-btn[disabled=disabled] .crop-dimension-btn-indicator[data-v-5779f6cf],.compose-desktop .crop-dimension-btn[disabled=disabled] .crop-dimension-btn-label[data-v-5779f6cf]{color:#b8c2cc!important}.compose-desktop .hide-scroll[data-v-5779f6cf]{-ms-overflow-style:none;overflow-y:scroll;scrollbar-width:none}.compose-desktop .hide-scroll[data-v-5779f6cf]::-webkit-scrollbar{display:none}.compose-desktop .no-focus[data-v-5779f6cf]{border-color:none;box-shadow:none;outline:0}.compose-desktop .list-btn[data-v-5779f6cf]{align-items:center;background-color:#fff;border:1px solid rgba(0,0,0,.125);border-left:0;border-right:0;display:flex;justify-content:space-between;padding:.75rem 1.25rem;position:relative}.compose-desktop .list-btn[data-v-5779f6cf]:not(:first-child){border-top:0}.compose-desktop .list-btn .lead[data-v-5779f6cf]{font-size:1rem}.compose-desktop .list-btn.active[data-v-5779f6cf]{background-color:#f3f4f6}.compose-desktop .list-btn.active .lead[data-v-5779f6cf]{font-weight:500}.compose-desktop .settings-tab[data-v-5779f6cf]{border-radius:0;display:flex;flex-direction:column;flex-grow:1;margin-bottom:0;margin-left:-1rem;margin-top:-17px;max-height:600px;overflow-y:auto;padding-left:0}.compose-desktop .media-square[data-v-5779f6cf]{border:1px solid #dee2e6;border-radius:.25rem;cursor:pointer;height:70px;margin:auto .5rem;-o-object-fit:cover;object-fit:cover;width:70px}.compose-desktop .media-square.active[data-v-5779f6cf]{border:3px solid #3b82f6;padding:2px}.compose-desktop .media-square.activeold[data-v-5779f6cf]{border:3px dashed #bfdbfe;padding:2px}.compose-desktop .media-add-square[data-v-5779f6cf]{right:0}.compose-desktop .media-add-square[data-v-5779f6cf],.compose-desktop .media-remove-square[data-v-5779f6cf]{align-items:center;display:flex;height:70px;justify-content:center;position:-webkit-sticky;position:sticky;text-decoration:none;top:0;width:30px}.compose-desktop .media-remove-square[data-v-5779f6cf]{left:0}.compose-desktop .media-remove-square .fa-minus-circle[data-v-5779f6cf]{color:#b8c2cc!important}.compose-desktop .media-thumbs[data-v-5779f6cf]{-ms-overflow-style:none;display:flex;height:auto;justify-content:center;margin-top:1rem;max-width:500px;overflow-y:auto;position:relative;scrollbar-width:none;width:100%}.compose-desktop .media-thumbs[data-v-5779f6cf]::-webkit-scrollbar{display:none}.compose-desktop .edit-nav-tab[data-v-5779f6cf]{border-bottom:1px solid #dee2e6!important;color:#b8c2cc;cursor:pointer;font-weight:400;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.compose-desktop .edit-nav-tab.active[data-v-5779f6cf]{border-bottom:1px solid #000!important;color:#212529;font-weight:700}',""]);const o=a},42770:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(23645),a=i.n(s)()((function(t){return t[1]}));a.push([t.id,".compose-modal-component .media-drawer-filters{flex-wrap:unset;overflow-x:scroll}.compose-modal-component .media-drawer-filters::-webkit-scrollbar{background:transparent;width:0}.compose-modal-component .media-drawer-filters .nav-link{min-width:100px;padding-bottom:1rem;padding-top:1rem}.compose-modal-component .media-drawer-filters .active{color:#fff;font-weight:700}@media(hover:none)and (pointer:coarse){.compose-modal-component .media-drawer-filters::-webkit-scrollbar{display:none}}.compose-modal-component .no-focus{border-color:none;box-shadow:none;outline:0}.compose-modal-component a.list-group-item{text-decoration:none}.compose-modal-component a.list-group-item:hover{background-color:#f8f9fa!important;text-decoration:none}.compose-modal-component .compose-action:hover{background-color:#f8f9fa!important;cursor:pointer}.compose-modal-component .collections-list-group{max-height:500px;overflow-y:auto}.compose-modal-component .collections-list-group .list-group-item.active{background-color:#dbeafe!important;border-color:#60a5fa!important;color:#212529}",""]);const o=a},50864:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var s=i(93379),a=i.n(s),o=i(72727),n={insert:"head",singleton:!1};a()(o.default,n);const l=o.default.locals||{}},55898:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var s=i(93379),a=i.n(s),o=i(42770),n={insert:"head",singleton:!1};a()(o.default,n);const l=o.default.locals||{}},55763:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(24601),a=i(55489),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);const n=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,null,null).exports},14205:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(56864),a=i(89997),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);i(17143);const n=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,"5779f6cf",null).exports},64439:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(92013),a=i(10594),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);i(40309);const n=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,null,null).exports},55489:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(31453),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},89997:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(61043),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},10594:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(49144),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},17143:(t,e,i)=>{i.r(e);var s=i(50864),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},40309:(t,e,i)=>{i.r(e);var s=i(55898),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},24601:(t,e,i)=>{i.r(e);var s=i(27938),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},56864:(t,e,i)=>{i.r(e);var s=i(84326),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},92013:(t,e,i)=>{i.r(e);var s=i(40572),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},27938:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"web-wrapper"},[t.isLoaded?i("div",{staticClass:"container-fluid mt-3"},[i("div",{staticClass:"row"},[i("div",{staticClass:"col-md-3 d-md-block"},[i("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),i("div",{staticClass:"col-md-8"},[t.showNew?i("div",[i("compose-desktop")],1):i("div",{staticClass:"row"},[i("div",{staticClass:"col-12 col-md-8 offset-md-1"},[i("compose-modal",{on:{close:t.closeModal}})],1)])])]),t._v(" "),i("drawer")],1):t._e()])},a=[]},84326:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"compose-desktop"},[i("input",{ref:"dz",staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",name:"media",accept:t.config.uploader.media_types},on:{change:t.uploadMedia}}),t._v(" "),i("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),i("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),i("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"},on:{drop:function(e){return t.dropHandler(e)},dragover:function(e){return t.dragOverHandler(e)}}},[i("div",{staticClass:"card-header",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},["home"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[t._m(0),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Compose")]),t._v(" "),t._m(1)]):t._e(),t._v(" "),"crop"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Crop")]),t._v(" "),t._m(2)]):t._e(),t._v(" "),"edit"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Edit")]),t._v(" "),t._m(3)]):t._e(),t._v(" "),"caption"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Compose")]),t._v(" "),t._m(4)]):t._e(),t._v(" "),"alt-text"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v("Alt Text")]),t._v(" "),t._m(5)]):t._e(),t._v(" "),"settings"==t.tab?i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("button",{staticClass:"btn btn-link p-0",on:{click:function(e){return t.goBack()}}},[i("i",{staticClass:"fal fa-chevron-left fa-lg text-lighter"})]),t._v(" "),i("span",{staticClass:"lead font-weight-bold"},[t._v(t._s(t.settingsTitle))]),t._v(" "),t._m(6)]):t._e()]),t._v(" "),t.uploading?i("div",{staticClass:"card-body p-0 d-flex justify-content-center align-items-center",staticStyle:{height:"600px"}},[i("div",{staticClass:"text-center"},[i("b-spinner"),t._v(" "),i("p",[t._v(t._s(t.$t("post.uploading"))+"...")])],1)]):i("div",{staticClass:"card-body p-0"},["home"==t.tab?i("div",[i("div",{staticClass:"tab-flex"},[i("div",{staticClass:"d-flex justify-content-between align-items-center"},[t._m(7),t._v(" "),i("span",{staticClass:"font-weight-bold mx-4"},[t._v("or")]),t._v(" "),i("button",{staticClass:"btn btn-light shadow text-center mx-4 p-3",staticStyle:{"border-radius":"18px"},on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-upload fa-3x my-3 text-lighter"}),t._v(" "),i("p",{staticClass:"font-weight-bold text-dark mb-0"},[t._v("Browse from my device")])])])]),t._v(" "),i("div",{staticClass:"text-center"},[i("p",{staticClass:"text-muted"},[t._v("Photos and videos can be up to "),i("strong",[t._v(t._s(t.maxFileSize))]),t._v(" in size, and must be one of the following formats:\n\t\t\t\t\t\t"),t._l(t.config.uploader.media_types.split(","),(function(e){return i("span",{staticClass:"mr-1"},[i("kbd",[t._v(t._s(e.split("/")[1]))])])}))],2)])]):t._e(),t._v(" "),"crop"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[t.activeCrop?i("vue-cropper",{ref:"croppa",staticClass:"p-0 img-fluid",attrs:{aspectRatio:t.cropRatios[t.cropRatio],viewMode:3,dragMode:"move",autoCropArea:1,guides:!1,highlight:!1,cropBoxMovable:!1,cropBoxResizable:!1,toggleDragModeOnDblclick:!1,src:t.media[t.mediaIndex].url,data:t.crops[t.mediaIndex]},on:{crop:t.onCropEnd,zoom:t.onCropEnd}}):i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},[i("button",{staticClass:"btn btn-link media-remove-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-minus-circle fa-lg text-dark"})]),t._v(" "),t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),t._v(" "),i("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("div",[i("h5",{staticClass:"font-weight-bold mb-3"},[t._v("Select a Crop")]),t._v(" "),t._m(8),t._v(" "),i("button",{staticClass:"btn crop-dimension-btn",class:{active:1==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(1)}}},[t._m(9),t._v(" "),t._m(10)]),t._v(" "),i("button",{staticClass:"btn crop-dimension-btn",class:{active:2==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(2)}}},[t._m(11),t._v(" "),t._m(12)]),t._v(" "),i("button",{staticClass:"btn crop-dimension-btn",class:{active:3==t.cropRatio},attrs:{disabled:""},on:{click:function(e){return t.toggleCropRatio(3)}}},[t._m(13),t._v(" "),t._m(14)])]),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",on:{click:t.cropMedia}},[t._v("Next")])])])]):t._e(),t._v(" "),"edit"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},[i("button",{staticClass:"btn btn-link media-remove-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-minus-circle fa-lg text-dark"})]),t._v(" "),t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),t._v(" "),i("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("nav",{staticClass:"nav nav-fill text-uppercase",staticStyle:{"margin-left":"-16px"}},[i("div",{staticClass:"nav-link edit-nav-tab",class:{active:"filters"==t.editTab},on:{click:function(e){return t.toggleEditTab("filters")}}},[t._v("\n\t\t\t\t\t\t\tFilters\n\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"nav-link edit-nav-tab",class:{active:"edit"==t.editTab},on:{click:function(e){return t.toggleEditTab("edit")}}},[t._v("\n\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t")])]),t._v(" "),"filters"==t.editTab?i("div",{staticClass:"row pr-3 hide-scroll mt-2",staticStyle:{height:"450px","overflow-y":"auto"}},[i("div",{staticClass:"col-4 mb-3",on:{click:function(e){return t.selectFilter(null)}}},[i("p",{staticClass:"font-weight-bold text-center small mb-1",class:[null==t.activeFilter?"text-dark":"text-lighter"]},[t._v("Original")]),t._v(" "),i("span",{staticClass:"border rounded d-block overflow-hidden",class:[null==t.activeFilter?"shadow-lg":""]},[t._m(15)])]),t._v(" "),t._l(t.filters,(function(e,s){return i("div",{staticClass:"col-4 mb-3",on:{click:function(e){return t.selectFilter(s)}}},[i("p",{staticClass:"font-weight-bold text-center small mb-1",class:[t.activeFilter==s?"text-dark":"text-lighter"]},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e[0])+"\n\t\t\t\t\t\t\t")]),t._v(" "),i("span",{staticClass:"border rounded d-block overflow-hidden",class:[t.activeFilter==s?"shadow-lg":""]},[i("span",{staticClass:"d-block",class:e[1]},[i("img",{staticStyle:{width:"100%",height:"auto"},attrs:{src:"https://pixelfed.test/storage/m/_v2/321493203255693312/f98697a52-a34568/N3fVbXluhhaO/qmqOrgXvjyWVa7GyTHYP6Vs9ZNskrQ4YNbdks2DZ.jpg"}})])])])}))],2):t._e(),t._v(" "),"edit"==t.editTab?i("div",{staticClass:"settings-tab hide-scroll mt-0"},[i("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[i("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tBrightness\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.brightness,callback:function(e){t.$set(t.edit,"brightness",e)},expression:"edit.brightness"}})],1),t._v(" "),i("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.brightness-100)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),i("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[i("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tContrast\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.contrast,callback:function(e){t.$set(t.edit,"contrast",e)},expression:"edit.contrast"}})],1),t._v(" "),i("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.contrast-100)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),i("button",{staticClass:"list-btn border-top-0 pb-1",attrs:{type:"button"}},[i("div",{staticClass:"text-left mr-3",staticStyle:{"flex-grow":"1"}},[i("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\tSaturation\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("b-form-input",{attrs:{type:"range",min:"0",max:"200"},model:{value:t.edit.saturation,callback:function(e){t.$set(t.edit,"saturation",e)},expression:"edit.saturation"}})],1),t._v(" "),i("p",{staticClass:"font-weight-light mb-0",staticStyle:{width:"50px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.edit.saturation-100)+"\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",on:{click:t.applyEdit}},[t._v("Next")])])])]):t._e(),t._v(" "),"caption"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},[t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),t._v(" "),i("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("div",{staticClass:"pr-3"},[i("div",{staticClass:"media align-items-center mb-3"},[i("img",{staticClass:"rounded-circle mr-3",attrs:{src:t.profile.avatar,width:"30",height:"30"}}),t._v(" "),i("div",{staticClass:"media-body lead font-weight-bold"},[t._v(t._s(t.profile.username))])]),t._v(" "),i("div",{staticClass:"form-group mb-3"},[i("div",{staticClass:"border rounded"},[i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 no-focus",staticStyle:{resize:"none","border-radius":"8px"},attrs:{rows:"3",placeholder:"Add an optional caption...",maxlength:"1000"},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("div",{staticClass:"text-lighter p-2 d-flex align-items-end justify-content-between"},[i("div",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.composeText?t.composeText.length:0)),i("span",{staticStyle:{margin:"auto 2px"}},[t._v("/")]),t._v("1000\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),t._m(16)])],1)]),t._v(" "),t._m(17)]),t._v(" "),i("div",{staticClass:"list-group ml-n3 rounded-0 flex-grow-1"},[i("div",{staticClass:"list-btn"},[i("div",{staticClass:"lead mb-0"},[t._v("Sensitive")]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleSensitive}},[i("i",{staticClass:"fal no-focus fa-2x",class:[t.sensitive?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editAltText}},[i("div",{staticClass:"lead mb-0"},[t._v("Accessibility")]),t._v(" "),i("div",{staticClass:"text-lighter"},[i("i",{staticClass:"fal fa-lg",class:[t.media.filter((function(t){return t&&t.description&&t.description.length})).length?"fa-check-circle text-success":"fa-chevron-right"]})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.advancedSettings}},[i("div",{staticClass:"lead mb-0"},[t._v("Advanced Settings")]),t._v(" "),t._m(18)]),t._v(" "),t.collections.length&&t.collectionsSelected.length?i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editCollection}},[i("div",{staticClass:"lead mb-0"},[t._v("Sharing to "+t._s(t.collectionsSelected.length)+" collections")]),t._v(" "),t._m(19)]):t._e()]),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-primary font-weight-bold btn-block py-1",attrs:{disabled:t.isPosting},on:{click:t.sharePost}},[t.isPosting?i("b-spinner",{attrs:{small:""}}):i("span",[t._v(t._s(t.$t("common.share")))])],1)])])]):t._e(),t._v(" "),"alt-text"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},[t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),t._v(" "),i("button",{staticClass:"btn btn-link media-add-square",on:{click:t.selectMedia}},[i("i",{staticClass:"fal fa-plus-circle fa-lg text-dark"})])],2)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},[i("div",{staticClass:"pr-3"},[i("p",{staticClass:"lead mt-3 pb-3"},[t._v("Describe your media for alt text that is used by people with limited vision")]),t._v(" "),i("div",{staticClass:"form-group mb-3"},[i("div",{staticClass:"border rounded"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.mediaIndex].description,expression:"media[mediaIndex].description"}],staticClass:"form-control border-0 no-focus",staticStyle:{resize:"none","border-radius":"8px"},attrs:{rows:"3",placeholder:"Add alt text here...",maxlength:"1000"},domProps:{value:t.media[t.mediaIndex].description},on:{input:function(e){e.target.composing||t.$set(t.media[t.mediaIndex],"description",e.target.value)}}}),t._v(" "),i("div",{staticClass:"text-lighter p-2 d-flex align-items-end justify-content-between"},[i("div",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.media[t.mediaIndex].description?t.media[t.mediaIndex].description.length:0)),i("span",{staticStyle:{margin:"auto 2px"}},[t._v("/")]),t._v("1000\n\t\t\t\t\t\t\t\t\t")])])])])]),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-light font-weight-bold btn-block py-1",on:{click:function(e){return t.goBack()}}},[t._v("Back")])])])]):t._e(),t._v(" "),"settings"==t.tab?i("div",{staticClass:"tab row"},[i("div",{staticClass:"col-8 border-right d-flex justify-content-center align-items-center"},[i("div",{staticClass:"py-4",staticStyle:{width:"60%",height:"auto"}},[i("img",{staticStyle:{"object-fit":"contain"},style:t.previewCssFilters,attrs:{src:t.media[t.mediaIndex].url,width:"100%",height:"400"}}),t._v(" "),i("transition",{attrs:{name:"fade"}},[i("div",{staticClass:"media-thumbs"},t._l(t.media,(function(e,s){return i("img",{staticClass:"media-square",class:{active:t.mediaIndex===s},attrs:{src:e.url},on:{click:function(e){return t.selectMediaIndex(s)}}})})),0)])],1)]),t._v(" "),i("div",{staticClass:"col-4 m-0 p-3 d-flex justify-content-between flex-column"},["home"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editAudience}},[i("div",{staticClass:"lead mb-0"},[t._v("Audience")]),t._v(" "),i("div",{staticClass:"text-lighter"},[i("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0 text-capitalize"},[t._v(t._s(t.composeScope))]),t._v(" "),i("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),i("div",{staticClass:"list-btn"},[i("div",{staticClass:"lead mb-0"},[t._v("Disable Comments")]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleDisableComments}},[i("i",{staticClass:"fal no-focus fa-2x",class:[t.composeDisabledComments?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editLicense}},[i("div",{staticClass:"lead mb-0"},[t._v("License")]),t._v(" "),i("div",{staticClass:"text-lighter"},[i("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.licenseIndex>=2?t.availableLicenses[t.licenseIndex].title:t.availableLicenses[t.licenseIndex].name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editMedia}},[i("div",{staticClass:"lead mb-0"},[t._v("Media")]),t._v(" "),t._m(20)]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editSchedule}},[i("div",{staticClass:"lead mb-0"},[t._v("Schedule")]),t._v(" "),i("div",{staticClass:"text-lighter"},[t.schedule.enabled?i("span",{staticClass:"btn btn-light btn-sm font-weight-bold mr-2 my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.getScheduleDate())+"\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),i("i",{staticClass:"fal fa-chevron-right fa-lg"})])]),t._v(" "),i("button",{staticClass:"list-btn",attrs:{type:"button"},on:{click:t.editCollection}},[i("div",{staticClass:"lead mb-0"},[t._v("Share to Collection")]),t._v(" "),t._m(21)])]):t._e(),t._v(" "),"audience"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("button",{staticClass:"list-btn",class:{active:"public"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("public")}}},[i("div",{staticClass:"lead mb-0"},[t._v("Public")]),t._v(" "),t._m(22)]),t._v(" "),i("button",{staticClass:"list-btn",class:{active:"unlisted"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("unlisted")}}},[i("div",{staticClass:"lead mb-0"},[t._v("Unlisted")]),t._v(" "),t._m(23)]),t._v(" "),i("button",{staticClass:"list-btn",class:{active:"followers"==t.composeScope},attrs:{type:"button"},on:{click:function(e){return t.setScope("followers")}}},[i("div",{staticClass:"lead mb-0"},[t._v("Followers Only")]),t._v(" "),t._m(24)])]):t._e(),t._v(" "),"license"==t.settingsTab?i("div",{staticClass:"settings-tab"},t._l(t.availableLicenses,(function(e,s){return i("button",{staticClass:"list-btn",class:{active:t.licenseIndex==s},attrs:{type:"button"},on:{click:function(e){return t.setLicense(s)}}},[i("div",{staticClass:"lead mb-0"},[t._v(t._s(e.name))]),t._v(" "),t._m(25,!0)])})),0):t._e(),t._v(" "),"media"==t.settingsTab?i("div",{staticClass:"settings-tab"},[t._m(26),t._v(" "),t._m(27)]):t._e(),t._v(" "),"schedule"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("div",{staticClass:"list-btn"},[i("div",{staticClass:"lead mb-0"},[t._v("Schedule Post")]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",on:{click:t.toggleSchedule}},[i("i",{staticClass:"fal no-focus fa-2x",class:[t.schedule.enabled?"fa-toggle-on text-danger":"fa-toggle-off text-lighter"]})])]),t._v(" "),i("div",{staticClass:"list-btn"},[t._m(28),t._v(" "),i("b-form-datepicker",{attrs:{min:t.schedule.minDate,max:t.schedule.maxDate,"date-format-options":{year:"numeric",month:"long",day:"2-digit"}},model:{value:t.schedule.date,callback:function(e){t.$set(t.schedule,"date",e)},expression:"schedule.date"}})],1),t._v(" "),i("div",{staticClass:"list-btn"},[t._m(29),t._v(" "),i("b-form-timepicker",{attrs:{locale:"en"},model:{value:t.schedule.time,callback:function(e){t.$set(t.schedule,"time",e)},expression:"schedule.time"}})],1),t._v(" "),i("div",{staticClass:"list-btn border-bottom-0"},[i("div",[i("p",{staticClass:"small text-muted mb-0"},[t._v("You can set a date up to 2 months away.")]),t._v(" "),i("p",{staticClass:"small text-muted"},[t._v("Date & time relative to "),i("strong",[t._v(t._s(t.schedule.tz))]),t._v(" timezone.")])])])]):t._e(),t._v(" "),"collection"==t.settingsTab?i("div",[t.collectionsLoaded?i("div",{staticClass:"settings-tab"},[t.collectionsSelected.length?i("div",{staticClass:"list-btn justify-content-center py-2 bg-light",staticStyle:{position:"sticky",top:"0","z-index":"1"}},[i("div",{staticClass:"text-center"},[i("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+" "+t._s(1==t.collectionsSelected.length?"collection":"collections")+" selected\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),5==t.collectionsSelected.length?i("p",{staticClass:"mb-0 small text-muted"},[t._v("5 collections max can be shared to")]):t._e()])]):t._e(),t._v(" "),t._l(t.collections,(function(e,s){return i("button",{staticClass:"list-btn",class:{"border-bottom-0":t.collections.length>=8&&s==t.collections.length-1&&!t.collectionsCanLoadMore},attrs:{type:"button",disabled:5==t.collectionsSelected.length&&-1==t.collectionsSelected.indexOf(e.id)},on:{click:function(i){return t.addToCollections(e.id)}}},[i("div",{staticClass:"media"},[i("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:e.thumb,width:"65",height:"65"}}),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"lead mb-0"},[t._v(t._s(e.title))]),t._v(" "),i("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(e.description||"No description available"))]),t._v(" "),i("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[i("span",[t._v(t._s(e.post_count)+" posts")]),t._v(" "),i("span",[t._v("·")]),t._v(" "),i("span",[t._v("Created "+t._s(t.timeago(e.published_at))+" ago")])])])]),t._v(" "),i("div",{staticClass:"text-lighter"},[-1==t.collectionsSelected.indexOf(e.id)?i("i",{staticClass:"fal fa-circle fa-lg"}):i("i",{staticClass:"far fa-dot-circle fa-lg text-success"})])])})),t._v(" "),t.collectionsCanLoadMore?i("button",{staticClass:"list-btn border-bottom-0 justify-content-center py-4",attrs:{type:"button"},on:{click:t.collectionsLoadMore}},[i("i",{staticClass:"fal fa-plus-circle fa-2x"})]):t._e()],2):i("div",[i("b-spinner")],1)]):t._e(),t._v(" "),"group"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("div",{staticClass:"list-btn"},[t._v("\n\t\t\t\t\t\t\tGroups here\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"tag"==t.settingsTab?i("div",{staticClass:"settings-tab"},[i("div",{staticClass:"list-btn"},[t._v("\n\t\t\t\t\t\t\tTag ppl\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),i("div",{staticClass:"ml-n3 px-3 pt-3 border-top"},[i("button",{staticClass:"btn btn-light font-weight-bold btn-block py-1",on:{click:function(e){return t.goBack()}}},[t._v("Back")])])])]):t._e()])])])},a=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"fal fa-times fa-lg text-white"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card card-body shadow-none text-center mx-4",staticStyle:{"border-radius":"18px"}},[i("i",{staticClass:"fal fa-image fa-3x my-3 text-lighter"}),t._v(" "),i("p",{staticClass:"font-weight-bold text-dark mb-0"},[t._v("Drag photos or videos here")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("button",{staticClass:"btn crop-dimension-btn active"},[i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-image fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Original")])]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-indicator"},[i("i",{staticClass:"far fa-circle fa-lg text-lighter"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-square fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Square (1:1)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-rectangle-portrait fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Portrait (4:5)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"crop-dimension-btn-label"},[i("span",{staticClass:"crop-dimension-btn-label-icon"},[i("i",{staticClass:"fal fa-rectangle-landscape fa-2x"})]),t._v(" "),i("span",{staticClass:"crop-dimension-btn-label-name"},[t._v("Landscape (16:9)")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"crop-dimension-btn-indicator"},[e("i",{staticClass:"far fa-circle fa-lg text-lighter"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("img",{staticStyle:{width:"100%",height:"auto"},attrs:{src:"https://pixelfed.test/storage/m/_v2/321493203255693312/f98697a52-a34568/N3fVbXluhhaO/qmqOrgXvjyWVa7GyTHYP6Vs9ZNskrQ4YNbdks2DZ.jpg"}})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-lighter"},[i("span",[i("i",{staticClass:"fal fa-at",staticStyle:{"font-size":"20px"}})]),t._v(" "),i("span",{staticClass:"ml-2"},[i("i",{staticClass:"fal fa-hashtag",staticStyle:{"font-size":"20px"}})]),t._v(" "),i("span",{staticClass:"ml-2"},[i("i",{staticClass:"fal fa-smile",staticStyle:{"font-size":"20px"}})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"form-group",staticStyle:{position:"relative"}},[i("input",{staticClass:"form-control",staticStyle:{"padding-left":"35px",height:"45px","font-size":"15px","border-radius":"8px"},attrs:{type:"text",placeholder:"Add Location",disabled:""}}),t._v(" "),i("span",{staticStyle:{left:"13px",top:"50%",transform:"translateY(-50%)",position:"absolute"}},[i("i",{staticClass:"fal fa-map-marker-alt text-lighter"})])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-lighter"},[e("i",{staticClass:"fal fa-chevron-right fa-lg"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"list-btn"},[i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0"},[t._v("Disable media optimization")]),t._v(" "),i("p",{staticClass:"small mb-0 text-muted"},[t._v("Prevents image optimization that may degrade quality. Only available for single photo posts.")])]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",attrs:{disabled:""}},[i("i",{staticClass:"fal fa-toggle-off text-lighter no-focus fa-2x"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"list-btn"},[i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0"},[t._v("Strip EXIF")]),t._v(" "),i("p",{staticClass:"small mb-0 text-muted"},[t._v("Strips all EXIF data that may leak location information.")])]),t._v(" "),i("button",{staticClass:"btn btn-link p-0",attrs:{disabled:""}},[i("i",{staticClass:"fal fa-toggle-on text-danger no-focus fa-2x"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0 mr-4"},[t._v("Date")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"text-left"},[i("div",{staticClass:"lead mb-0 mr-4"},[t._v("Time")])])}]},40572:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"compose-modal-component"},[i("input",{staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",id:"pf-dz",name:"media",multiple:"",accept:t.config.uploader.media_types}}),t._v(" "),i("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),i("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),i("div",{staticClass:"timeline"},[t.uploading?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100 bg-light py-3",staticStyle:{"border-bottom":"1px solid #f1f1f1"}},[i("div",{staticClass:"p-5 mt-2"},[i("b-progress",{attrs:{value:t.uploadProgress,max:100,striped:"",animated:!0}}),t._v(" "),i("p",{staticClass:"text-center mb-0 font-weight-bold"},[t._v("Uploading ... ("+t._s(t.uploadProgress)+"%)")])],1)])]):"cameraRoll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[t._m(0),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[t.cameraRollMedia.length>0?i("div",{staticClass:"row p-0 m-0"},t._l(t.cameraRollMedia,(function(t,e){return i("div",{class:[0==e?"col-12 p-0":"col-3 p-0"]},[i("div",{staticClass:"card info-overlay p-0 rounded-0 shadow-none border"},[i("div",{staticClass:"square"},[i("img",{staticClass:"square-content",attrs:{src:t.preview_url}})])])])})),0):i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[i("span",{staticClass:"w-100 h-100"},[i("button",{staticClass:"btn btn-primary",attrs:{type:"button"}},[t._v("Upload")]),t._v(" "),i("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.fetchCameraRollDrafts()}}},[t._v("Load Camera Roll")])])])])])]):"poll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[t._m(1),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNew Poll\n\t\t\t\t\t")]),t._v(" "),t.postingPoll?i("span",[t._m(2)]):!t.postingPoll&&t.pollOptions.length>1&&t.composeText.length?i("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:t.postNewPoll}},[i("span",[t._v("Create Poll")])]):i("span",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tCreate Poll\n\t\t\t\t\t")])]),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{staticClass:"rounded-circle",attrs:{src:t.profile.avatar,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a poll question..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\tPoll Options\n\t\t\t\t\t\t")]),t._v(" "),t.pollOptions.length<4?i("div",{staticClass:"form-group mb-4"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptionModel,expression:"pollOptionModel"}],staticClass:"form-control rounded-pill",attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptionModel},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.savePollOption.apply(null,arguments)},input:function(e){e.target.composing||(t.pollOptionModel=e.target.value)}}})]):t._e(),t._v(" "),t._l(t.pollOptions,(function(e,s){return i("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[i("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(s+1)+".")]),t._v(" "),t.pollOptions[s].length<50?i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control rounded-pill",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}):i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{placeholder:"Add a poll option, press enter to save",rows:"3"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}),t._v(" "),i("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(s)}}},[i("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),i("hr"),t._v(" "),i("div",{staticClass:"d-flex justify-content-between"},[i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Expiry\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.pollExpiry,expression:"pollExpiry"}],staticClass:"form-control rounded-pill",staticStyle:{width:"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.pollExpiry=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),i("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),i("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),i("option",{attrs:{value:"10080"}},[t._v("7 days")])])])]),t._v(" "),i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Visibility\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.visibility,expression:"visibility"}],staticClass:"form-control rounded-pill",staticStyle:{"max-width":"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.visibility=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),i("option",{attrs:{value:"private"}},[t._v("Followers Only")])])])])])],2)])])]):i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("div",[1==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[i("i",{staticClass:"fas fa-times fa-lg"}),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):2==t.page?i("span",[t.config.uploader.album_limit>t.media.length?i("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold",attrs:{id:"cm-add-media-btn"},on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-plus"})]):i("button",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold",attrs:{disabled:""}},[i("i",{staticClass:"fas fa-plus"})]),t._v(" "),i("b-tooltip",{attrs:{target:"cm-add-media-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\t\tUpload another photo or video\n\t\t\t\t\t\t\t")])],1):3==t.page?i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3 d-flex align-items-center",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg mr-2"}),t._v(" "),i("span",{staticClass:"btn btn-outline-secondary btn-sm px-2 py-0 disabled",attrs:{disabled:""}},[t._v(t._s(t.media.length))])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg"})])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]),t._v(" "),2==t.page?i("div",[1==t.media.length?i("a",{staticClass:"text-center text-dark",attrs:{href:"#",title:"Crop & Resize",id:"cm-crop-btn"},on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-crop-alt fa-lg"})]):t._e(),t._v(" "),i("b-tooltip",{attrs:{target:"cm-crop-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\tCrop & Resize\n\t\t\t\t\t\t")])],1):t._e(),t._v(" "),i("div",[t.pageLoading?i("span",[t._m(3)]):i("span",[!t.pageLoading&&t.page>1&&t.page<=2||1==t.page&&0!=t.ids.length||"cropPhoto"==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.nextPage.apply(null,arguments)}}},[t._v("Next")]):t._e(),t._v(" "),t.pageLoading||3!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"addText"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.composeTextPost()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"video-2"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")])])])]),t._v(" "),i("div",{staticClass:"card-body p-0 border-top"},["licensePicker"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"list-group list-group-flush"},t._l(t.availableLicenses,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer",class:{"text-primary":t.licenseId===e.id,"font-weight-bold":t.licenseId===e.id},on:{click:function(i){return t.toggleLicense(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t")])})),0)]):t._e(),t._v(" "),"textOptions"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}}):t._e(),t._v(" "),"addText"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"mt-2"},[i("div",{staticClass:"media px-3"},[i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Body")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",staticStyle:{"font-size":"18px",resize:"none"},attrs:{rows:"7",placeholder:"What's happening?"},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),i("div",{staticClass:"border-bottom"}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0 font-weight-bold"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))]),t._v(" "),i("p",{staticClass:"mb-0 mt-2"},[i("a",{staticClass:"btn btn-primary rounded-pill mr-2",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTextOptions()}}},[i("i",{staticClass:"fas fa-palette px-3 text-white"})]),t._v(" "),i("a",{staticClass:"btn rounded-pill mx-3 d-inline-flex align-items-center",class:[t.nsfw?"btn-danger":"btn-outline-lighter"],staticStyle:{height:"37px"},attrs:{href:"#",title:"Mark as sensitive/not safe for work"},on:{click:function(e){e.preventDefault(),t.nsfw=!t.nsfw}}},[i("i",{staticClass:"far fa-flag px-3"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"})]),t._v(" "),i("a",{staticClass:"btn btn-outline-lighter rounded-pill d-inline-flex align-items-center",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-eye mr-2"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"},[t._v(t._s(t.visibilityTag))])])])])])])])]):t._e(),t._v(" "),1==t.page?i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center",staticStyle:{"min-height":"400px"}},[i("div",{staticClass:"text-center"},[0==t.media.length?i("div",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark"},[i("div",{staticClass:"card-body py-2",on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("div",{staticClass:"media"},[t._m(4),t._v(" "),i("div",{staticClass:"media-body text-left"},[t._m(5),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share up to "+t._s(t.config.uploader.album_limit)+" photos or videos")]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.config.uploader.media_types.split(",").map((function(t){return t.split("/")[1]})).join(", ")))]),t._v(" allowed up to "),i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.filesize(t.config.uploader.max_photo_size)))])])])])])]):t._e(),t._v(" "),t._e(),t._v(" "),1==t.config.features.stories?i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/stories/new"}},[t._m(7)]):t._e(),t._v(" "),t._e(),t._v(" "),t._m(9),t._v(" "),t._m(10)])]):t._e(),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"w-100 h-100"},[t.ids.length>0?i("div",[i("vue-cropper",{ref:"cropper",attrs:{relativeZoom:t.cropper.zoom,aspectRatio:t.cropper.aspectRatio,viewMode:t.cropper.viewMode,zoomable:t.cropper.zoomable,rotatable:!0,src:t.media[t.carouselCursor].url}})],1):t._e()]):t._e(),t._v(" "),2==t.page?i("div",{staticClass:"w-100 h-100"},[1==t.media.length?i("div",[i("div",{staticStyle:{display:"flex","min-height":"420px","align-items":"center"},attrs:{slot:"img"},slot:"img"},[i("img",{class:"d-block img-fluid w-100 "+[t.media[t.carouselCursor].filter_class?t.media[t.carouselCursor].filter_class:""],attrs:{src:t.media[t.carouselCursor].url,alt:t.media[t.carouselCursor].description,title:t.media[t.carouselCursor].description}})]),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"Image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):t.media.length>1?i("div",{staticClass:"d-flex-inline px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")]),t._v(" "),t._l(t.media,(function(e,s){return i("li",{staticClass:"nav-item mx-md-4"},[i("div",{staticClass:"nav-link",staticStyle:{display:"block",width:"300px",height:"300px"},on:{click:function(e){t.carouselCursor=s}}},[i("span",{class:[e.filter_class?e.filter_class:""]},[i("span",{class:"rounded border "+[s==t.carouselCursor?" border-primary shadow":""],style:"display:block;padding:5px;width:100%;height:100%;background-image: url("+e.url+");background-size:cover;border-width:3px !important;"})])]),t._v(" "),s==t.carouselCursor?i("div",{staticClass:"text-center mb-0 small text-lighter font-weight-bold pt-2"},[i("span",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[t._v("Crop")]),t._v(" "),i("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return e.preventDefault(),t.showEditMediaCard()}}},[t._v("Edit")]),t._v(" "),i("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.deleteMedia()}}},[t._v("Delete")])]):t._e()])})),t._v(" "),i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")])],2),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"Image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):i("div",[i("p",{staticClass:"mb-0 p-5 text-center font-weight-bold"},[t._v("An error occured, please refresh the page.")])])]):t._e(),t._v(" "),3==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a caption..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(11),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showTagCard()}}},[t._v("Tag people")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showCollectionCard()}}},[t._m(12),t._v(" "),i("span",{staticClass:"float-right"},[t.collectionsSelected.length?i("span",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px 5px","text-transform":"uppercase"},attrs:{href:"#",disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+"\n\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t._m(13)])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[i("span",[t._v("Add license")]),t._v(" "),i("span",{staticClass:"float-right"},[t.licenseTitle?i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[t._v(t._s(t.licenseTitle))]):t._e(),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[t.place?i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",{staticClass:"text-lighter"},[t._v("Location:")]),t._v(" "+t._s(t.place.name)+", "+t._s(t.place.country)+"\n\t\t\t\t\t\t\t\t"),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-2",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLocationCard()}}},[t._v("Edit")]),t._v(" "),i("a",{staticClass:"btn btn-outline-secondary btn-sm small",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.place=!1}}},[t._v("Remove")])])]):i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLocationCard()}}},[t._v("Add location")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticStyle:{"min-height":"200px"}},[i("p",{staticClass:"px-4 mb-0 py-2 small font-weight-bold text-muted cursor-pointer",on:{click:function(e){return t.showAdvancedSettingsCard()}}},[t._v("Advanced settings")])])]):t._e(),t._v(" "),"tagPeople"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("autocomplete",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],ref:"autocomplete",attrs:{search:t.tagSearch,placeholder:"@pixelfed","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],staticClass:"font-weight-bold text-muted small"},[t._v("You can tag "+t._s(10-t.taggedUsernames.length)+" more "+t._s(9==t.taggedUsernames.length?"person":"people")+"!")]),t._v(" "),i("p",{staticClass:"font-weight-bold text-center mt-3"},[t._v("Tagged People")]),t._v(" "),i("div",{staticClass:"list-group"},[t._l(t.taggedUsernames,(function(e,s){return i("div",{staticClass:"list-group-item d-flex justify-content-between"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-2 rounded-circle border",attrs:{src:e.avatar,width:"24px",height:"24px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.name))])])]),t._v(" "),i("div",{staticClass:"custom-control custom-switch"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.privacy,expression:"tag.privacy"}],staticClass:"custom-control-input disabled",attrs:{type:"checkbox",id:"cci-tagged-privacy-switch"+s,disabled:""},domProps:{checked:Array.isArray(e.privacy)?t._i(e.privacy,null)>-1:e.privacy},on:{change:function(i){var s=e.privacy,a=i.target,o=!!a.checked;if(Array.isArray(s)){var n=t._i(s,null);a.checked?n<0&&t.$set(e,"privacy",s.concat([null])):n>-1&&t.$set(e,"privacy",s.slice(0,n).concat(s.slice(n+1)))}else t.$set(e,"privacy",o)}}}),t._v(" "),i("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"cci-tagged-privacy-switch"+s}},[t._v(t._s(e.privacy?"Public":"Private"))]),t._v(" "),i("a",{staticClass:"ml-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.untagUsername(s)}}},[i("i",{staticClass:"fas fa-times text-muted"})])])])})),t._v(" "),0==t.taggedUsernames.length?i("div",{staticClass:"list-group-item p-3"},[i("p",{staticClass:"text-center mb-0 font-weight-bold text-lighter"},[t._v("Search usernames to tag.")])]):t._e()],2),t._v(" "),i("p",{staticClass:"font-weight-bold text-center small text-muted pt-3 mb-0"},[t._v("When you tag someone, they are sent a notification."),i("br"),t._v("For more information on tagging, "),i("a",{staticClass:"text-primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTagHelpCard()}}},[t._v("click here")]),t._v(".")])],1):t._e(),t._v(" "),"tagPeopleHelp"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0 text-center py-3 px-2 lead"},[t._v("Tagging someone is like mentioning them, with the option to make it private between you.")]),t._v(" "),i("p",{staticClass:"mb-3 py-3 px-2 font-weight-lighter"},[t._v("\n\t\t\t\t\t\t\tYou can choose to tag someone in public or private mode. Public mode will allow others to see who you tagged in the post and private mode tagged users will not be shown to others.\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"addLocation"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0"},[t._v("Add Location")]),t._v(" "),i("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}})],1):t._e(),t._v(" "),"advancedSettings"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[i("div",{staticClass:"list-group-item d-flex justify-content-between"},[t._m(14),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.commentsDisabled,expression:"commentsDisabled"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asdisablecomments"},domProps:{checked:Array.isArray(t.commentsDisabled)?t._i(t.commentsDisabled,null)>-1:t.commentsDisabled},on:{change:function(e){var i=t.commentsDisabled,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.commentsDisabled=i.concat([null])):o>-1&&(t.commentsDisabled=i.slice(0,o).concat(i.slice(o+1)))}else t.commentsDisabled=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asdisablecomments"}})])])]),t._v(" "),i("a",{staticClass:"list-group-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showMediaDescriptionsCard()}}},[t._m(15)])])]):t._e(),t._v(" "),"visibility"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"public"==t.visibility},on:{click:function(e){return t.toggleVisibility("public")}}},[t._v("\n\t\t\t\t\t\t\t\tPublic\n\t\t\t\t\t\t\t")]),t._v(" "),t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"unlisted"==t.visibility},on:{click:function(e){return t.toggleVisibility("unlisted")}}},[t._v("\n\t\t\t\t\t\t\t\tUnlisted\n\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"private"==t.visibility},on:{click:function(e){return t.toggleVisibility("private")}}},[t._v("\n\t\t\t\t\t\t\t\tFollowers Only\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),"altText"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t._l(t.media,(function(e,s){return i("div",[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.alt,expression:"m.alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:t.maxAltTextLength,rows:"4"},domProps:{value:e.alt},on:{input:function(i){i.target.composing||t.$set(e,"alt",i.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(e.alt?e.alt.length:0)+"/"+t._s(t.maxAltTextLength))])])]),t._v(" "),i("hr")])})),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])],2):t._e(),t._v(" "),"addToCollection"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t.collectionsLoaded&&t.collections.length?i("div",{staticClass:"list-group mb-3 collections-list-group"},[t._l(t.collections,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer compose-action border",class:{active:t.collectionsSelected.includes(s)},on:{click:function(e){return t.toggleCollectionItem(s)}}},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.thumb,alt:"",width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("h5",{staticClass:"mt-0"},[t._v(t._s(e.title))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(e.post_count)+" Posts - Created "+t._s(t.timeAgo(e.published_at))+" ago")])])])])})),t._v(" "),t.collectionsCanLoadMore?i("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-3",on:{click:t.loadMoreCollections}},[t._v("\n\t\t\t\t\t\t\t\tLoad more\n\t\t\t\t\t\t\t")]):t._e()],2):t._e(),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.clearSelectedCollections()}}},[t._v("Clear")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"schedulePost"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"mediaMetadata"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"addToStory"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"editMedia"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:t.media[t.carouselCursor].preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("Media Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.carouselCursor].alt,expression:"media[carouselCursor].alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:"140"},domProps:{value:t.media[t.carouselCursor].alt},on:{input:function(e){e.target.composing||t.$set(t.media[t.carouselCursor],"alt",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-muted mb-0 d-flex justify-content-between"},[i("span",[t._v("Describe your photo for people with visual impairments.")]),t._v(" "),i("span",[t._v(t._s(t.media[t.carouselCursor].alt?t.media[t.carouselCursor].alt.length:0)+"/140")])])]),t._v(" "),i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("License")]),t._v(" "),i("select",{directives:[{name:"model",rawName:"v-model",value:t.licenseId,expression:"licenseId"}],staticClass:"form-control",on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.licenseId=e.target.multiple?i:i[0]}}},t._l(t.availableLicenses,(function(e,s){return i("option",{domProps:{value:e.id,selected:e.id==t.licenseId}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t\t")])})),0)])])]),t._v(" "),i("hr"),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"video-2"==t.page?i("div",{staticClass:"w-100 h-100"},[t.video.title.length?i("div",{staticClass:"border-bottom"},[i("div",{staticClass:"media p-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"100px",height:"70px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"font-weight-bold mb-1"},[t._v(t._s(t.video.title?t.video.title.slice(0,70):"Untitled"))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(t.video.description?t.video.description.slice(0,90):"No description"))])])])]):t._e(),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(16),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[t._v("Add license")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("div",{staticClass:"form-group"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Title")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.video.title,expression:"video.title"}],staticClass:"form-control",attrs:{placeholder:"Add a good title"},domProps:{value:t.video.title},on:{input:function(e){e.target.composing||t.$set(t.video,"title",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.title.length)+"/70")])]),t._v(" "),i("div",{staticClass:"form-group mb-0"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.video.description,expression:"video.description"}],staticClass:"form-control",attrs:{placeholder:"Add an optional description",maxlength:"5000",rows:"5"},domProps:{value:t.video.description},on:{input:function(e){e.target.composing||t.$set(t.video,"description",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.description.length)+"/5000")])])])]):t._e()]),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"card-footer bg-white d-flex justify-content-between"},[i("div",[i("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"},on:{click:t.rotate}},[i("i",{staticClass:"fas fa-redo"})])]),t._v(" "),i("div",[i("div",{staticClass:"d-inline-block button-group"},[i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==16/9?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(16/9)}}},[t._v("16:9")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==4/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(4/3)}}},[t._v("4:3")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1.5==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1.5)}}},[t._v("3:2")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1)}}},[t._v("1:1")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==2/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(2/3)}}},[t._v("2:3")])])])]):t._e()])])])])},a=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("span",{staticClass:"pr-3"},[i("i",{staticClass:"fas fa-cog fa-lg text-muted"})]),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tCamera Roll\n\t\t\t\t\t")]),t._v(" "),i("span",{staticClass:"text-primary font-weight-bold"},[t._v("Upload")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"pr-3"},[e("i",{staticClass:"fas fa-info-circle fa-lg text-primary"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%","background-color":"#008DF5"}},[e("i",{staticClass:"fal fa-bolt text-white fa-lg"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Post")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"far fa-edit text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Text Post")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share a text only post")])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fas fa-history text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Story")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Add to your story")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"fas fa-poll-h text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Poll")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Create a poll")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/collections/create"}},[i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fal fa-images text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Collection")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("New collection of posts")])])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"py-3"},[i("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v("Help")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",[t._v("Add to Collection "),i("span",{staticClass:"ml-2 badge badge-primary"},[t._v("NEW")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-decoration-none"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Turn off commenting")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Disables comments for this post, you can change this later.")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("div",[i("div",{staticClass:"text-dark"},[t._v("Media Descriptions")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Describe your photos for people with visual impairments.")])]),t._v(" "),i("div",[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])}]}}]); \ No newline at end of file diff --git a/public/js/compose.js b/public/js/compose.js index e85f3aec2..0792cc7c4 100644 --- a/public/js/compose.js +++ b/public/js/compose.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[416],{49144:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>c});var s=i(17652),a=(i(81943),i(29655)),o=(i(99101),i(15235)),l=i(19755);function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i10&&(t.licenseTitle=t.availableLicenses.filter((function(e){return e.id==t.licenseId})).map((function(t){return t.title}))[0]),t.fetchProfile()}))},mounted:function(){this.mediaWatcher()},methods:{timeAgo:function(t){return App.util.format.timeAgo(t)},fetchProfile:function(){var t=this,e={public:"Public",private:"Followers Only",unlisted:"Unlisted"};if(window._sharedData.curUser.id){if(this.profile=window._sharedData.curUser,this.composeSettings&&this.composeSettings.hasOwnProperty("default_scope")&&this.composeSettings.default_scope){var i=this.composeSettings.default_scope;this.visibility=i,this.visibilityTag=e[i]}1==this.profile.locked&&(this.visibility="private",this.visibilityTag="Followers Only")}else axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(i){if(window._sharedData.currentUser=i.data,t.profile=i.data,t.composeSettings&&t.composeSettings.hasOwnProperty("default_scope")&&t.composeSettings.default_scope){var s=t.composeSettings.default_scope;t.visibility=s,t.visibilityTag=e[s]}1==t.profile.locked&&(t.visibility="private",t.visibilityTag="Followers Only")})).catch((function(t){}))},addMedia:function(t){var e=l(t.target);e.attr("disabled",""),l('.file-input[name="media"]').trigger("click"),e.blur(),e.removeAttr("disabled")},addText:function(t){this.pageTitle="New Text Post",this.page="addText",this.textMode=!0,this.mode="text"},mediaWatcher:function(){var t=this;l(document).on("change","#pf-dz",(function(e){t.mediaUpload()}))},mediaUpload:function(){var t=this;t.uploading=!0;var e=document.querySelector("#pf-dz");e.files.length||(t.uploading=!1),Array.prototype.forEach.call(e.files,(function(e,i){if(t.media&&t.media.length+i>=t.config.uploader.album_limit)return swal("Error","You can only upload "+t.config.uploader.album_limit+" photos per album","error"),t.uploading=!1,void(t.page=2);var s=e.type,a=t.config.uploader.media_types.split(",");if(-1==l.inArray(s,a))return swal("Invalid File Type","The file you are trying to add is not a valid mime type. Please upload a "+t.config.uploader.media_types+" only.","error"),t.uploading=!1,void(t.page=2);var o=new FormData;o.append("file",e);var n={onUploadProgress:function(e){var i=Math.round(100*e.loaded/e.total);t.uploadProgress=i}};axios.post("/api/compose/v0/media/upload",o,n).then((function(e){t.uploadProgress=100,t.ids.push(e.data.id),t.media.push(e.data),t.uploading=!1,setTimeout((function(){t.page=3}),300)})).catch((function(i){switch(i.response.status){case 451:t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),t.page=2;break;case 429:t.uploading=!1,e.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),t.page=2;break;default:t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),t.page=2}})),e.value=null,t.uploadProgress=0}))},toggleFilter:function(t,e){this.media[this.carouselCursor].filter_class=e,this.currentFilter=e},deleteMedia:function(){var t=this;if(0!=window.confirm("Are you sure you want to delete this media?")){var e=this.media[this.carouselCursor].id;axios.delete("/api/compose/v0/media/delete",{params:{id:e}}).then((function(e){t.ids.splice(t.carouselCursor,1),t.media.splice(t.carouselCursor,1),0==t.media.length?(t.ids=[],t.media=[],t.carouselCursor=0):t.carouselCursor=0})).catch((function(t){swal("Whoops!","An error occured when attempting to delete this, please try again","error")}))}},compose:function(){var t=this,e=this.composeState;if(100==this.uploadProgress&&0!=this.ids.length)if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(e){case"publish":if(!0===this.composeSettings.media_descriptions)if(this.media.filter((function(t){return!t.hasOwnProperty("alt")||t.alt.length<2})).length)return void swal("Missing media descriptions","You have enabled mandatory media descriptions. Please add media descriptions under Advanced settings to proceed. For more information, please see the media settings page.","warning");if(0==this.media.length)return void swal("Whoops!","You need to add media before you can save this!","warning");"Add optional caption..."==this.composeText&&(this.composeText="");var i={media:this.media,caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames,optimize_media:this.optimizeMedia,license:this.licenseId,video:this.video};return this.collectionsSelected.length&&(i.collections=this.collectionsSelected.map((function(e){return t.collections[e].id}))),void axios.post("/api/compose/v0/publish",i).then((function(t){"/i/web/compose"===location.pathname&&t.data&&t.data.length?location.href="/i/web/post/"+t.data.split("/").slice(-1)[0]:location.href=i})).catch((function(t){if(t.response){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}else swal("Oops, something went wrong!",t.message,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void l("#composeModal").modal("hide")}},composeTextPost:function(){var t=this.composeState;if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(t){case"publish":var e={caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames};return void axios.post("/api/compose/v0/publish/text",e).then((function(t){var e=t.data;window.location.href=e})).catch((function(t){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void l("#composeModal").modal("hide")}},closeModal:function(){l("#composeModal").modal("hide")},goBack:function(){switch(this.pageTitle="",this.mode){case"photo":switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page=3:this.page--}break;case"video":this.page,this.page="video-2";break;default:switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page="text"==this.mode?"addText":3:"text"==this.mode||this.page--}}},nextPage:function(){switch(this.pageTitle="",this.page){case 1:this.page=2;break;case"cropPhoto":this.pageLoading=!0;var t=this;this.$refs.cropper.getCroppedCanvas({maxWidth:4096,maxHeight:4096,fillColor:"#fff",imageSmoothingEnabled:!1,imageSmoothingQuality:"high"}).toBlob((function(e){t.mediaCropped=!0;var i=new FormData;i.append("file",e),i.append("id",t.ids[t.carouselCursor]);axios.post("/api/compose/v0/media/update",i).then((function(e){t.media[t.carouselCursor].url=e.data.url,t.pageLoading=!1,t.page=2})).catch((function(t){}))}));break;case 2:this.currentFilter?window.confirm("Are you sure you want to apply this filter?")&&(this.applyFilterToMedia(),this.page++):this.page++;break;case 3:this.page++}},rotate:function(){this.$refs.cropper.rotate(90)},changeAspect:function(t){this.cropper.aspectRatio=t,this.$refs.cropper.setAspectRatio(t)},showTagCard:function(){this.pageTitle="Tag People",this.page="tagPeople"},showTagHelpCard:function(){this.pageTitle="About Tag People",this.page="tagPeopleHelp"},showLocationCard:function(){this.pageTitle="Add Location",this.page="addLocation"},showAdvancedSettingsCard:function(){this.pageTitle="Advanced Settings",this.page="advancedSettings"},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){switch(this.place=t,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showVisibilityCard:function(){this.pageTitle="Post Visibility",this.page="visibility"},showAddToStoryCard:function(){this.pageTitle="Add to Story",this.page="addToStory"},showCropPhotoCard:function(){this.pageTitle="Edit Photo",this.page="cropPhoto"},toggleVisibility:function(t){switch(this.visibility=t,this.visibilityTag={public:"Public",private:"Followers Only",unlisted:"Unlisted"}[t],this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showMediaDescriptionsCard:function(){this.pageTitle="Media Descriptions",this.page="altText"},showAddToCollectionsCard:function(){this.pageTitle="Add to Collection",this.page="addToCollection"},showSchedulePostCard:function(){this.pageTitle="Schedule Post",this.page="schedulePost"},showEditMediaCard:function(){this.pageTitle="Edit Media",this.page="editMedia"},fetchCameraRollDrafts:function(){var t=this;axios.get("/api/pixelfed/local/drafts").then((function(e){t.cameraRollMedia=e.data}))},applyFilterToMedia:function(){var t=navigator.userAgent.toLowerCase();if(-1!=t.indexOf("firefox")||-1!=t.indexOf("chrome"))for(var e=this.media,i=null,s=document.getElementById("pr_canvas"),a=s.getContext("2d"),o=document.getElementById("pr_img"),l=null,n=e.length-1;n>=0;n--)(i=e[n]).filter_class&&(o.src=i.url,o.addEventListener("load",(function(t){s.width=o.width,s.height=o.height,a.filter=App.util.filterCss[i.filter_class],a.drawImage(o,0,0,o.width,o.height),a.save(),s.toBlob((function(t){(l=new FormData).append("file",t),l.append("id",i.id),axios.post("/api/compose/v0/media/update",l).then((function(t){})).catch((function(t){}))}))}),i.mime,.9),a.clearRect(0,0,o.width,o.height));else swal("Oops!","Your browser does not support the filter feature.","error")},tagSearch:function(t){if(t.length<1)return[];var e=this;return axios.get("/api/compose/v0/search/tag",{params:{q:t}}).then((function(t){if(t.data.length)return t.data.filter((function(t){return 0==e.taggedUsernames.filter((function(e){return e.id==t.id})).length}))}))},getTagResultValue:function(t){return"@"+t.name},onTagSubmitLocation:function(t){this.taggedUsernames.filter((function(e){return e.id==t.id})).length||(this.taggedUsernames.push(t),this.$refs.autocomplete.value="")},untagUsername:function(t){this.taggedUsernames.splice(t,1)},showTextOptions:function(){this.page="textOptions",this.pageTitle="Text Post Options"},showLicenseCard:function(){this.pageTitle="Select a License",this.page="licensePicker"},toggleLicense:function(t){var e=this;switch(this.licenseId=t.id,this.licenseId>10?this.licenseTitle=this.availableLicenses.filter((function(t){return t.id==e.licenseId})).map((function(t){return t.title}))[0]:this.licenseTitle=null,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},newPoll:function(){this.page="poll"},savePollOption:function(){-1==this.pollOptions.indexOf(this.pollOptionModel)?(this.pollOptions.push(this.pollOptionModel),this.pollOptionModel=null):this.pollOptionModel=null},deletePollOption:function(t){this.pollOptions.splice(t,1)},postNewPoll:function(){var t=this;this.postingPoll=!0,axios.post("/api/compose/v0/poll",{caption:this.composeText,cw:!1,visibility:this.visibility,comments_disabled:!1,expiry:this.pollExpiry,pollOptions:this.pollOptions}).then((function(e){if(!e.data.hasOwnProperty("url"))return swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error"),void(t.postingPoll=!1);window.location.href=e.data.url})).catch((function(e){if(console.log(e.response.data.error),e.response.data.hasOwnProperty("error")&&"Duplicate detected."==e.response.data.error)return t.postingPoll=!1,void swal("Oops!","The poll you are trying to create is similar to an existing poll you created. Please make the poll question (caption) unique.","error");t.postingPoll=!1,swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error")}))},filesize:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return filesize(1024*t,{round:0})})),showCollectionCard:function(){this.pageTitle="Add to Collection(s)",this.page="addToCollection",this.collectionsLoaded||this.fetchCollections()},fetchCollections:function(){var t=this;axios.get("/api/local/profile/collections/".concat(this.profile.id)).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.collectionsCanLoadMore=9==e.data.length,t.collectionsPage++}))},toggleCollectionItem:function(t){if(this.collectionsSelected.includes(t))this.collectionsSelected=this.collectionsSelected.filter((function(e){return e!=t}));else{if(7==this.collectionsSelected.length)return void swal("Oops!","You can only share to 5 collections.","info");this.collectionsSelected.push(t)}},clearSelectedCollections:function(){this.collectionsSelected=[],this.pageTitle="Compose",this.page=3},loadMoreCollections:function(){var t=this;this.collectionsCanLoadMore=!1,axios.get("/api/local/profile/collections/".concat(this.profile.id),{params:{page:this.collectionsPage}}).then((function(e){var i,s=t.collections.map((function(t){return t.id})),a=e.data.filter((function(t){return!s.includes(t.id)}));a&&a.length&&((i=t.collections).push.apply(i,n(a)),t.collectionsPage++,t.collectionsCanLoadMore=!0)}))}}}},52356:(t,e,i)=>{Vue.component("compose-modal",i(64439).default)},42770:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>o});var s=i(23645),a=i.n(s)()((function(t){return t[1]}));a.push([t.id,".compose-modal-component .media-drawer-filters{flex-wrap:unset;overflow-x:scroll}.compose-modal-component .media-drawer-filters::-webkit-scrollbar{background:transparent;width:0}.compose-modal-component .media-drawer-filters .nav-link{min-width:100px;padding-bottom:1rem;padding-top:1rem}.compose-modal-component .media-drawer-filters .active{color:#fff;font-weight:700}@media(hover:none)and (pointer:coarse){.compose-modal-component .media-drawer-filters::-webkit-scrollbar{display:none}}.compose-modal-component .no-focus{border-color:none;box-shadow:none;outline:0}.compose-modal-component a.list-group-item{text-decoration:none}.compose-modal-component a.list-group-item:hover{background-color:#f8f9fa!important;text-decoration:none}.compose-modal-component .compose-action:hover{background-color:#f8f9fa!important;cursor:pointer}.compose-modal-component .collections-list-group{max-height:500px;overflow-y:auto}.compose-modal-component .collections-list-group .list-group-item.active{background-color:#dbeafe!important;border-color:#60a5fa!important;color:#212529}",""]);const o=a},55898:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>n});var s=i(93379),a=i.n(s),o=i(42770),l={insert:"head",singleton:!1};a()(o.default,l);const n=o.default.locals||{}},64439:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>l});var s=i(5072),a=i(10594),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);i(40309);const l=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,null,null).exports},10594:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>o});var s=i(49144),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},40309:(t,e,i)=>{"use strict";i.r(e);var s=i(55898),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},5072:(t,e,i)=>{"use strict";i.r(e);var s=i(62978),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},62978:(t,e,i)=>{"use strict";i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"compose-modal-component"},[i("input",{staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",id:"pf-dz",name:"media",multiple:"",accept:t.config.uploader.media_types}}),t._v(" "),i("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),i("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),i("div",{staticClass:"timeline"},[t.uploading?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100 bg-light py-3",staticStyle:{"border-bottom":"1px solid #f1f1f1"}},[i("div",{staticClass:"p-5 mt-2"},[i("b-progress",{attrs:{value:t.uploadProgress,max:100,striped:"",animated:!0}}),t._v(" "),i("p",{staticClass:"text-center mb-0 font-weight-bold"},[t._v("Uploading ... ("+t._s(t.uploadProgress)+"%)")])],1)])]):"cameraRoll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[t._m(0),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[t.cameraRollMedia.length>0?i("div",{staticClass:"row p-0 m-0"},t._l(t.cameraRollMedia,(function(t,e){return i("div",{class:[0==e?"col-12 p-0":"col-3 p-0"]},[i("div",{staticClass:"card info-overlay p-0 rounded-0 shadow-none border"},[i("div",{staticClass:"square"},[i("img",{staticClass:"square-content",attrs:{src:t.preview_url}})])])])})),0):i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[i("span",{staticClass:"w-100 h-100"},[i("button",{staticClass:"btn btn-primary",attrs:{type:"button"}},[t._v("Upload")]),t._v(" "),i("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.fetchCameraRollDrafts()}}},[t._v("Load Camera Roll")])])])])])]):"poll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[t._m(1),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNew Poll\n\t\t\t\t\t")]),t._v(" "),t.postingPoll?i("span",[t._m(2)]):!t.postingPoll&&t.pollOptions.length>1&&t.composeText.length?i("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:t.postNewPoll}},[i("span",[t._v("Create Poll")])]):i("span",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tCreate Poll\n\t\t\t\t\t")])]),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{staticClass:"rounded-circle",attrs:{src:t.profile.avatar,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a poll question..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\tPoll Options\n\t\t\t\t\t\t")]),t._v(" "),t.pollOptions.length<4?i("div",{staticClass:"form-group mb-4"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptionModel,expression:"pollOptionModel"}],staticClass:"form-control rounded-pill",attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptionModel},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.savePollOption.apply(null,arguments)},input:function(e){e.target.composing||(t.pollOptionModel=e.target.value)}}})]):t._e(),t._v(" "),t._l(t.pollOptions,(function(e,s){return i("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[i("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(s+1)+".")]),t._v(" "),t.pollOptions[s].length<50?i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control rounded-pill",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}):i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{placeholder:"Add a poll option, press enter to save",rows:"3"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}),t._v(" "),i("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(s)}}},[i("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),i("hr"),t._v(" "),i("div",{staticClass:"d-flex justify-content-between"},[i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Expiry\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.pollExpiry,expression:"pollExpiry"}],staticClass:"form-control rounded-pill",staticStyle:{width:"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.pollExpiry=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),i("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),i("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),i("option",{attrs:{value:"10080"}},[t._v("7 days")])])])]),t._v(" "),i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Visibility\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.visibility,expression:"visibility"}],staticClass:"form-control rounded-pill",staticStyle:{"max-width":"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.visibility=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),i("option",{attrs:{value:"private"}},[t._v("Followers Only")])])])])])],2)])])]):i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("div",[1==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[i("i",{staticClass:"fas fa-times fa-lg"}),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):2==t.page?i("span",[t.config.uploader.album_limit>t.media.length?i("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold",attrs:{id:"cm-add-media-btn"},on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-plus"})]):i("button",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold",attrs:{disabled:""}},[i("i",{staticClass:"fas fa-plus"})]),t._v(" "),i("b-tooltip",{attrs:{target:"cm-add-media-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\t\tUpload another photo or video\n\t\t\t\t\t\t\t")])],1):3==t.page?i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3 d-flex align-items-center",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg mr-2"}),t._v(" "),i("span",{staticClass:"btn btn-outline-secondary btn-sm px-2 py-0 disabled",attrs:{disabled:""}},[t._v(t._s(t.media.length))])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg"})])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]),t._v(" "),2==t.page?i("div",[1==t.media.length?i("a",{staticClass:"text-center text-dark",attrs:{href:"#",title:"Crop & Resize",id:"cm-crop-btn"},on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-crop-alt fa-lg"})]):t._e(),t._v(" "),i("b-tooltip",{attrs:{target:"cm-crop-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\tCrop & Resize\n\t\t\t\t\t\t")])],1):t._e(),t._v(" "),i("div",[t.pageLoading?i("span",[t._m(3)]):i("span",[!t.pageLoading&&t.page>1&&t.page<=2||1==t.page&&0!=t.ids.length||"cropPhoto"==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.nextPage.apply(null,arguments)}}},[t._v("Next")]):t._e(),t._v(" "),t.pageLoading||3!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"addText"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.composeTextPost()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"video-2"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")])])])]),t._v(" "),i("div",{staticClass:"card-body p-0 border-top"},["licensePicker"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"list-group list-group-flush"},t._l(t.availableLicenses,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer",class:{"text-primary":t.licenseId===e.id,"font-weight-bold":t.licenseId===e.id},on:{click:function(i){return t.toggleLicense(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t")])})),0)]):t._e(),t._v(" "),"textOptions"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}}):t._e(),t._v(" "),"addText"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"mt-2"},[i("div",{staticClass:"media px-3"},[i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Body")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",staticStyle:{"font-size":"18px",resize:"none"},attrs:{rows:"7",placeholder:"What's happening?"},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),i("div",{staticClass:"border-bottom"}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0 font-weight-bold"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))]),t._v(" "),i("p",{staticClass:"mb-0 mt-2"},[i("a",{staticClass:"btn btn-primary rounded-pill mr-2",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTextOptions()}}},[i("i",{staticClass:"fas fa-palette px-3 text-white"})]),t._v(" "),i("a",{staticClass:"btn rounded-pill mx-3 d-inline-flex align-items-center",class:[t.nsfw?"btn-danger":"btn-outline-lighter"],staticStyle:{height:"37px"},attrs:{href:"#",title:"Mark as sensitive/not safe for work"},on:{click:function(e){e.preventDefault(),t.nsfw=!t.nsfw}}},[i("i",{staticClass:"far fa-flag px-3"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"})]),t._v(" "),i("a",{staticClass:"btn btn-outline-lighter rounded-pill d-inline-flex align-items-center",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-eye mr-2"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"},[t._v(t._s(t.visibilityTag))])])])])])])])]):t._e(),t._v(" "),1==t.page?i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center",staticStyle:{"min-height":"400px"}},[i("div",{staticClass:"text-center"},[0==t.media.length?i("div",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark"},[i("div",{staticClass:"card-body py-2",on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("div",{staticClass:"media"},[t._m(4),t._v(" "),i("div",{staticClass:"media-body text-left"},[t._m(5),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share up to "+t._s(t.config.uploader.album_limit)+" photos or videos")]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.config.uploader.media_types.split(",").map((function(t){return t.split("/")[1]})).join(", ")))]),t._v(" allowed up to "),i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.filesize(t.config.uploader.max_photo_size)))])])])])])]):t._e(),t._v(" "),t._e(),t._v(" "),1==t.config.features.stories?i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/stories/new"}},[t._m(7)]):t._e(),t._v(" "),t._e(),t._v(" "),t._m(9),t._v(" "),t._m(10)])]):t._e(),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"w-100 h-100"},[t.ids.length>0?i("div",[i("vue-cropper",{ref:"cropper",attrs:{relativeZoom:t.cropper.zoom,aspectRatio:t.cropper.aspectRatio,viewMode:t.cropper.viewMode,zoomable:t.cropper.zoomable,rotatable:!0,src:t.media[t.carouselCursor].url}})],1):t._e()]):t._e(),t._v(" "),2==t.page?i("div",{staticClass:"w-100 h-100"},[1==t.media.length?i("div",[i("div",{staticStyle:{display:"flex","min-height":"420px","align-items":"center"},attrs:{slot:"img"},slot:"img"},[i("img",{class:"d-block img-fluid w-100 "+[t.media[t.carouselCursor].filter_class?t.media[t.carouselCursor].filter_class:""],attrs:{src:t.media[t.carouselCursor].url,alt:t.media[t.carouselCursor].description,title:t.media[t.carouselCursor].description}})]),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"Image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):t.media.length>1?i("div",{staticClass:"d-flex-inline px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")]),t._v(" "),t._l(t.media,(function(e,s){return i("li",{staticClass:"nav-item mx-md-4"},[i("div",{staticClass:"nav-link",staticStyle:{display:"block",width:"300px",height:"300px"},on:{click:function(e){t.carouselCursor=s}}},[i("span",{class:[e.filter_class?e.filter_class:""]},[i("span",{class:"rounded border "+[s==t.carouselCursor?" border-primary shadow":""],style:"display:block;padding:5px;width:100%;height:100%;background-image: url("+e.url+");background-size:cover;border-width:3px !important;"})])]),t._v(" "),s==t.carouselCursor?i("div",{staticClass:"text-center mb-0 small text-lighter font-weight-bold pt-2"},[i("span",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[t._v("Crop")]),t._v(" "),i("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return e.preventDefault(),t.showEditMediaCard()}}},[t._v("Edit")]),t._v(" "),i("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.deleteMedia()}}},[t._v("Delete")])]):t._e()])})),t._v(" "),i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")])],2),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"Image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):i("div",[i("p",{staticClass:"mb-0 p-5 text-center font-weight-bold"},[t._v("An error occured, please refresh the page.")])])]):t._e(),t._v(" "),3==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a caption..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(11),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showTagCard()}}},[t._v("Tag people")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showCollectionCard()}}},[t._m(12),t._v(" "),i("span",{staticClass:"float-right"},[t.collectionsSelected.length?i("span",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px 5px","text-transform":"uppercase"},attrs:{href:"#",disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+"\n\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t._m(13)])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[i("span",[t._v("Add license")]),t._v(" "),i("span",{staticClass:"float-right"},[t.licenseTitle?i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[t._v(t._s(t.licenseTitle))]):t._e(),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[t.place?i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",{staticClass:"text-lighter"},[t._v("Location:")]),t._v(" "+t._s(t.place.name)+", "+t._s(t.place.country)+"\n\t\t\t\t\t\t\t\t"),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-2",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLocationCard()}}},[t._v("Edit")]),t._v(" "),i("a",{staticClass:"btn btn-outline-secondary btn-sm small",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.place=!1}}},[t._v("Remove")])])]):i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLocationCard()}}},[t._v("Add location")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticStyle:{"min-height":"200px"}},[i("p",{staticClass:"px-4 mb-0 py-2 small font-weight-bold text-muted cursor-pointer",on:{click:function(e){return t.showAdvancedSettingsCard()}}},[t._v("Advanced settings")])])]):t._e(),t._v(" "),"tagPeople"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("autocomplete",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],ref:"autocomplete",attrs:{search:t.tagSearch,placeholder:"@pixelfed","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],staticClass:"font-weight-bold text-muted small"},[t._v("You can tag "+t._s(10-t.taggedUsernames.length)+" more "+t._s(9==t.taggedUsernames.length?"person":"people")+"!")]),t._v(" "),i("p",{staticClass:"font-weight-bold text-center mt-3"},[t._v("Tagged People")]),t._v(" "),i("div",{staticClass:"list-group"},[t._l(t.taggedUsernames,(function(e,s){return i("div",{staticClass:"list-group-item d-flex justify-content-between"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-2 rounded-circle border",attrs:{src:e.avatar,width:"24px",height:"24px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.name))])])]),t._v(" "),i("div",{staticClass:"custom-control custom-switch"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.privacy,expression:"tag.privacy"}],staticClass:"custom-control-input disabled",attrs:{type:"checkbox",id:"cci-tagged-privacy-switch"+s,disabled:""},domProps:{checked:Array.isArray(e.privacy)?t._i(e.privacy,null)>-1:e.privacy},on:{change:function(i){var s=e.privacy,a=i.target,o=!!a.checked;if(Array.isArray(s)){var l=t._i(s,null);a.checked?l<0&&t.$set(e,"privacy",s.concat([null])):l>-1&&t.$set(e,"privacy",s.slice(0,l).concat(s.slice(l+1)))}else t.$set(e,"privacy",o)}}}),t._v(" "),i("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"cci-tagged-privacy-switch"+s}},[t._v(t._s(e.privacy?"Public":"Private"))]),t._v(" "),i("a",{staticClass:"ml-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.untagUsername(s)}}},[i("i",{staticClass:"fas fa-times text-muted"})])])])})),t._v(" "),0==t.taggedUsernames.length?i("div",{staticClass:"list-group-item p-3"},[i("p",{staticClass:"text-center mb-0 font-weight-bold text-lighter"},[t._v("Search usernames to tag.")])]):t._e()],2),t._v(" "),i("p",{staticClass:"font-weight-bold text-center small text-muted pt-3 mb-0"},[t._v("When you tag someone, they are sent a notification."),i("br"),t._v("For more information on tagging, "),i("a",{staticClass:"text-primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTagHelpCard()}}},[t._v("click here")]),t._v(".")])],1):t._e(),t._v(" "),"tagPeopleHelp"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0 text-center py-3 px-2 lead"},[t._v("Tagging someone is like mentioning them, with the option to make it private between you.")]),t._v(" "),i("p",{staticClass:"mb-3 py-3 px-2 font-weight-lighter"},[t._v("\n\t\t\t\t\t\t\tYou can choose to tag someone in public or private mode. Public mode will allow others to see who you tagged in the post and private mode tagged users will not be shown to others.\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"addLocation"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0"},[t._v("Add Location")]),t._v(" "),i("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}})],1):t._e(),t._v(" "),"advancedSettings"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[i("div",{staticClass:"list-group-item d-flex justify-content-between"},[t._m(14),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.commentsDisabled,expression:"commentsDisabled"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asdisablecomments"},domProps:{checked:Array.isArray(t.commentsDisabled)?t._i(t.commentsDisabled,null)>-1:t.commentsDisabled},on:{change:function(e){var i=t.commentsDisabled,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.commentsDisabled=i.concat([null])):o>-1&&(t.commentsDisabled=i.slice(0,o).concat(i.slice(o+1)))}else t.commentsDisabled=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asdisablecomments"}})])])]),t._v(" "),i("a",{staticClass:"list-group-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showMediaDescriptionsCard()}}},[t._m(15)])])]):t._e(),t._v(" "),"visibility"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"public"==t.visibility},on:{click:function(e){return t.toggleVisibility("public")}}},[t._v("\n\t\t\t\t\t\t\t\tPublic\n\t\t\t\t\t\t\t")]),t._v(" "),t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"unlisted"==t.visibility},on:{click:function(e){return t.toggleVisibility("unlisted")}}},[t._v("\n\t\t\t\t\t\t\t\tUnlisted\n\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"private"==t.visibility},on:{click:function(e){return t.toggleVisibility("private")}}},[t._v("\n\t\t\t\t\t\t\t\tFollowers Only\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),"altText"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t._l(t.media,(function(e,s){return i("div",[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.alt,expression:"m.alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:t.maxAltTextLength,rows:"4"},domProps:{value:e.alt},on:{input:function(i){i.target.composing||t.$set(e,"alt",i.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(e.alt?e.alt.length:0)+"/"+t._s(t.maxAltTextLength))])])]),t._v(" "),i("hr")])})),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])],2):t._e(),t._v(" "),"addToCollection"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t.collectionsLoaded&&t.collections.length?i("div",{staticClass:"list-group mb-3 collections-list-group"},[t._l(t.collections,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer compose-action border",class:{active:t.collectionsSelected.includes(s)},on:{click:function(e){return t.toggleCollectionItem(s)}}},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.thumb,alt:"",width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("h5",{staticClass:"mt-0"},[t._v(t._s(e.title))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(e.post_count)+" Posts - Created "+t._s(t.timeAgo(e.published_at))+" ago")])])])])})),t._v(" "),t.collectionsCanLoadMore?i("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-3",on:{click:t.loadMoreCollections}},[t._v("\n\t\t\t\t\t\t\t\tLoad more\n\t\t\t\t\t\t\t")]):t._e()],2):t._e(),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.clearSelectedCollections()}}},[t._v("Clear")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"schedulePost"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"mediaMetadata"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"addToStory"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"editMedia"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:t.media[t.carouselCursor].preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("Media Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.carouselCursor].alt,expression:"media[carouselCursor].alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:"140"},domProps:{value:t.media[t.carouselCursor].alt},on:{input:function(e){e.target.composing||t.$set(t.media[t.carouselCursor],"alt",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-muted mb-0 d-flex justify-content-between"},[i("span",[t._v("Describe your photo for people with visual impairments.")]),t._v(" "),i("span",[t._v(t._s(t.media[t.carouselCursor].alt?t.media[t.carouselCursor].alt.length:0)+"/140")])])]),t._v(" "),i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("License")]),t._v(" "),i("select",{directives:[{name:"model",rawName:"v-model",value:t.licenseId,expression:"licenseId"}],staticClass:"form-control",on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.licenseId=e.target.multiple?i:i[0]}}},t._l(t.availableLicenses,(function(e,s){return i("option",{domProps:{value:e.id,selected:e.id==t.licenseId}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t\t")])})),0)])])]),t._v(" "),i("hr"),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"video-2"==t.page?i("div",{staticClass:"w-100 h-100"},[t.video.title.length?i("div",{staticClass:"border-bottom"},[i("div",{staticClass:"media p-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"100px",height:"70px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"font-weight-bold mb-1"},[t._v(t._s(t.video.title?t.video.title.slice(0,70):"Untitled"))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(t.video.description?t.video.description.slice(0,90):"No description"))])])])]):t._e(),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(16),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[t._v("Add license")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("div",{staticClass:"form-group"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Title")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.video.title,expression:"video.title"}],staticClass:"form-control",attrs:{placeholder:"Add a good title"},domProps:{value:t.video.title},on:{input:function(e){e.target.composing||t.$set(t.video,"title",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.title.length)+"/70")])]),t._v(" "),i("div",{staticClass:"form-group mb-0"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.video.description,expression:"video.description"}],staticClass:"form-control",attrs:{placeholder:"Add an optional description",maxlength:"5000",rows:"5"},domProps:{value:t.video.description},on:{input:function(e){e.target.composing||t.$set(t.video,"description",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.description.length)+"/5000")])])])]):t._e()]),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"card-footer bg-white d-flex justify-content-between"},[i("div",[i("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"},on:{click:t.rotate}},[i("i",{staticClass:"fas fa-redo"})])]),t._v(" "),i("div",[i("div",{staticClass:"d-inline-block button-group"},[i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==16/9?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(16/9)}}},[t._v("16:9")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==4/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(4/3)}}},[t._v("4:3")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1.5==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1.5)}}},[t._v("3:2")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1)}}},[t._v("1:1")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==2/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(2/3)}}},[t._v("2:3")])])])]):t._e()])])])])},a=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("span",{staticClass:"pr-3"},[i("i",{staticClass:"fas fa-cog fa-lg text-muted"})]),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tCamera Roll\n\t\t\t\t\t")]),t._v(" "),i("span",{staticClass:"text-primary font-weight-bold"},[t._v("Upload")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"pr-3"},[e("i",{staticClass:"fas fa-info-circle fa-lg text-primary"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%","background-color":"#008DF5"}},[e("i",{staticClass:"fal fa-bolt text-white fa-lg"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Post")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"far fa-edit text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Text Post")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share a text only post")])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fas fa-history text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Story")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Add to your story")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"fas fa-poll-h text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Poll")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Create a poll")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/collections/create"}},[i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fal fa-images text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Collection")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("New collection of posts")])])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"py-3"},[i("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v("Help")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",[t._v("Add to Collection "),i("span",{staticClass:"ml-2 badge badge-primary"},[t._v("NEW")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-decoration-none"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Turn off commenting")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Disables comments for this post, you can change this later.")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("div",[i("div",{staticClass:"text-dark"},[t._v("Media Descriptions")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Describe your photos for people with visual impairments.")])]),t._v(" "),i("div",[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])}]}},t=>{t.O(0,[898],(()=>{return e=52356,t(t.s=e);var e}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[416],{49144:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>c});var s=i(17652),a=(i(81943),i(29655)),o=(i(99101),i(15235)),l=i(19755);function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i10&&(t.licenseTitle=t.availableLicenses.filter((function(e){return e.id==t.licenseId})).map((function(t){return t.title}))[0]),t.fetchProfile()}))},mounted:function(){this.mediaWatcher()},methods:{timeAgo:function(t){return App.util.format.timeAgo(t)},fetchProfile:function(){var t=this,e={public:"Public",private:"Followers Only",unlisted:"Unlisted"};if(window._sharedData.curUser.id){if(this.profile=window._sharedData.curUser,this.composeSettings&&this.composeSettings.hasOwnProperty("default_scope")&&this.composeSettings.default_scope){var i=this.composeSettings.default_scope;this.visibility=i,this.visibilityTag=e[i]}1==this.profile.locked&&(this.visibility="private",this.visibilityTag="Followers Only")}else axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(i){if(window._sharedData.currentUser=i.data,t.profile=i.data,t.composeSettings&&t.composeSettings.hasOwnProperty("default_scope")&&t.composeSettings.default_scope){var s=t.composeSettings.default_scope;t.visibility=s,t.visibilityTag=e[s]}1==t.profile.locked&&(t.visibility="private",t.visibilityTag="Followers Only")})).catch((function(t){}))},addMedia:function(t){var e=l(t.target);e.attr("disabled",""),l('.file-input[name="media"]').trigger("click"),e.blur(),e.removeAttr("disabled")},addText:function(t){this.pageTitle="New Text Post",this.page="addText",this.textMode=!0,this.mode="text"},mediaWatcher:function(){var t=this;l(document).on("change","#pf-dz",(function(e){t.mediaUpload()}))},mediaUpload:function(){var t=this;t.uploading=!0;var e=document.querySelector("#pf-dz");e.files.length||(t.uploading=!1),Array.prototype.forEach.call(e.files,(function(e,i){if(t.media&&t.media.length+i>=t.config.uploader.album_limit)return swal("Error","You can only upload "+t.config.uploader.album_limit+" photos per album","error"),t.uploading=!1,void(t.page=2);var s=e.type,a=t.config.uploader.media_types.split(",");if(-1==l.inArray(s,a))return swal("Invalid File Type","The file you are trying to add is not a valid mime type. Please upload a "+t.config.uploader.media_types+" only.","error"),t.uploading=!1,void(t.page=2);var o=new FormData;o.append("file",e);var n={onUploadProgress:function(e){var i=Math.round(100*e.loaded/e.total);t.uploadProgress=i}};axios.post("/api/compose/v0/media/upload",o,n).then((function(e){t.uploadProgress=100,t.ids.push(e.data.id),t.media.push(e.data),t.uploading=!1,setTimeout((function(){t.page=3}),300)})).catch((function(i){switch(i.response.status){case 451:t.uploading=!1,e.value=null,swal("Banned Content","This content has been banned and cannot be uploaded.","error"),t.page=2;break;case 429:t.uploading=!1,e.value=null,swal("Limit Reached","You can upload up to 250 photos or videos per day and you've reached that limit. Please try again later.","error"),t.page=2;break;default:t.uploading=!1,e.value=null,swal("Oops, something went wrong!","An unexpected error occurred.","error"),t.page=2}})),e.value=null,t.uploadProgress=0}))},toggleFilter:function(t,e){this.media[this.carouselCursor].filter_class=e,this.currentFilter=e},deleteMedia:function(){var t=this;if(0!=window.confirm("Are you sure you want to delete this media?")){var e=this.media[this.carouselCursor].id;axios.delete("/api/compose/v0/media/delete",{params:{id:e}}).then((function(e){t.ids.splice(t.carouselCursor,1),t.media.splice(t.carouselCursor,1),0==t.media.length?(t.ids=[],t.media=[],t.carouselCursor=0):t.carouselCursor=0})).catch((function(t){swal("Whoops!","An error occured when attempting to delete this, please try again","error")}))}},compose:function(){var t=this,e=this.composeState;if(100==this.uploadProgress&&0!=this.ids.length)if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(e){case"publish":if(!0===this.composeSettings.media_descriptions)if(this.media.filter((function(t){return!t.hasOwnProperty("alt")||t.alt.length<2})).length)return void swal("Missing media descriptions","You have enabled mandatory media descriptions. Please add media descriptions under Advanced settings to proceed. For more information, please see the media settings page.","warning");if(0==this.media.length)return void swal("Whoops!","You need to add media before you can save this!","warning");"Add optional caption..."==this.composeText&&(this.composeText="");var i={media:this.media,caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames,optimize_media:this.optimizeMedia,license:this.licenseId,video:this.video};return this.collectionsSelected.length&&(i.collections=this.collectionsSelected.map((function(e){return t.collections[e].id}))),void axios.post("/api/compose/v0/publish",i).then((function(t){"/i/web/compose"===location.pathname&&t.data&&t.data.length?location.href="/i/web/post/"+t.data.split("/").slice(-1)[0]:location.href=i})).catch((function(t){if(t.response){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}else swal("Oops, something went wrong!",t.message,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void l("#composeModal").modal("hide")}},composeTextPost:function(){var t=this.composeState;if(this.composeText.length>this.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(t){case"publish":var e={caption:this.composeText,visibility:this.visibility,cw:this.nsfw,comments_disabled:this.commentsDisabled,place:this.place,tagged:this.taggedUsernames};return void axios.post("/api/compose/v0/publish/text",e).then((function(t){var e=t.data;window.location.href=e})).catch((function(t){var e=t.response.data.message?t.response.data.message:"An unexpected error occured.";swal("Oops, something went wrong!",e,"error")}));case"delete":return this.ids=[],this.media=[],this.carouselCursor=0,this.composeText="",this.composeTextLength=0,void l("#composeModal").modal("hide")}},closeModal:function(){l("#composeModal").modal("hide"),this.$emit("close")},goBack:function(){switch(this.pageTitle="",this.mode){case"photo":switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page=3:this.page--}break;case"video":this.page,this.page="video-2";break;default:switch(this.page){case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";break;case"cropPhoto":case"editMedia":this.page=2;break;case"tagPeopleHelp":this.showTagCard();break;case"licensePicker":this.page=3;break;default:-1!=this.namedPages.indexOf(this.page)?this.page="text"==this.mode?"addText":3:"text"==this.mode||this.page--}}},nextPage:function(){switch(this.pageTitle="",this.page){case 1:this.page=2;break;case"cropPhoto":this.pageLoading=!0;var t=this;this.$refs.cropper.getCroppedCanvas({maxWidth:4096,maxHeight:4096,fillColor:"#fff",imageSmoothingEnabled:!1,imageSmoothingQuality:"high"}).toBlob((function(e){t.mediaCropped=!0;var i=new FormData;i.append("file",e),i.append("id",t.ids[t.carouselCursor]);axios.post("/api/compose/v0/media/update",i).then((function(e){t.media[t.carouselCursor].url=e.data.url,t.pageLoading=!1,t.page=2})).catch((function(t){}))}));break;case 2:this.currentFilter?window.confirm("Are you sure you want to apply this filter?")&&(this.applyFilterToMedia(),this.page++):this.page++;break;case 3:this.page++}},rotate:function(){this.$refs.cropper.rotate(90)},changeAspect:function(t){this.cropper.aspectRatio=t,this.$refs.cropper.setAspectRatio(t)},showTagCard:function(){this.pageTitle="Tag People",this.page="tagPeople"},showTagHelpCard:function(){this.pageTitle="About Tag People",this.page="tagPeopleHelp"},showLocationCard:function(){this.pageTitle="Add Location",this.page="addLocation"},showAdvancedSettingsCard:function(){this.pageTitle="Advanced Settings",this.page="advancedSettings"},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){switch(this.place=t,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showVisibilityCard:function(){this.pageTitle="Post Visibility",this.page="visibility"},showAddToStoryCard:function(){this.pageTitle="Add to Story",this.page="addToStory"},showCropPhotoCard:function(){this.pageTitle="Edit Photo",this.page="cropPhoto"},toggleVisibility:function(t){switch(this.visibility=t,this.visibilityTag={public:"Public",private:"Followers Only",unlisted:"Unlisted"}[t],this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},showMediaDescriptionsCard:function(){this.pageTitle="Media Descriptions",this.page="altText"},showAddToCollectionsCard:function(){this.pageTitle="Add to Collection",this.page="addToCollection"},showSchedulePostCard:function(){this.pageTitle="Schedule Post",this.page="schedulePost"},showEditMediaCard:function(){this.pageTitle="Edit Media",this.page="editMedia"},fetchCameraRollDrafts:function(){var t=this;axios.get("/api/pixelfed/local/drafts").then((function(e){t.cameraRollMedia=e.data}))},applyFilterToMedia:function(){var t=navigator.userAgent.toLowerCase();if(-1!=t.indexOf("firefox")||-1!=t.indexOf("chrome"))for(var e=this.media,i=null,s=document.getElementById("pr_canvas"),a=s.getContext("2d"),o=document.getElementById("pr_img"),l=null,n=e.length-1;n>=0;n--)(i=e[n]).filter_class&&(o.src=i.url,o.addEventListener("load",(function(t){s.width=o.width,s.height=o.height,a.filter=App.util.filterCss[i.filter_class],a.drawImage(o,0,0,o.width,o.height),a.save(),s.toBlob((function(t){(l=new FormData).append("file",t),l.append("id",i.id),axios.post("/api/compose/v0/media/update",l).then((function(t){})).catch((function(t){}))}))}),i.mime,.9),a.clearRect(0,0,o.width,o.height));else swal("Oops!","Your browser does not support the filter feature.","error")},tagSearch:function(t){if(t.length<1)return[];var e=this;return axios.get("/api/compose/v0/search/tag",{params:{q:t}}).then((function(t){if(t.data.length)return t.data.filter((function(t){return 0==e.taggedUsernames.filter((function(e){return e.id==t.id})).length}))}))},getTagResultValue:function(t){return"@"+t.name},onTagSubmitLocation:function(t){this.taggedUsernames.filter((function(e){return e.id==t.id})).length||(this.taggedUsernames.push(t),this.$refs.autocomplete.value="")},untagUsername:function(t){this.taggedUsernames.splice(t,1)},showTextOptions:function(){this.page="textOptions",this.pageTitle="Text Post Options"},showLicenseCard:function(){this.pageTitle="Select a License",this.page="licensePicker"},toggleLicense:function(t){var e=this;switch(this.licenseId=t.id,this.licenseId>10?this.licenseTitle=this.availableLicenses.filter((function(t){return t.id==e.licenseId})).map((function(t){return t.title}))[0]:this.licenseTitle=null,this.mode){case"photo":this.pageTitle="",this.page=3;break;case"video":this.pageTitle="Edit Video Details",this.page="video-2";break;case"text":this.pageTitle="New Text Post",this.page="addText"}},newPoll:function(){this.page="poll"},savePollOption:function(){-1==this.pollOptions.indexOf(this.pollOptionModel)?(this.pollOptions.push(this.pollOptionModel),this.pollOptionModel=null):this.pollOptionModel=null},deletePollOption:function(t){this.pollOptions.splice(t,1)},postNewPoll:function(){var t=this;this.postingPoll=!0,axios.post("/api/compose/v0/poll",{caption:this.composeText,cw:!1,visibility:this.visibility,comments_disabled:!1,expiry:this.pollExpiry,pollOptions:this.pollOptions}).then((function(e){if(!e.data.hasOwnProperty("url"))return swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error"),void(t.postingPoll=!1);window.location.href=e.data.url})).catch((function(e){if(console.log(e.response.data.error),e.response.data.hasOwnProperty("error")&&"Duplicate detected."==e.response.data.error)return t.postingPoll=!1,void swal("Oops!","The poll you are trying to create is similar to an existing poll you created. Please make the poll question (caption) unique.","error");t.postingPoll=!1,swal("Oops!","An error occured while attempting to create this poll. Please refresh the page and try again.","error")}))},filesize:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return filesize(1024*t,{round:0})})),showCollectionCard:function(){this.pageTitle="Add to Collection(s)",this.page="addToCollection",this.collectionsLoaded||this.fetchCollections()},fetchCollections:function(){var t=this;axios.get("/api/local/profile/collections/".concat(this.profile.id)).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.collectionsCanLoadMore=9==e.data.length,t.collectionsPage++}))},toggleCollectionItem:function(t){if(this.collectionsSelected.includes(t))this.collectionsSelected=this.collectionsSelected.filter((function(e){return e!=t}));else{if(7==this.collectionsSelected.length)return void swal("Oops!","You can only share to 5 collections.","info");this.collectionsSelected.push(t)}},clearSelectedCollections:function(){this.collectionsSelected=[],this.pageTitle="Compose",this.page=3},loadMoreCollections:function(){var t=this;this.collectionsCanLoadMore=!1,axios.get("/api/local/profile/collections/".concat(this.profile.id),{params:{page:this.collectionsPage}}).then((function(e){var i,s=t.collections.map((function(t){return t.id})),a=e.data.filter((function(t){return!s.includes(t.id)}));a&&a.length&&((i=t.collections).push.apply(i,n(a)),t.collectionsPage++,t.collectionsCanLoadMore=!0)}))}}}},52356:(t,e,i)=>{Vue.component("compose-modal",i(64439).default)},42770:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>o});var s=i(23645),a=i.n(s)()((function(t){return t[1]}));a.push([t.id,".compose-modal-component .media-drawer-filters{flex-wrap:unset;overflow-x:scroll}.compose-modal-component .media-drawer-filters::-webkit-scrollbar{background:transparent;width:0}.compose-modal-component .media-drawer-filters .nav-link{min-width:100px;padding-bottom:1rem;padding-top:1rem}.compose-modal-component .media-drawer-filters .active{color:#fff;font-weight:700}@media(hover:none)and (pointer:coarse){.compose-modal-component .media-drawer-filters::-webkit-scrollbar{display:none}}.compose-modal-component .no-focus{border-color:none;box-shadow:none;outline:0}.compose-modal-component a.list-group-item{text-decoration:none}.compose-modal-component a.list-group-item:hover{background-color:#f8f9fa!important;text-decoration:none}.compose-modal-component .compose-action:hover{background-color:#f8f9fa!important;cursor:pointer}.compose-modal-component .collections-list-group{max-height:500px;overflow-y:auto}.compose-modal-component .collections-list-group .list-group-item.active{background-color:#dbeafe!important;border-color:#60a5fa!important;color:#212529}",""]);const o=a},55898:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>n});var s=i(93379),a=i.n(s),o=i(42770),l={insert:"head",singleton:!1};a()(o.default,l);const n=o.default.locals||{}},64439:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>l});var s=i(92013),a=i(10594),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);i.d(e,o);i(40309);const l=(0,i(51900).default)(a.default,s.render,s.staticRenderFns,!1,null,null,null).exports},10594:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>o});var s=i(49144),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a);const o=s.default},40309:(t,e,i)=>{"use strict";i.r(e);var s=i(55898),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},92013:(t,e,i)=>{"use strict";i.r(e);var s=i(40572),a={};for(const t in s)"default"!==t&&(a[t]=()=>s[t]);i.d(e,a)},40572:(t,e,i)=>{"use strict";i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>a});var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"compose-modal-component"},[i("input",{staticClass:"w-100 h-100 d-none file-input",attrs:{type:"file",id:"pf-dz",name:"media",multiple:"",accept:t.config.uploader.media_types}}),t._v(" "),i("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),i("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),i("div",{staticClass:"timeline"},[t.uploading?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100 bg-light py-3",staticStyle:{"border-bottom":"1px solid #f1f1f1"}},[i("div",{staticClass:"p-5 mt-2"},[i("b-progress",{attrs:{value:t.uploadProgress,max:100,striped:"",animated:!0}}),t._v(" "),i("p",{staticClass:"text-center mb-0 font-weight-bold"},[t._v("Uploading ... ("+t._s(t.uploadProgress)+"%)")])],1)])]):"cameraRoll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[t._m(0),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[t.cameraRollMedia.length>0?i("div",{staticClass:"row p-0 m-0"},t._l(t.cameraRollMedia,(function(t,e){return i("div",{class:[0==e?"col-12 p-0":"col-3 p-0"]},[i("div",{staticClass:"card info-overlay p-0 rounded-0 shadow-none border"},[i("div",{staticClass:"square"},[i("img",{staticClass:"square-content",attrs:{src:t.preview_url}})])])])})),0):i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[i("span",{staticClass:"w-100 h-100"},[i("button",{staticClass:"btn btn-primary",attrs:{type:"button"}},[t._v("Upload")]),t._v(" "),i("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.fetchCameraRollDrafts()}}},[t._v("Load Camera Roll")])])])])])]):"poll"==t.page?i("div",[i("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[t._m(1),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNew Poll\n\t\t\t\t\t")]),t._v(" "),t.postingPoll?i("span",[t._m(2)]):!t.postingPoll&&t.pollOptions.length>1&&t.composeText.length?i("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:t.postNewPoll}},[i("span",[t._v("Create Poll")])]):i("span",{staticClass:"font-weight-bold text-lighter"},[t._v("\n\t\t\t\t\t\tCreate Poll\n\t\t\t\t\t")])]),t._v(" "),i("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{staticClass:"rounded-circle",attrs:{src:t.profile.avatar,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a poll question..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\tPoll Options\n\t\t\t\t\t\t")]),t._v(" "),t.pollOptions.length<4?i("div",{staticClass:"form-group mb-4"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptionModel,expression:"pollOptionModel"}],staticClass:"form-control rounded-pill",attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptionModel},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.savePollOption.apply(null,arguments)},input:function(e){e.target.composing||(t.pollOptionModel=e.target.value)}}})]):t._e(),t._v(" "),t._l(t.pollOptions,(function(e,s){return i("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[i("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(s+1)+".")]),t._v(" "),t.pollOptions[s].length<50?i("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control rounded-pill",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{type:"text",placeholder:"Add a poll option, press enter to save"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}):i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[s],expression:"pollOptions[index]"}],staticClass:"form-control",staticStyle:{"padding-left":"30px","padding-right":"90px"},attrs:{placeholder:"Add a poll option, press enter to save",rows:"3"},domProps:{value:t.pollOptions[s]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,s,e.target.value)}}}),t._v(" "),i("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(s)}}},[i("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),i("hr"),t._v(" "),i("div",{staticClass:"d-flex justify-content-between"},[i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Expiry\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.pollExpiry,expression:"pollExpiry"}],staticClass:"form-control rounded-pill",staticStyle:{width:"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.pollExpiry=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),i("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),i("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),i("option",{attrs:{value:"10080"}},[t._v("7 days")])])])]),t._v(" "),i("div",[i("p",{staticClass:"font-weight-bold text-muted small"},[t._v("\n\t\t\t\t\t\t\t\t\tPoll Visibility\n\t\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"form-group"},[i("select",{directives:[{name:"model",rawName:"v-model",value:t.visibility,expression:"visibility"}],staticClass:"form-control rounded-pill",staticStyle:{"max-width":"200px"},on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.visibility=e.target.multiple?i:i[0]}}},[i("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),i("option",{attrs:{value:"private"}},[t._v("Followers Only")])])])])])],2)])])]):i("div",[i("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100",staticStyle:{display:"flex"}},[i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("div",[1==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[i("i",{staticClass:"fas fa-times fa-lg"}),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):2==t.page?i("span",[t.config.uploader.album_limit>t.media.length?i("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold",attrs:{id:"cm-add-media-btn"},on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-plus"})]):i("button",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold",attrs:{disabled:""}},[i("i",{staticClass:"fas fa-plus"})]),t._v(" "),i("b-tooltip",{attrs:{target:"cm-add-media-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\t\tUpload another photo or video\n\t\t\t\t\t\t\t")])],1):3==t.page?i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3 d-flex align-items-center",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg mr-2"}),t._v(" "),i("span",{staticClass:"btn btn-outline-secondary btn-sm px-2 py-0 disabled",attrs:{disabled:""}},[t._v(t._s(t.media.length))])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):i("span",[i("a",{staticClass:"text-lighter text-decoration-none mr-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[i("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg"})])]),t._v(" "),i("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]),t._v(" "),2==t.page?i("div",[1==t.media.length?i("a",{staticClass:"text-center text-dark",attrs:{href:"#",title:"Crop & Resize",id:"cm-crop-btn"},on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[i("i",{staticClass:"fas fa-crop-alt fa-lg"})]):t._e(),t._v(" "),i("b-tooltip",{attrs:{target:"cm-crop-btn",triggers:"hover"}},[t._v("\n\t\t\t\t\t\t\tCrop & Resize\n\t\t\t\t\t\t")])],1):t._e(),t._v(" "),i("div",[t.pageLoading?i("span",[t._m(3)]):i("span",[!t.pageLoading&&t.page>1&&t.page<=2||1==t.page&&0!=t.ids.length||"cropPhoto"==t.page?i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.nextPage.apply(null,arguments)}}},[t._v("Next")]):t._e(),t._v(" "),t.pageLoading||3!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"addText"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.composeTextPost()}}},[t._v("Post")]),t._v(" "),t.pageLoading||"video-2"!=t.page?t._e():i("a",{staticClass:"font-weight-bold text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.compose()}}},[t._v("Post")])])])]),t._v(" "),i("div",{staticClass:"card-body p-0 border-top"},["licensePicker"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"list-group list-group-flush"},t._l(t.availableLicenses,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer",class:{"text-primary":t.licenseId===e.id,"font-weight-bold":t.licenseId===e.id},on:{click:function(i){return t.toggleLicense(e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t")])})),0)]):t._e(),t._v(" "),"textOptions"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}}):t._e(),t._v(" "),"addText"==t.page?i("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[i("div",{staticClass:"mt-2"},[i("div",{staticClass:"media px-3"},[i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Body")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",staticStyle:{"font-size":"18px",resize:"none"},attrs:{rows:"7",placeholder:"What's happening?"},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),i("div",{staticClass:"border-bottom"}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0 font-weight-bold"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))]),t._v(" "),i("p",{staticClass:"mb-0 mt-2"},[i("a",{staticClass:"btn btn-primary rounded-pill mr-2",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTextOptions()}}},[i("i",{staticClass:"fas fa-palette px-3 text-white"})]),t._v(" "),i("a",{staticClass:"btn rounded-pill mx-3 d-inline-flex align-items-center",class:[t.nsfw?"btn-danger":"btn-outline-lighter"],staticStyle:{height:"37px"},attrs:{href:"#",title:"Mark as sensitive/not safe for work"},on:{click:function(e){e.preventDefault(),t.nsfw=!t.nsfw}}},[i("i",{staticClass:"far fa-flag px-3"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"})]),t._v(" "),i("a",{staticClass:"btn btn-outline-lighter rounded-pill d-inline-flex align-items-center",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-eye mr-2"}),t._v(" "),i("span",{staticClass:"text-muted small font-weight-bold"},[t._v(t._s(t.visibilityTag))])])])])])])])]):t._e(),t._v(" "),1==t.page?i("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center",staticStyle:{"min-height":"400px"}},[i("div",{staticClass:"text-center"},[0==t.media.length?i("div",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark"},[i("div",{staticClass:"card-body py-2",on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[i("div",{staticClass:"media"},[t._m(4),t._v(" "),i("div",{staticClass:"media-body text-left"},[t._m(5),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share up to "+t._s(t.config.uploader.album_limit)+" photos or videos")]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.config.uploader.media_types.split(",").map((function(t){return t.split("/")[1]})).join(", ")))]),t._v(" allowed up to "),i("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.filesize(t.config.uploader.max_photo_size)))])])])])])]):t._e(),t._v(" "),t._e(),t._v(" "),1==t.config.features.stories?i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/stories/new"}},[t._m(7)]):t._e(),t._v(" "),t._e(),t._v(" "),t._m(9),t._v(" "),t._m(10)])]):t._e(),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"w-100 h-100"},[t.ids.length>0?i("div",[i("vue-cropper",{ref:"cropper",attrs:{relativeZoom:t.cropper.zoom,aspectRatio:t.cropper.aspectRatio,viewMode:t.cropper.viewMode,zoomable:t.cropper.zoomable,rotatable:!0,src:t.media[t.carouselCursor].url}})],1):t._e()]):t._e(),t._v(" "),2==t.page?i("div",{staticClass:"w-100 h-100"},[1==t.media.length?i("div",[i("div",{staticStyle:{display:"flex","min-height":"420px","align-items":"center"},attrs:{slot:"img"},slot:"img"},[i("img",{class:"d-block img-fluid w-100 "+[t.media[t.carouselCursor].filter_class?t.media[t.carouselCursor].filter_class:""],attrs:{src:t.media[t.carouselCursor].url,alt:t.media[t.carouselCursor].description,title:t.media[t.carouselCursor].description}})]),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"Image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):t.media.length>1?i("div",{staticClass:"d-flex-inline px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")]),t._v(" "),t._l(t.media,(function(e,s){return i("li",{staticClass:"nav-item mx-md-4"},[i("div",{staticClass:"nav-link",staticStyle:{display:"block",width:"300px",height:"300px"},on:{click:function(e){t.carouselCursor=s}}},[i("span",{class:[e.filter_class?e.filter_class:""]},[i("span",{class:"rounded border "+[s==t.carouselCursor?" border-primary shadow":""],style:"display:block;padding:5px;width:100%;height:100%;background-image: url("+e.url+");background-size:cover;border-width:3px !important;"})])]),t._v(" "),s==t.carouselCursor?i("div",{staticClass:"text-center mb-0 small text-lighter font-weight-bold pt-2"},[i("span",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[t._v("Crop")]),t._v(" "),i("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return e.preventDefault(),t.showEditMediaCard()}}},[t._v("Edit")]),t._v(" "),i("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.deleteMedia()}}},[t._v("Delete")])]):t._e()])})),t._v(" "),i("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")])],2),t._v(" "),i("hr"),t._v(" "),t.ids.length>0&&"Image"==t.media[t.carouselCursor].type?i("div",{staticClass:"align-items-center px-2 pt-2"},[i("ul",{staticClass:"nav media-drawer-filters text-center"},[i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{staticClass:"cursor-pointer",attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}})]),t._v(" "),i("a",{class:[null==t.media[t.carouselCursor].filter_class?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,null)}}},[t._v("No Filter")])]),t._v(" "),t._l(t.filters,(function(e,s){return i("li",{staticClass:"nav-item"},[i("div",{staticClass:"p-1 pt-3"},[i("img",{class:e[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}})]),t._v(" "),i("a",{class:[t.media[t.carouselCursor].filter_class==e[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),t.toggleFilter(i,e[1])}}},[t._v(t._s(e[0]))])])}))],2)]):t._e()]):i("div",[i("p",{staticClass:"mb-0 p-5 text-center font-weight-bold"},[t._v("An error occured, please refresh the page.")])])]):t._e(),t._v(" "),3==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"border-bottom mt-2"},[i("div",{staticClass:"media px-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"42px",height:"42px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),i("vue-tribute",{attrs:{options:t.tributeSettings}},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"3",placeholder:"Write a caption..."},domProps:{value:t.composeText},on:{keyup:function(e){t.composeTextLength=t.composeText.length},input:function(e){e.target.composing||(t.composeText=e.target.value)}}})]),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(11),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showTagCard()}}},[t._v("Tag people")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showCollectionCard()}}},[t._m(12),t._v(" "),i("span",{staticClass:"float-right"},[t.collectionsSelected.length?i("span",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px 5px","text-transform":"uppercase"},attrs:{href:"#",disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.collectionsSelected.length)+"\n\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t._m(13)])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[i("span",[t._v("Add license")]),t._v(" "),i("span",{staticClass:"float-right"},[t.licenseTitle?i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[t._v(t._s(t.licenseTitle))]):t._e(),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[t.place?i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",{staticClass:"text-lighter"},[t._v("Location:")]),t._v(" "+t._s(t.place.name)+", "+t._s(t.place.country)+"\n\t\t\t\t\t\t\t\t"),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-2",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLocationCard()}}},[t._v("Edit")]),t._v(" "),i("a",{staticClass:"btn btn-outline-secondary btn-sm small",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.place=!1}}},[t._v("Remove")])])]):i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLocationCard()}}},[t._v("Add location")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticStyle:{"min-height":"200px"}},[i("p",{staticClass:"px-4 mb-0 py-2 small font-weight-bold text-muted cursor-pointer",on:{click:function(e){return t.showAdvancedSettingsCard()}}},[t._v("Advanced settings")])])]):t._e(),t._v(" "),"tagPeople"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("autocomplete",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],ref:"autocomplete",attrs:{search:t.tagSearch,placeholder:"@pixelfed","aria-label":"Search usernames","get-result-value":t.getTagResultValue},on:{submit:t.onTagSubmitLocation}}),t._v(" "),i("p",{directives:[{name:"show",rawName:"v-show",value:t.taggedUsernames.length<10,expression:"taggedUsernames.length < 10"}],staticClass:"font-weight-bold text-muted small"},[t._v("You can tag "+t._s(10-t.taggedUsernames.length)+" more "+t._s(9==t.taggedUsernames.length?"person":"people")+"!")]),t._v(" "),i("p",{staticClass:"font-weight-bold text-center mt-3"},[t._v("Tagged People")]),t._v(" "),i("div",{staticClass:"list-group"},[t._l(t.taggedUsernames,(function(e,s){return i("div",{staticClass:"list-group-item d-flex justify-content-between"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-2 rounded-circle border",attrs:{src:e.avatar,width:"24px",height:"24px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("span",{staticClass:"font-weight-bold"},[t._v(t._s(e.name))])])]),t._v(" "),i("div",{staticClass:"custom-control custom-switch"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.privacy,expression:"tag.privacy"}],staticClass:"custom-control-input disabled",attrs:{type:"checkbox",id:"cci-tagged-privacy-switch"+s,disabled:""},domProps:{checked:Array.isArray(e.privacy)?t._i(e.privacy,null)>-1:e.privacy},on:{change:function(i){var s=e.privacy,a=i.target,o=!!a.checked;if(Array.isArray(s)){var l=t._i(s,null);a.checked?l<0&&t.$set(e,"privacy",s.concat([null])):l>-1&&t.$set(e,"privacy",s.slice(0,l).concat(s.slice(l+1)))}else t.$set(e,"privacy",o)}}}),t._v(" "),i("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"cci-tagged-privacy-switch"+s}},[t._v(t._s(e.privacy?"Public":"Private"))]),t._v(" "),i("a",{staticClass:"ml-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.untagUsername(s)}}},[i("i",{staticClass:"fas fa-times text-muted"})])])])})),t._v(" "),0==t.taggedUsernames.length?i("div",{staticClass:"list-group-item p-3"},[i("p",{staticClass:"text-center mb-0 font-weight-bold text-lighter"},[t._v("Search usernames to tag.")])]):t._e()],2),t._v(" "),i("p",{staticClass:"font-weight-bold text-center small text-muted pt-3 mb-0"},[t._v("When you tag someone, they are sent a notification."),i("br"),t._v("For more information on tagging, "),i("a",{staticClass:"text-primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTagHelpCard()}}},[t._v("click here")]),t._v(".")])],1):t._e(),t._v(" "),"tagPeopleHelp"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0 text-center py-3 px-2 lead"},[t._v("Tagging someone is like mentioning them, with the option to make it private between you.")]),t._v(" "),i("p",{staticClass:"mb-3 py-3 px-2 font-weight-lighter"},[t._v("\n\t\t\t\t\t\t\tYou can choose to tag someone in public or private mode. Public mode will allow others to see who you tagged in the post and private mode tagged users will not be shown to others.\n\t\t\t\t\t\t")])]):t._e(),t._v(" "),"addLocation"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"mb-0"},[t._v("Add Location")]),t._v(" "),i("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}})],1):t._e(),t._v(" "),"advancedSettings"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[i("div",{staticClass:"list-group-item d-flex justify-content-between"},[t._m(14),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.commentsDisabled,expression:"commentsDisabled"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asdisablecomments"},domProps:{checked:Array.isArray(t.commentsDisabled)?t._i(t.commentsDisabled,null)>-1:t.commentsDisabled},on:{change:function(e){var i=t.commentsDisabled,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.commentsDisabled=i.concat([null])):o>-1&&(t.commentsDisabled=i.slice(0,o).concat(i.slice(o+1)))}else t.commentsDisabled=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asdisablecomments"}})])])]),t._v(" "),i("a",{staticClass:"list-group-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showMediaDescriptionsCard()}}},[t._m(15)])])]):t._e(),t._v(" "),"visibility"==t.page?i("div",{staticClass:"w-100 h-100"},[i("div",{staticClass:"list-group list-group-flush"},[t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"public"==t.visibility},on:{click:function(e){return t.toggleVisibility("public")}}},[t._v("\n\t\t\t\t\t\t\t\tPublic\n\t\t\t\t\t\t\t")]),t._v(" "),t.profile.locked?t._e():i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"unlisted"==t.visibility},on:{click:function(e){return t.toggleVisibility("unlisted")}}},[t._v("\n\t\t\t\t\t\t\t\tUnlisted\n\t\t\t\t\t\t\t")]),t._v(" "),i("div",{staticClass:"list-group-item lead cursor-pointer",class:{"text-primary":"private"==t.visibility},on:{click:function(e){return t.toggleVisibility("private")}}},[t._v("\n\t\t\t\t\t\t\t\tFollowers Only\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),"altText"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t._l(t.media,(function(e,s){return i("div",[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.alt,expression:"m.alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:t.maxAltTextLength,rows:"4"},domProps:{value:e.alt},on:{input:function(i){i.target.composing||t.$set(e,"alt",i.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(e.alt?e.alt.length:0)+"/"+t._s(t.maxAltTextLength))])])]),t._v(" "),i("hr")])})),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])],2):t._e(),t._v(" "),"addToCollection"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[t.collectionsLoaded&&t.collections.length?i("div",{staticClass:"list-group mb-3 collections-list-group"},[t._l(t.collections,(function(e,s){return i("div",{staticClass:"list-group-item cursor-pointer compose-action border",class:{active:t.collectionsSelected.includes(s)},on:{click:function(e){return t.toggleCollectionItem(s)}}},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:e.thumb,alt:"",width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("h5",{staticClass:"mt-0"},[t._v(t._s(e.title))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(e.post_count)+" Posts - Created "+t._s(t.timeAgo(e.published_at))+" ago")])])])])})),t._v(" "),t.collectionsCanLoadMore?i("button",{staticClass:"btn btn-light btn-block font-weight-bold mt-3",on:{click:t.loadMoreCollections}},[t._v("\n\t\t\t\t\t\t\t\tLoad more\n\t\t\t\t\t\t\t")]):t._e()],2):t._e(),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.clearSelectedCollections()}}},[t._v("Clear")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"schedulePost"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"mediaMetadata"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"addToStory"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):t._e(),t._v(" "),"editMedia"==t.page?i("div",{staticClass:"w-100 h-100 p-3"},[i("div",{staticClass:"media"},[i("img",{staticClass:"mr-3",attrs:{src:t.media[t.carouselCursor].preview_url,width:"50px",height:"50px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("Media Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.media[t.carouselCursor].alt,expression:"media[carouselCursor].alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:"140"},domProps:{value:t.media[t.carouselCursor].alt},on:{input:function(e){e.target.composing||t.$set(t.media[t.carouselCursor],"alt",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text small text-muted mb-0 d-flex justify-content-between"},[i("span",[t._v("Describe your photo for people with visual impairments.")]),t._v(" "),i("span",[t._v(t._s(t.media[t.carouselCursor].alt?t.media[t.carouselCursor].alt.length:0)+"/140")])])]),t._v(" "),i("div",{staticClass:"form-group"},[i("label",{staticClass:"font-weight-bold text-muted small"},[t._v("License")]),t._v(" "),i("select",{directives:[{name:"model",rawName:"v-model",value:t.licenseId,expression:"licenseId"}],staticClass:"form-control",on:{change:function(e){var i=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.licenseId=e.target.multiple?i:i[0]}}},t._l(t.availableLicenses,(function(e,s){return i("option",{domProps:{value:e.id,selected:e.id==t.licenseId}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t\t\t\t\t\t")])})),0)])])]),t._v(" "),i("hr"),t._v(" "),i("p",{staticClass:"d-flex justify-content-between mb-0"},[i("button",{staticClass:"btn btn-link text-muted font-weight-bold text-decoration-none",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Cancel")]),t._v(" "),i("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):t._e(),t._v(" "),"video-2"==t.page?i("div",{staticClass:"w-100 h-100"},[t.video.title.length?i("div",{staticClass:"border-bottom"},[i("div",{staticClass:"media p-3"},[i("img",{class:[t.media[0].filter_class?"mr-2 "+t.media[0].filter_class:"mr-2"],attrs:{src:t.media[0].url,width:"100px",height:"70px"}}),t._v(" "),i("div",{staticClass:"media-body"},[i("p",{staticClass:"font-weight-bold mb-1"},[t._v(t._s(t.video.title?t.video.title.slice(0,70):"Untitled"))]),t._v(" "),i("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(t.video.description?t.video.description.slice(0,90):"No description"))])])])]):t._e(),t._v(" "),i("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2 "},[t._m(16),t._v(" "),i("div",[i("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.nsfw,expression:"nsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"asnsfw"},domProps:{checked:Array.isArray(t.nsfw)?t._i(t.nsfw,null)>-1:t.nsfw},on:{change:function(e){var i=t.nsfw,s=e.target,a=!!s.checked;if(Array.isArray(i)){var o=t._i(i,null);s.checked?o<0&&(t.nsfw=i.concat([null])):o>-1&&(t.nsfw=i.slice(0,o).concat(i.slice(o+1)))}else t.nsfw=a}}}),t._v(" "),i("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[t._v("Add license")])]),t._v(" "),i("div",{staticClass:"border-bottom"},[i("p",{staticClass:"px-4 mb-0 py-2"},[i("span",[t._v("Audience")]),t._v(" "),i("span",{staticClass:"float-right"},[i("a",{staticClass:"btn btn-outline-secondary btn-sm small mr-3 mt-n1 disabled",staticStyle:{"font-size":"10px",padding:"3px","text-transform":"uppercase"},attrs:{href:"#",disabled:""},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[t._v(t._s(t.visibilityTag))]),t._v(" "),i("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),i("div",{staticClass:"p-3"},[i("div",{staticClass:"form-group"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Title")]),t._v(" "),i("input",{directives:[{name:"model",rawName:"v-model",value:t.video.title,expression:"video.title"}],staticClass:"form-control",attrs:{placeholder:"Add a good title"},domProps:{value:t.video.title},on:{input:function(e){e.target.composing||t.$set(t.video,"title",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.title.length)+"/70")])]),t._v(" "),i("div",{staticClass:"form-group mb-0"},[i("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Description")]),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.video.description,expression:"video.description"}],staticClass:"form-control",attrs:{placeholder:"Add an optional description",maxlength:"5000",rows:"5"},domProps:{value:t.video.description},on:{input:function(e){e.target.composing||t.$set(t.video,"description",e.target.value)}}}),t._v(" "),i("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.description.length)+"/5000")])])])]):t._e()]),t._v(" "),"cropPhoto"==t.page?i("div",{staticClass:"card-footer bg-white d-flex justify-content-between"},[i("div",[i("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"},on:{click:t.rotate}},[i("i",{staticClass:"fas fa-redo"})])]),t._v(" "),i("div",[i("div",{staticClass:"d-inline-block button-group"},[i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==16/9?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(16/9)}}},[t._v("16:9")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==4/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(4/3)}}},[t._v("4:3")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1.5==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1.5)}}},[t._v("3:2")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[1==t.cropper.aspectRatio?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(1)}}},[t._v("1:1")]),t._v(" "),i("button",{class:"btn font-weight-bold "+[t.cropper.aspectRatio==2/3?"btn-primary":"btn-light"],on:{click:function(e){return e.preventDefault(),t.changeAspect(2/3)}}},[t._v("2:3")])])])]):t._e()])])])])},a=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[i("span",{staticClass:"pr-3"},[i("i",{staticClass:"fas fa-cog fa-lg text-muted"})]),t._v(" "),i("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tCamera Roll\n\t\t\t\t\t")]),t._v(" "),i("span",{staticClass:"text-primary font-weight-bold"},[t._v("Upload")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"pr-3"},[e("i",{staticClass:"fas fa-info-circle fa-lg text-primary"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[i("span",{staticClass:"sr-only"},[t._v("Loading...")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%","background-color":"#008DF5"}},[e("i",{staticClass:"fal fa-bolt text-white fa-lg"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Post")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"far fa-edit text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Text Post")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Share a text only post")])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fas fa-history text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Story")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Add to your story")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"2px solid #008DF5"}},[i("i",{staticClass:"fas fa-poll-h text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Poll")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("Create a poll")])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/collections/create"}},[i("div",{staticClass:"card-body py-2"},[i("div",{staticClass:"media"},[i("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%",border:"1px solid #008DF5"}},[i("i",{staticClass:"fal fa-images text-primary fa-lg"})]),t._v(" "),i("div",{staticClass:"media-body text-left"},[i("p",{staticClass:"mb-0"},[i("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Collection")]),t._v(" "),i("sup",{staticClass:"float-right mt-2"},[i("span",{staticClass:"btn btn-outline-lighter p-1 btn-sm font-weight-bold py-0",staticStyle:{"font-size":"10px","line-height":"0.6"}},[t._v("BETA")])])]),t._v(" "),i("p",{staticClass:"mb-0 text-muted"},[t._v("New collection of posts")])])])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("p",{staticClass:"py-3"},[i("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v("Help")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("span",[t._v("Add to Collection "),i("span",{staticClass:"ml-2 badge badge-primary"},[t._v("NEW")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-decoration-none"},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Turn off commenting")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Disables comments for this post, you can change this later.")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"d-flex justify-content-between align-items-center"},[i("div",[i("div",{staticClass:"text-dark"},[t._v("Media Descriptions")]),t._v(" "),i("p",{staticClass:"text-muted small mb-0"},[t._v("Describe your photos for people with visual impairments.")])]),t._v(" "),i("div",[i("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"text-dark "},[t._v("Contains NSFW Media")])])}]}},t=>{t.O(0,[898],(()=>{return e=52356,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/js/home-chunk.js b/public/js/home-chunk.js index e2ee04110..fb454e53b 100644 --- a/public/js/home-chunk.js +++ b/public/js/home-chunk.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[489],{23006:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(42755),i=s(88231),n=s(78375),a=s(55197),r=(s(73459),s(66915));const l={props:{scope:{type:String,default:"home"}},components:{drawer:o.default,sidebar:i.default,timeline:a.default,rightbar:n.default,"story-carousel":r.default},data:function(){return{isLoaded:!1,profile:void 0,recommended:[],trending:[]}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.profile=window._sharedData.user,this.isLoaded=!0},updateProfile:function(t){this.profile=Object.assign(this.profile,t)}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(80979),i=s(26535),n=s(22583),a=s(30765),r=s.n(a);const l={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"read-more":o.default,"profile-hover-card":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{toggleLightbox:function(t){r()({el:t.target})},timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},count:function(t){return App.util.format.count(t)},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.url},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.status.account.id),params:{id:this.status.account.id,cachedProfile:this.status.account,cachedUser:this.profile}})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},videoAltText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},16890:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{profile:{type:Object}},components:{"profile-card":o.default},data:function(){return{popularAccounts:[],newlyFollowed:0}},mounted:function(){this.fetchPopularAccounts()},methods:{fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/follow").then((function(t){e.newlyFollowed++,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count+1})}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/unfollow").then((function(t){e.newlyFollowed--,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count-1})}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},66842:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{profile:{type:Object}},data:function(){return{canShow:!1,stories:[]}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){e.data&&e.data.length&&(t.stories=e.data,t.canShow=!0)}))}}}},61672:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var o=s(45836),i=s(99247),n=s(78423),a=s(8829),r=s(5327),l=s(21917),c=s(57166),d=s(44898);function u(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return p(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);se.id&&(t.max_id=e.id),t.ids.push(e.id),t.feed.push(e),e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]))})),t.isFetchingMore=!1}),100)}))}},likeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1;var i=document.createElement("p");i.classList.add("text-left"),i.classList.add("mb-0"),i.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var n=document.createElement("div");n.appendChild(i),429===s.response.status&&swal({title:"Too many requests",content:n,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},handleModTools:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.openModMenu()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(o){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count+1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1})).catch((function(s){swal("Oops!","An error occured when attempting to follow this account.","error"),e.feed[t].relationship.following=!1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].relationship.following=!0}))},updateProfile:function(t){this.$emit("update-profile",t)}}}},38791:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-5ae68d74]{border-radius:15px}.username[data-v-5ae68d74]{margin-bottom:-6px}.btn-white[data-v-5ae68d74]{background-color:#fff;border:1px solid #f3f4f6}.sidebar[data-v-5ae68d74]{top:90px}",""]);const n=i},41882:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .primary{color:#3b82f6}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:#eff2f5;border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:#000;font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:#000;text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight,.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},78163:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".timeline-onboarding .profile-hover-card-inner{width:100%}.timeline-onboarding .profile-hover-card-inner .d-flex{max-width:100%!important}",""]);const n=i},5480:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:#64748b}.post-comment-drawer-feed .sort-menu .description{color:#94a3b8;font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:#212529;font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:#334155}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:#fff;border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},19661:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:#212529;text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:#94a3b8;margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},85529:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".story-carousel-component .story-wrapper{background:#b24592;background:linear-gradient(90deg,#b24592,#f15f79);border-radius:15px;display:block;height:200px;margin-bottom:1rem;position:relative;width:100%}.story-carousel-component .story-wrapper .username{color:#fff}.story-carousel-component .story-wrapper .avatar{border-radius:6px;margin-bottom:5px}",""]);const n=i},53389:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(38791),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},79999:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(41882),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},26674:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(78163),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},93362:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(5480),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},82084:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(19661),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},17397:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(85529),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},98489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(57394),i=s(94509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(63850);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"5ae68d74",null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(89673);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(56329),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(74413);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},57166:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(88904);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},44898:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(95735),i=s(8993),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(28215);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(91056),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(79981);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(61070),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(3790),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(28527),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(90738);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},66915:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78208),i=s(39707),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(99835);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},55197:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(11986),i=s(89707),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},94509:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23006),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},8993:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(16890),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},39707:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66842),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},89707:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(61672),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63850:(t,e,s)=>{s.r(e);var o=s(53389),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},74413:(t,e,s)=>{s.r(e);var o=s(79999),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28215:(t,e,s)=>{s.r(e);var o=s(26674),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},79981:(t,e,s)=>{s.r(e);var o=s(93362),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},90738:(t,e,s)=>{s.r(e);var o=s(82084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99835:(t,e,s)=>{s.r(e);var o=s(17397),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},57394:(t,e,s)=>{s.r(e);var o=s(54944),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},89673:(t,e,s)=>{s.r(e);var o=s(20454),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},56329:(t,e,s)=>{s.r(e);var o=s(99906),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},88904:(t,e,s)=>{s.r(e);var o=s(23507),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},95735:(t,e,s)=>{s.r(e);var o=s(72311),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},91056:(t,e,s)=>{s.r(e);var o=s(21903),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},61070:(t,e,s)=>{s.r(e);var o=s(72348),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},3790:(t,e,s)=>{s.r(e);var o=s(83712),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28527:(t,e,s)=>{s.r(e);var o=s(785),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},78208:(t,e,s)=>{s.r(e);var o=s(78823),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},11986:(t,e,s)=>{s.r(e);var o=s(2606),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},54944:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"web-wrapper"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-8 col-lg-6 px-0"},[s("story-carousel",{attrs:{profile:t.profile}}),t._v(" "),s("timeline",{key:t.scope,attrs:{profile:t.profile,scope:t.scope},on:{"update-profile":t.updateProfile}})],1),t._v(" "),s("div",{staticClass:"d-none d-lg-block col-lg-3"},[s("rightbar",{staticClass:"sticky-top sidebar"})],1)]),t._v(" "),s("drawer")],1):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[s("b-spinner")],1)])},i=[]},20454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[s("div",{staticClass:"ph-col-12"},[s("div",{staticClass:"ph-row align-items-center"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),s("div",{staticClass:"ph-col-6 big"})]),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"ph-picture"}),t._v(" "),s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12 big"}),t._v(" "),s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])}]},99906:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v(t._s(t.timeago(t.status.created_at)))]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)]),t._v(" "),t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{togglecw:function(e){return t.toggleContentWarning()}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e(),t._v(" "),t.newReactions?s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[t.status.favourites_count&&t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url?s("div",{staticClass:"mb-0"},[t.hideCounts?t._e():s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\t\t\tLiked by "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"/i/web/username/"+t.status.liked_by.username}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.status.favourites_count&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.favourites_count))+"\n\t\t\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.favourites_count?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.status.reply_count&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.reply_count))+"\n\t\t\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.reply_count?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])]):t._e(),t._v(" "),t.newReactions||!t.status.favourites_count&&!t.status.reply_count||t.hideCounts?t._e():s("div",{staticClass:"card-footer d-flex justify-content-between border-bottom py-1",staticStyle:{"z-index":"3"}},[s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count))+" "+t._s(t.$t("common.likes")))]),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm"},[t._v(t._s(t.count(t.status.reblogs_count))+" "+t._s(t.$t("common.shares")))]),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showComments()}}},[t._v(t._s(t.count(t.status.reply_count))+" "+t._s(t.$t("common.comments")))])]),t._v(" "),t.newReactions?t._e():s("div",{staticClass:"card-footer border-0 d-flex justify-content-between py-1",class:{"rounded-bottom":!t.showCommentDrawer},staticStyle:{background:"#F9FAFB","z-index":"3"}},[s("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.liked"))+"\n\t\t\t\t")]):s("span",[s("i",{staticClass:"far fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.like"))+"\n\t\t\t\t")])]),t._v(" "),s("div",[s("b-dropdown",{attrs:{"no-caret":"",dropup:"",variant:"link","toggle-class":"font-weight-bold text-lighter btn-sm py-0"},on:{show:t.toggleMenu,hide:t.closeMenu},scopedSlots:t._u([{key:"button-content",fn:function(){return[t.status.reblogged?s("span",{staticClass:"primary"},[s("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.shared"))+"\n\t\t\t\t\t\t")]):s("span",[s("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.share"))+"\n\t\t\t\t\t\t")])]},proxy:!0}],null,!1,4274722688)},[t._v(" "),t.menuLoading?s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[s("b-spinner",{attrs:{variant:"muted"}})],1):s("div",[t.status.reblogged?s("b-dropdown-item",{on:{click:function(e){return t.unshareStatus()}}},[t._v(t._s(t.$t("common.unshare")))]):s("b-dropdown-item",{on:{click:function(e){return t.shareStatus()}}},[t._v(t._s(t.$t("post.shareToFollowers")))]),t._v(" "),s("b-dropdown-item",{on:{click:function(e){return t.shareToOther()}}},[t._v(t._s(t.$t("post.shareToOther")))]),t._v(" "),s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{on:{click:function(e){return t.copyLink()}}},[t._v(t._s(t.$t("common.copyLink")))])],1)])],1),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-1"}),t._v(" "+t._s(t.$t("common.comment"))+"\n\t\t\t")])]),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},23507:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[s("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),s("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]},72311:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-onboarding"},[s("div",{staticClass:"card card-body shadow-sm mb-3 p-5",staticStyle:{"border-radius":"15px"}},[s("h1",{staticClass:"text-center mb-4"},[t._v("✨ "+t._s(t.$t("timeline.onboarding.welcome")))]),t._v(" "),s("p",{staticClass:"text-center mb-3",staticStyle:{"font-size":"22px"}},[t._v("\n\t\t\t"+t._s(t.$t("timeline.onboarding.thisIsYourHomeFeed"))+"\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center lead"},[t._v(t._s(t.$t("timeline.onboarding.letUsHelpYouFind")))]),t._v(" "),t.newlyFollowed?s("p",{staticClass:"text-center mb-0"},[s("a",{staticClass:"btn btn-primary btn-lg primary font-weight-bold rounded-pill px-4",attrs:{href:"/i/web",onclick:"location.reload()"}},[t._v("\n\t\t\t\t"+t._s(t.$t("timeline.onboarding.refreshFeed"))+"\n\t\t\t")])]):t._e()]),t._v(" "),s("div",{staticClass:"row"},t._l(t.popularAccounts,(function(e,o){return s("div",{staticClass:"col-12 col-md-6 mb-3"},[s("div",{staticClass:"card shadow-sm border-0 rounded-px"},[s("div",{staticClass:"card-body p-2"},[s("profile-card",{key:"pfc"+o,staticClass:"w-100",attrs:{profile:e},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)])])})),0)])},i=[]},21903:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(0,!0)],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t")])])]),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important","padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("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"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},72348:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(1,!0)],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\tDelete\n\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\tReport\n\t\t\t\t\t")])])])])])}))],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},83712:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("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"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},785:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},78823:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"story-carousel-component"},[t.canShow?s("div",{staticClass:"d-flex pb-2",staticStyle:{"overflow-y":"auto","z-index":"3"}},[s("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 text-dark text-decoration-none",staticStyle:{"max-width":"120px"},attrs:{href:"/i/stories/new"}},[s("div",{staticClass:"story-wrapper text-white shadow-sm d-flex flex-column align-items-center justify-content-between mb-3",staticStyle:{width:"100%",height:"200px","border-radius":"15px"}},[s("p",{staticClass:"mb-0"}),t._v(" "),t._m(0),t._v(" "),s("p",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("story.add")))])])]),t._v(" "),t._l(t.stories,(function(e,o){return s("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 story",staticStyle:{"max-width":"120px"},attrs:{href:e.url}},[e.latest&&"photo"==e.latest.type?s("div",{staticClass:"shadow-sm story-wrapper",style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url("+e.latest.preview_url+")",backgroundSize:"cover",backgroundPosition:"center"}},[s("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[s("p",{staticClass:"mt-3 mb-0"},[s("img",{staticClass:"avatar",attrs:{src:e.avatar,width:"30",height:"30",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("p",{staticClass:"mb-0"}),t._v(" "),s("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t")])])]):s("div",{staticClass:"shadow-sm story-wrapper"},[s("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[s("p",{staticClass:"mt-3 mb-0"},[s("img",{staticClass:"avatar",attrs:{src:e.avatar,width:"30",height:"30"}})]),t._v(" "),s("p",{staticClass:"mb-0"}),t._v(" "),s("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t")])])])])}))],2):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fal fa-plus-circle fa-2x"})])}]},2606:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-section-component"},[t.isLoaded?s("div",[t._l(t.feed,(function(e,o){return s("status",{key:"pf_feed:"+e.id+o,attrs:{status:e,profile:t.profile},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport,bookmark:function(e){return t.handleBookmark(o)},"mod-tools":function(e){return t.handleModTools(o)}}})})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e(),t._v(" "),t.endFeedReached?s("div",{staticStyle:{"margin-bottom":"50vh"}},[t._m(0)]):t._e(),t._v(" "),"home"!=t.scope||t.feed.length?t._e():s("timeline-onboarding",{attrs:{profile:t.profile},on:{"update-profile":t.updateProfile}}),t._v(" "),"home"===t.scope||t.feed.length?t._e():s("empty-timeline")],2):s("div",[s("status-placeholder"),t._v(" "),s("status-placeholder"),t._v(" "),s("status-placeholder"),t._v(" "),s("status-placeholder")],1),t._v(" "),t.showMenu?s("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),s("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[s("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),s("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[489],{23006:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(42755),i=s(88231),n=s(78375),a=s(55197),r=(s(73459),s(66915));const l={props:{scope:{type:String,default:"home"}},components:{drawer:o.default,sidebar:i.default,timeline:a.default,rightbar:n.default,"story-carousel":r.default},data:function(){return{isLoaded:!1,profile:void 0,recommended:[],trending:[]}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.profile=window._sharedData.user,this.isLoaded=!0},updateProfile:function(t){this.profile=Object.assign(this.profile,t)}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(80979),i=s(26535),n=s(22583),a=s(30765),r=s.n(a);const l={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"read-more":o.default,"profile-hover-card":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{toggleLightbox:function(t){r()({el:t.target})},timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},count:function(t){return App.util.format.count(t)},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.status.account.id),params:{id:this.status.account.id,cachedProfile:this.status.account,cachedUser:this.profile}})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},videoAltText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},16890:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{profile:{type:Object}},components:{"profile-card":o.default},data:function(){return{popularAccounts:[],newlyFollowed:0}},mounted:function(){this.fetchPopularAccounts()},methods:{fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/follow").then((function(t){e.newlyFollowed++,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count+1})}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/unfollow").then((function(t){e.newlyFollowed--,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count-1})}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},66842:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{profile:{type:Object}},data:function(){return{canShow:!1,stories:[]}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){e.data&&e.data.length&&(t.stories=e.data,t.canShow=!0)}))}}}},61672:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var o=s(45836),i=s(99247),n=s(78423),a=s(8829),r=s(5327),l=s(21917),c=s(57166),d=s(44898);function u(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return p(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);se.id&&(t.max_id=e.id),t.ids.push(e.id),t.feed.push(e),e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]))})),t.isFetchingMore=!1}),100)}))}},likeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1;var i=document.createElement("p");i.classList.add("text-left"),i.classList.add("mb-0"),i.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var n=document.createElement("div");n.appendChild(i),429===s.response.status&&swal({title:"Too many requests",content:n,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},handleModTools:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.openModMenu()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(o){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count+1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1})).catch((function(s){swal("Oops!","An error occured when attempting to follow this account.","error"),e.feed[t].relationship.following=!1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].relationship.following=!0}))},updateProfile:function(t){this.$emit("update-profile",t)}}}},38791:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-5ae68d74]{border-radius:15px}.username[data-v-5ae68d74]{margin-bottom:-6px}.btn-white[data-v-5ae68d74]{background-color:#fff;border:1px solid #f3f4f6}.sidebar[data-v-5ae68d74]{top:90px}",""]);const n=i},41882:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .primary{color:#3b82f6}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:#eff2f5;border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:#000;font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:#000;text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight,.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},78163:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".timeline-onboarding .profile-hover-card-inner{width:100%}.timeline-onboarding .profile-hover-card-inner .d-flex{max-width:100%!important}",""]);const n=i},5480:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:#64748b}.post-comment-drawer-feed .sort-menu .description{color:#94a3b8;font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:#212529;font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:#334155}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:#fff;border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},19661:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:#212529;text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:#94a3b8;margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},85529:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".story-carousel-component .story-wrapper{background:#b24592;background:linear-gradient(90deg,#b24592,#f15f79);border-radius:15px;display:block;height:200px;margin-bottom:1rem;position:relative;width:100%}.story-carousel-component .story-wrapper .username{color:#fff}.story-carousel-component .story-wrapper .avatar{border-radius:6px;margin-bottom:5px}",""]);const n=i},53389:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(38791),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},79999:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(41882),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},26674:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(78163),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},93362:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(5480),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},82084:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(19661),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},17397:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(85529),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},98489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(57394),i=s(94509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(63850);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"5ae68d74",null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(89673);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(58344),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(74413);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},57166:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(88904);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},44898:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(95735),i=s(8993),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(28215);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(91056),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(79981);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(61070),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(3790),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(28527),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(90738);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},66915:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78208),i=s(39707),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(99835);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},55197:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(11986),i=s(89707),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},94509:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23006),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},8993:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(16890),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},39707:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66842),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},89707:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(61672),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63850:(t,e,s)=>{s.r(e);var o=s(53389),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},74413:(t,e,s)=>{s.r(e);var o=s(79999),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28215:(t,e,s)=>{s.r(e);var o=s(26674),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},79981:(t,e,s)=>{s.r(e);var o=s(93362),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},90738:(t,e,s)=>{s.r(e);var o=s(82084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99835:(t,e,s)=>{s.r(e);var o=s(17397),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},57394:(t,e,s)=>{s.r(e);var o=s(54944),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},89673:(t,e,s)=>{s.r(e);var o=s(20454),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},58344:(t,e,s)=>{s.r(e);var o=s(35713),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},88904:(t,e,s)=>{s.r(e);var o=s(23507),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},95735:(t,e,s)=>{s.r(e);var o=s(72311),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},91056:(t,e,s)=>{s.r(e);var o=s(21903),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},61070:(t,e,s)=>{s.r(e);var o=s(72348),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},3790:(t,e,s)=>{s.r(e);var o=s(83712),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28527:(t,e,s)=>{s.r(e);var o=s(785),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},78208:(t,e,s)=>{s.r(e);var o=s(78823),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},11986:(t,e,s)=>{s.r(e);var o=s(2606),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},54944:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"web-wrapper"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3"},[s("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),s("div",{staticClass:"col-md-8 col-lg-6 px-0"},[s("story-carousel",{attrs:{profile:t.profile}}),t._v(" "),s("timeline",{key:t.scope,attrs:{profile:t.profile,scope:t.scope},on:{"update-profile":t.updateProfile}})],1),t._v(" "),s("div",{staticClass:"d-none d-lg-block col-lg-3"},[s("rightbar",{staticClass:"sticky-top sidebar"})],1)]),t._v(" "),s("drawer")],1):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[s("b-spinner")],1)])},i=[]},20454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[s("div",{staticClass:"ph-col-12"},[s("div",{staticClass:"ph-row align-items-center"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),s("div",{staticClass:"ph-col-6 big"})]),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"ph-picture"}),t._v(" "),s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12 big"}),t._v(" "),s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])}]},35713:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v(t._s(t.timeago(t.status.created_at)))]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)]),t._v(" "),t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{togglecw:function(e){return t.toggleContentWarning()}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e(),t._v(" "),t.newReactions?s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[t.status.favourites_count&&t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url?s("div",{staticClass:"mb-0"},[t.hideCounts?t._e():s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\t\t\tLiked by "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"/i/web/username/"+t.status.liked_by.username}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.status.favourites_count&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.favourites_count))+"\n\t\t\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.favourites_count?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.status.reply_count&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.reply_count))+"\n\t\t\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.reply_count?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])]):t._e(),t._v(" "),t.newReactions||!t.status.favourites_count&&!t.status.reply_count||t.hideCounts?t._e():s("div",{staticClass:"card-footer d-flex justify-content-between border-bottom py-1",staticStyle:{"z-index":"3"}},[s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count))+" "+t._s(t.$t("common.likes")))]),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm"},[t._v(t._s(t.count(t.status.reblogs_count))+" "+t._s(t.$t("common.shares")))]),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showComments()}}},[t._v(t._s(t.count(t.status.reply_count))+" "+t._s(t.$t("common.comments")))])]),t._v(" "),t.newReactions?t._e():s("div",{staticClass:"card-footer border-0 d-flex justify-content-between py-1",class:{"rounded-bottom":!t.showCommentDrawer},staticStyle:{background:"#F9FAFB","z-index":"3"}},[s("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.liked"))+"\n\t\t\t\t")]):s("span",[s("i",{staticClass:"far fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.like"))+"\n\t\t\t\t")])]),t._v(" "),s("div",[s("b-dropdown",{attrs:{"no-caret":"",dropup:"",variant:"link","toggle-class":"font-weight-bold text-lighter btn-sm py-0"},on:{show:t.toggleMenu,hide:t.closeMenu},scopedSlots:t._u([{key:"button-content",fn:function(){return[t.status.reblogged?s("span",{staticClass:"primary"},[s("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.shared"))+"\n\t\t\t\t\t\t")]):s("span",[s("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.share"))+"\n\t\t\t\t\t\t")])]},proxy:!0}],null,!1,4274722688)},[t._v(" "),t.menuLoading?s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[s("b-spinner",{attrs:{variant:"muted"}})],1):s("div",[t.status.reblogged?s("b-dropdown-item",{on:{click:function(e){return t.unshareStatus()}}},[t._v(t._s(t.$t("common.unshare")))]):s("b-dropdown-item",{on:{click:function(e){return t.shareStatus()}}},[t._v(t._s(t.$t("post.shareToFollowers")))]),t._v(" "),s("b-dropdown-item",{on:{click:function(e){return t.shareToOther()}}},[t._v(t._s(t.$t("post.shareToOther")))]),t._v(" "),s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{on:{click:function(e){return t.copyLink()}}},[t._v(t._s(t.$t("common.copyLink")))])],1)])],1),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-1"}),t._v(" "+t._s(t.$t("common.comment"))+"\n\t\t\t")])]),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},23507:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[s("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),s("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]},72311:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-onboarding"},[s("div",{staticClass:"card card-body shadow-sm mb-3 p-5",staticStyle:{"border-radius":"15px"}},[s("h1",{staticClass:"text-center mb-4"},[t._v("✨ "+t._s(t.$t("timeline.onboarding.welcome")))]),t._v(" "),s("p",{staticClass:"text-center mb-3",staticStyle:{"font-size":"22px"}},[t._v("\n\t\t\t"+t._s(t.$t("timeline.onboarding.thisIsYourHomeFeed"))+"\n\t\t")]),t._v(" "),s("p",{staticClass:"text-center lead"},[t._v(t._s(t.$t("timeline.onboarding.letUsHelpYouFind")))]),t._v(" "),t.newlyFollowed?s("p",{staticClass:"text-center mb-0"},[s("a",{staticClass:"btn btn-primary btn-lg primary font-weight-bold rounded-pill px-4",attrs:{href:"/i/web",onclick:"location.reload()"}},[t._v("\n\t\t\t\t"+t._s(t.$t("timeline.onboarding.refreshFeed"))+"\n\t\t\t")])]):t._e()]),t._v(" "),s("div",{staticClass:"row"},t._l(t.popularAccounts,(function(e,o){return s("div",{staticClass:"col-12 col-md-6 mb-3"},[s("div",{staticClass:"card shadow-sm border-0 rounded-px"},[s("div",{staticClass:"card-body p-2"},[s("profile-card",{key:"pfc"+o,staticClass:"w-100",attrs:{profile:e},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)])])})),0)])},i=[]},21903:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(0,!0)],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t")])])]),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important","padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("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"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},72348:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(1,!0)],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\tDelete\n\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\tReport\n\t\t\t\t\t")])])])])])}))],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},83712:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("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"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},785:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},78823:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"story-carousel-component"},[t.canShow?s("div",{staticClass:"d-flex pb-2",staticStyle:{"overflow-y":"auto","z-index":"3"}},[s("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 text-dark text-decoration-none",staticStyle:{"max-width":"120px"},attrs:{href:"/i/stories/new"}},[s("div",{staticClass:"story-wrapper text-white shadow-sm d-flex flex-column align-items-center justify-content-between mb-3",staticStyle:{width:"100%",height:"200px","border-radius":"15px"}},[s("p",{staticClass:"mb-0"}),t._v(" "),t._m(0),t._v(" "),s("p",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("story.add")))])])]),t._v(" "),t._l(t.stories,(function(e,o){return s("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 story",staticStyle:{"max-width":"120px"},attrs:{href:e.url}},[e.latest&&"photo"==e.latest.type?s("div",{staticClass:"shadow-sm story-wrapper",style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url("+e.latest.preview_url+")",backgroundSize:"cover",backgroundPosition:"center"}},[s("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[s("p",{staticClass:"mt-3 mb-0"},[s("img",{staticClass:"avatar",attrs:{src:e.avatar,width:"30",height:"30",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("p",{staticClass:"mb-0"}),t._v(" "),s("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t")])])]):s("div",{staticClass:"shadow-sm story-wrapper"},[s("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[s("p",{staticClass:"mt-3 mb-0"},[s("img",{staticClass:"avatar",attrs:{src:e.avatar,width:"30",height:"30"}})]),t._v(" "),s("p",{staticClass:"mb-0"}),t._v(" "),s("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(e.username)+"\n\t\t\t\t\t")])])])])}))],2):t._e()])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fal fa-plus-circle fa-2x"})])}]},2606:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-section-component"},[t.isLoaded?s("div",[t._l(t.feed,(function(e,o){return s("status",{key:"pf_feed:"+e.id+o,attrs:{status:e,profile:t.profile},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport,bookmark:function(e){return t.handleBookmark(o)},"mod-tools":function(e){return t.handleModTools(o)}}})})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e(),t._v(" "),t.endFeedReached?s("div",{staticStyle:{"margin-bottom":"50vh"}},[t._m(0)]):t._e(),t._v(" "),"home"!=t.scope||t.feed.length?t._e():s("timeline-onboarding",{attrs:{profile:t.profile},on:{"update-profile":t.updateProfile}}),t._v(" "),"home"===t.scope||t.feed.length?t._e():s("empty-timeline")],2):s("div",[s("status-placeholder"),t._v(" "),s("status-placeholder"),t._v(" "),s("status-placeholder"),t._v(" "),s("status-placeholder")],1),t._v(" "),t.showMenu?s("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),s("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[s("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),s("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]}}]); \ No newline at end of file diff --git a/public/js/post-chunk.js b/public/js/post-chunk.js index ae8c5748d..02e7dbafa 100644 --- a/public/js/post-chunk.js +++ b/public/js/post-chunk.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[214],{9873:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var o=s(42755),i=s(78375),n=s(88231),a=s(99247),r=s(8829),c=s(32180),l=s(5327),d=s(21917);const u={props:{cachedStatus:{type:Object},cachedProfile:{type:Object}},components:{drawer:o.default,sidebar:n.default,status:a.default,"context-menu":r.default,"media-container":c.default,"likes-modal":l.default,rightbar:i.default,"report-modal":d.default},data:function(){return{isLoaded:!1,user:void 0,profile:void 0,post:void 0,relationship:{},media:void 0,mediaIndex:0,showLikesModal:!1,isReply:!1,reply:{}}},beforeMount:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.cachedStatus&&this.cachedProfile?(this.post=this.cachedStatus,this.media=this.post.media_attachments,this.profile=this.post.account,this.user=this.cachedProfile,this.post.in_reply_to_id?this.fetchReply():(this.isReply=!1,this.fetchRelationship())):this.fetchSelf()},fetchSelf:function(){this.user=window._sharedData.user,this.fetchPost()},fetchPost:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.$route.params.id).then((function(e){e.data&&e.data.hasOwnProperty("id")||t.$router.push("/i/web/404"),t.post=e.data,t.media=t.post.media_attachments,t.profile=t.post.account,t.post.in_reply_to_id?t.fetchReply():t.fetchRelationship()})).catch((function(e){switch(e.response.status){case 403:case 404:t.$router.push("/i/web/404")}}))},fetchReply:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.post.in_reply_to_id).then((function(e){t.reply=e.data,t.isReply=!0,t.fetchRelationship()})).catch((function(e){t.fetchRelationship()}))},fetchRelationship:function(){var t=this;if(this.profile.id==this.user.id)return this.relationship={},void this.fetchState();axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.fetchState()}))},fetchState:function(){var t=this;axios.get("/api/v2/statuses/"+this.post.id+"/state").then((function(e){t.post.favourited=e.data.liked,t.post.reblogged=e.data.shared,t.post.bookmarked=e.data.bookmarked,!t.post.favourites_count&&t.post.favourited&&(t.post.favourites_count=1),t.isLoaded=!0})).catch((function(e){t.isLoaded=!1}))},goBack:function(){this.$router.push("/i/web")},likeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e+1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/favourite").then((function(t){})).catch((function(s){t.post.favourites_count=e,t.post.favourited=!1}))},unlikeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e-1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/unfavourite").then((function(t){})).catch((function(s){t.post.favourites_count=e,t.post.favourited=!1}))},shareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e+1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/reblog").then((function(t){})).catch((function(s){t.post.reblogs_count=e,t.post.reblogged=!1}))},unshareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e-1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/unreblog").then((function(t){})).catch((function(s){t.post.reblogs_count=e,t.post.reblogged=!1}))},openContextMenu:function(){var t=this;this.$nextTick((function(){t.$refs.contextMenu.open()}))},openLikesModal:function(){var t=this;this.showLikesModal=!0,this.$nextTick((function(){t.$refs.likesModal.open()}))},deletePost:function(){this.$router.push("/i/web")},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.user}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.user}})},handleBookmark:function(){var t=this;axios.post("/i/bookmark",{item:this.post.id}).then((function(e){t.post.bookmarked=!t.post.bookmarked})).catch((function(e){t.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},handleReport:function(){var t=this;this.$nextTick((function(){t.$refs.reportModal.open()}))}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var o=s(80979),i=s(26535),n=s(22583),a=s(30765),r=s.n(a);const c={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"read-more":o.default,"profile-hover-card":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{toggleLightbox:function(t){r()({el:t.target})},timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},count:function(t){return App.util.format.count(t)},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.url},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.status.account.id),params:{id:this.status.account.id,cachedProfile:this.status.account,cachedUser:this.profile}})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},videoAltText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const c={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{post:{type:Object},profile:{type:Object},user:{type:Object},media:{type:Array},showArrows:{type:Boolean,default:!0}},data:function(){return{loading:!1,shortcuts:void 0,sensitive:!1,mediaIndex:0}},mounted:function(){this.initShortcuts()},beforeDestroy:function(){document.removeEventListener("keyup",this.shortcuts)},methods:{navPrev:function(){var t=this;if(0==this.mediaIndex)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,max_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=t.media.length-1,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var s=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,s)})).catch((function(e){t.mediaIndex=t.media.length-1,t.loading=!1}));this.mediaIndex--},navNext:function(){var t=this;if(this.mediaIndex==this.media.length-1)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,min_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=0,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var s=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,s)})).catch((function(e){t.mediaIndex=0,t.loading=!1}));this.mediaIndex++},initShortcuts:function(){var t=this;this.shortcuts=document.addEventListener("keyup",(function(e){"ArrowLeft"===e.key&&t.navPrev(),"ArrowRight"===e.key&&t.navNext()}))}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},41882:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .primary{color:#3b82f6}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:#eff2f5;border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:#000;font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:#000;text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight,.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},5480:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:#64748b}.post-comment-drawer-feed .sort-menu .description{color:#94a3b8;font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:#212529;font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:#334155}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:#fff;border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},31938:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".feed-media-container .blurhash-wrapper img{background-color:#000;border-radius:15px;max-height:400px;-o-object-fit:contain;object-fit:contain}.feed-media-container .blurhash-wrapper canvas{border-radius:15px;max-height:400px}.feed-media-container .content-label-wrapper{position:relative}.feed-media-container .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:15px;display:flex;flex-direction:column;height:400px;justify-content:center;left:0;margin:0;position:absolute;top:0;width:100%;z-index:2}",""]);const n=i},19661:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:#212529;text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:#94a3b8;margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},79999:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(41882),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},93362:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(5480),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},91918:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(31938),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},82084:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(19661),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},12118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(65421),i=s(29033),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(56329),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(74413);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(91056),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(79981);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(61070),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(3790),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},32180:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(95570),i=s(81993),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(77335);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(28527),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(90738);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},29033:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(9873),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81993:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(143),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},74413:(t,e,s)=>{s.r(e);var o=s(79999),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},79981:(t,e,s)=>{s.r(e);var o=s(93362),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},77335:(t,e,s)=>{s.r(e);var o=s(91918),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},90738:(t,e,s)=>{s.r(e);var o=s(82084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},65421:(t,e,s)=>{s.r(e);var o=s(63518),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},56329:(t,e,s)=>{s.r(e);var o=s(99906),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},91056:(t,e,s)=>{s.r(e);var o=s(21903),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},61070:(t,e,s)=>{s.r(e);var o=s(72348),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},3790:(t,e,s)=>{s.r(e);var o=s(83712),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},95570:(t,e,s)=>{s.r(e);var o=s(59183),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28527:(t,e,s)=>{s.r(e);var o=s(785),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},63518:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-timeline-component web-wrapper"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[s("sidebar",{attrs:{user:t.user}})],1),t._v(" "),s("div",{staticClass:"col-md-8 col-lg-6"},[t.isReply?s("div",{staticClass:"p-3 rounded-top mb-n3",staticStyle:{"background-color":"rgb(249, 250, 251)"}},[s("p",[s("i",{staticClass:"fal fa-reply mr-1"}),t._v(" In reply to\n\t\t\t\t\t\t"),t._v(" "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/i/web/profile/"+t.reply.account.id},on:{click:function(e){return e.preventDefault(),t.goToProfile(t.reply.account)}}},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.reply.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("button",{staticClass:"btn btn-primary font-weight-bold btn-sm px-3 float-right rounded-pill",on:{click:function(e){return e.preventDefault(),t.goToPost(t.reply)}}},[t._v("\n\t\t\t\t\t\t\tView Post\n\t\t\t\t\t\t")])])]):t._e(),t._v(" "),s("status",{key:t.post.id,attrs:{status:t.post,profile:t.user},on:{menu:function(e){return t.openContextMenu()},like:function(e){return t.likeStatus()},unlike:function(e){return t.unlikeStatus()},"likes-modal":function(e){return t.openLikesModal()},bookmark:function(e){return t.handleBookmark()},share:function(e){return t.shareStatus()},unshare:function(e){return t.unshareStatus()}}})],1),t._v(" "),s("div",{staticClass:"d-none d-lg-block col-lg-3"},[s("rightbar")],1)])]):t._e(),t._v(" "),t.isLoaded?s("context-menu",{ref:"contextMenu",attrs:{status:t.post,profile:t.user},on:{"report-modal":function(e){return t.handleReport()}}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.post,profile:t.user}}):t._e(),t._v(" "),t.post?s("report-modal",{ref:"reportModal",attrs:{status:t.post}}):t._e(),t._v(" "),s("drawer")],1)},i=[]},99906:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v(t._s(t.timeago(t.status.created_at)))]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)]),t._v(" "),t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{togglecw:function(e){return t.toggleContentWarning()}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e(),t._v(" "),t.newReactions?s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[t.status.favourites_count&&t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url?s("div",{staticClass:"mb-0"},[t.hideCounts?t._e():s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\t\t\tLiked by "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"/i/web/username/"+t.status.liked_by.username}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.status.favourites_count&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.favourites_count))+"\n\t\t\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.favourites_count?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.status.reply_count&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.reply_count))+"\n\t\t\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.reply_count?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])]):t._e(),t._v(" "),t.newReactions||!t.status.favourites_count&&!t.status.reply_count||t.hideCounts?t._e():s("div",{staticClass:"card-footer d-flex justify-content-between border-bottom py-1",staticStyle:{"z-index":"3"}},[s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count))+" "+t._s(t.$t("common.likes")))]),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm"},[t._v(t._s(t.count(t.status.reblogs_count))+" "+t._s(t.$t("common.shares")))]),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showComments()}}},[t._v(t._s(t.count(t.status.reply_count))+" "+t._s(t.$t("common.comments")))])]),t._v(" "),t.newReactions?t._e():s("div",{staticClass:"card-footer border-0 d-flex justify-content-between py-1",class:{"rounded-bottom":!t.showCommentDrawer},staticStyle:{background:"#F9FAFB","z-index":"3"}},[s("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.liked"))+"\n\t\t\t\t")]):s("span",[s("i",{staticClass:"far fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.like"))+"\n\t\t\t\t")])]),t._v(" "),s("div",[s("b-dropdown",{attrs:{"no-caret":"",dropup:"",variant:"link","toggle-class":"font-weight-bold text-lighter btn-sm py-0"},on:{show:t.toggleMenu,hide:t.closeMenu},scopedSlots:t._u([{key:"button-content",fn:function(){return[t.status.reblogged?s("span",{staticClass:"primary"},[s("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.shared"))+"\n\t\t\t\t\t\t")]):s("span",[s("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.share"))+"\n\t\t\t\t\t\t")])]},proxy:!0}],null,!1,4274722688)},[t._v(" "),t.menuLoading?s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[s("b-spinner",{attrs:{variant:"muted"}})],1):s("div",[t.status.reblogged?s("b-dropdown-item",{on:{click:function(e){return t.unshareStatus()}}},[t._v(t._s(t.$t("common.unshare")))]):s("b-dropdown-item",{on:{click:function(e){return t.shareStatus()}}},[t._v(t._s(t.$t("post.shareToFollowers")))]),t._v(" "),s("b-dropdown-item",{on:{click:function(e){return t.shareToOther()}}},[t._v(t._s(t.$t("post.shareToOther")))]),t._v(" "),s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{on:{click:function(e){return t.copyLink()}}},[t._v(t._s(t.$t("common.copyLink")))])],1)])],1),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-1"}),t._v(" "+t._s(t.$t("common.comment"))+"\n\t\t\t")])]),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},21903:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(0,!0)],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t")])])]),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important","padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("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"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},72348:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(1,!0)],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\tDelete\n\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\tReport\n\t\t\t\t\t")])])])])])}))],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},83712:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("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"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},59183:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"feed-media-container bg-black"},[s("div",{staticClass:"text-muted",staticStyle:{"max-height":"400px"}},[s("div",["photo"===t.post.pf_type?s("div",[1==t.post.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.post.spoiler_text?t.post.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper"},[s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash,src:t.post.media_attachments[0].url}}),t._v(" "),!t.post.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.post.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):t._e()])])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},785:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[214],{9873:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var o=s(42755),i=s(78375),n=s(88231),a=s(99247),r=s(8829),c=s(32180),l=s(5327),d=s(21917);const u={props:{cachedStatus:{type:Object},cachedProfile:{type:Object}},components:{drawer:o.default,sidebar:n.default,status:a.default,"context-menu":r.default,"media-container":c.default,"likes-modal":l.default,rightbar:i.default,"report-modal":d.default},data:function(){return{isLoaded:!1,user:void 0,profile:void 0,post:void 0,relationship:{},media:void 0,mediaIndex:0,showLikesModal:!1,isReply:!1,reply:{}}},beforeMount:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.cachedStatus&&this.cachedProfile?(this.post=this.cachedStatus,this.media=this.post.media_attachments,this.profile=this.post.account,this.user=this.cachedProfile,this.post.in_reply_to_id?this.fetchReply():(this.isReply=!1,this.fetchRelationship())):this.fetchSelf()},fetchSelf:function(){this.user=window._sharedData.user,this.fetchPost()},fetchPost:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.$route.params.id).then((function(e){e.data&&e.data.hasOwnProperty("id")||t.$router.push("/i/web/404"),t.post=e.data,t.media=t.post.media_attachments,t.profile=t.post.account,t.post.in_reply_to_id?t.fetchReply():t.fetchRelationship()})).catch((function(e){switch(e.response.status){case 403:case 404:t.$router.push("/i/web/404")}}))},fetchReply:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.post.in_reply_to_id).then((function(e){t.reply=e.data,t.isReply=!0,t.fetchRelationship()})).catch((function(e){t.fetchRelationship()}))},fetchRelationship:function(){var t=this;if(this.profile.id==this.user.id)return this.relationship={},void this.fetchState();axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.fetchState()}))},fetchState:function(){var t=this;axios.get("/api/v2/statuses/"+this.post.id+"/state").then((function(e){t.post.favourited=e.data.liked,t.post.reblogged=e.data.shared,t.post.bookmarked=e.data.bookmarked,!t.post.favourites_count&&t.post.favourited&&(t.post.favourites_count=1),t.isLoaded=!0})).catch((function(e){t.isLoaded=!1}))},goBack:function(){this.$router.push("/i/web")},likeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e+1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/favourite").then((function(t){})).catch((function(s){t.post.favourites_count=e,t.post.favourited=!1}))},unlikeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e-1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/unfavourite").then((function(t){})).catch((function(s){t.post.favourites_count=e,t.post.favourited=!1}))},shareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e+1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/reblog").then((function(t){})).catch((function(s){t.post.reblogs_count=e,t.post.reblogged=!1}))},unshareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e-1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/unreblog").then((function(t){})).catch((function(s){t.post.reblogs_count=e,t.post.reblogged=!1}))},openContextMenu:function(){var t=this;this.$nextTick((function(){t.$refs.contextMenu.open()}))},openLikesModal:function(){var t=this;this.showLikesModal=!0,this.$nextTick((function(){t.$refs.likesModal.open()}))},deletePost:function(){this.$router.push("/i/web")},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.user}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.user}})},handleBookmark:function(){var t=this;axios.post("/i/bookmark",{item:this.post.id}).then((function(e){t.post.bookmarked=!t.post.bookmarked})).catch((function(e){t.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},handleReport:function(){var t=this;this.$nextTick((function(){t.$refs.reportModal.open()}))}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var o=s(80979),i=s(26535),n=s(22583),a=s(30765),r=s.n(a);const c={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"read-more":o.default,"profile-hover-card":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{toggleLightbox:function(t){r()({el:t.target})},timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},count:function(t){return App.util.format.count(t)},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.status.account.id),params:{id:this.status.account.id,cachedProfile:this.status.account,cachedUser:this.profile}})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},videoAltText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const c={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{post:{type:Object},profile:{type:Object},user:{type:Object},media:{type:Array},showArrows:{type:Boolean,default:!0}},data:function(){return{loading:!1,shortcuts:void 0,sensitive:!1,mediaIndex:0}},mounted:function(){this.initShortcuts()},beforeDestroy:function(){document.removeEventListener("keyup",this.shortcuts)},methods:{navPrev:function(){var t=this;if(0==this.mediaIndex)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,max_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=t.media.length-1,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var s=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,s)})).catch((function(e){t.mediaIndex=t.media.length-1,t.loading=!1}));this.mediaIndex--},navNext:function(){var t=this;if(this.mediaIndex==this.media.length-1)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,min_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=0,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var s=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,s)})).catch((function(e){t.mediaIndex=0,t.loading=!1}));this.mediaIndex++},initShortcuts:function(){var t=this;this.shortcuts=document.addEventListener("keyup",(function(e){"ArrowLeft"===e.key&&t.navPrev(),"ArrowRight"===e.key&&t.navNext()}))}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},41882:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .primary{color:#3b82f6}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:#eff2f5;border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:#000;font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:#000;text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight,.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},5480:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:#64748b}.post-comment-drawer-feed .sort-menu .description{color:#94a3b8;font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:#212529;font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:#334155}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:#fff;border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},31938:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".feed-media-container .blurhash-wrapper img{background-color:#000;border-radius:15px;max-height:400px;-o-object-fit:contain;object-fit:contain}.feed-media-container .blurhash-wrapper canvas{border-radius:15px;max-height:400px}.feed-media-container .content-label-wrapper{position:relative}.feed-media-container .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:15px;display:flex;flex-direction:column;height:400px;justify-content:center;left:0;margin:0;position:absolute;top:0;width:100%;z-index:2}",""]);const n=i},19661:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:#212529;text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:#94a3b8;margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},79999:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(41882),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},93362:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(5480),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},91918:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(31938),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},82084:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(19661),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},12118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(65421),i=s(29033),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(58344),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(74413);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(91056),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(79981);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(61070),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(3790),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},32180:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(95570),i=s(81993),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(77335);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(28527),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(90738);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},29033:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(9873),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81993:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(143),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},74413:(t,e,s)=>{s.r(e);var o=s(79999),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},79981:(t,e,s)=>{s.r(e);var o=s(93362),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},77335:(t,e,s)=>{s.r(e);var o=s(91918),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},90738:(t,e,s)=>{s.r(e);var o=s(82084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},65421:(t,e,s)=>{s.r(e);var o=s(63518),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},58344:(t,e,s)=>{s.r(e);var o=s(35713),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},91056:(t,e,s)=>{s.r(e);var o=s(21903),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},61070:(t,e,s)=>{s.r(e);var o=s(72348),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},3790:(t,e,s)=>{s.r(e);var o=s(83712),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},95570:(t,e,s)=>{s.r(e);var o=s(59183),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28527:(t,e,s)=>{s.r(e);var o=s(785),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},63518:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-timeline-component web-wrapper"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[s("sidebar",{attrs:{user:t.user}})],1),t._v(" "),s("div",{staticClass:"col-md-8 col-lg-6"},[t.isReply?s("div",{staticClass:"p-3 rounded-top mb-n3",staticStyle:{"background-color":"rgb(249, 250, 251)"}},[s("p",[s("i",{staticClass:"fal fa-reply mr-1"}),t._v(" In reply to\n\t\t\t\t\t\t"),t._v(" "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/i/web/profile/"+t.reply.account.id},on:{click:function(e){return e.preventDefault(),t.goToProfile(t.reply.account)}}},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.reply.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("button",{staticClass:"btn btn-primary font-weight-bold btn-sm px-3 float-right rounded-pill",on:{click:function(e){return e.preventDefault(),t.goToPost(t.reply)}}},[t._v("\n\t\t\t\t\t\t\tView Post\n\t\t\t\t\t\t")])])]):t._e(),t._v(" "),s("status",{key:t.post.id,attrs:{status:t.post,profile:t.user},on:{menu:function(e){return t.openContextMenu()},like:function(e){return t.likeStatus()},unlike:function(e){return t.unlikeStatus()},"likes-modal":function(e){return t.openLikesModal()},bookmark:function(e){return t.handleBookmark()},share:function(e){return t.shareStatus()},unshare:function(e){return t.unshareStatus()}}})],1),t._v(" "),s("div",{staticClass:"d-none d-lg-block col-lg-3"},[s("rightbar")],1)])]):t._e(),t._v(" "),t.isLoaded?s("context-menu",{ref:"contextMenu",attrs:{status:t.post,profile:t.user},on:{"report-modal":function(e){return t.handleReport()}}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.post,profile:t.user}}):t._e(),t._v(" "),t.post?s("report-modal",{ref:"reportModal",attrs:{status:t.post}}):t._e(),t._v(" "),s("drawer")],1)},i=[]},35713:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v(t._s(t.timeago(t.status.created_at)))]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)]),t._v(" "),t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{togglecw:function(e){return t.toggleContentWarning()}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e(),t._v(" "),t.newReactions?s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[t.status.favourites_count&&t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url?s("div",{staticClass:"mb-0"},[t.hideCounts?t._e():s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\t\t\tLiked by "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"/i/web/username/"+t.status.liked_by.username}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.status.favourites_count&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.favourites_count))+"\n\t\t\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.favourites_count?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.status.reply_count&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.reply_count))+"\n\t\t\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.reply_count?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])]):t._e(),t._v(" "),t.newReactions||!t.status.favourites_count&&!t.status.reply_count||t.hideCounts?t._e():s("div",{staticClass:"card-footer d-flex justify-content-between border-bottom py-1",staticStyle:{"z-index":"3"}},[s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count))+" "+t._s(t.$t("common.likes")))]),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm"},[t._v(t._s(t.count(t.status.reblogs_count))+" "+t._s(t.$t("common.shares")))]),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showComments()}}},[t._v(t._s(t.count(t.status.reply_count))+" "+t._s(t.$t("common.comments")))])]),t._v(" "),t.newReactions?t._e():s("div",{staticClass:"card-footer border-0 d-flex justify-content-between py-1",class:{"rounded-bottom":!t.showCommentDrawer},staticStyle:{background:"#F9FAFB","z-index":"3"}},[s("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.liked"))+"\n\t\t\t\t")]):s("span",[s("i",{staticClass:"far fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.like"))+"\n\t\t\t\t")])]),t._v(" "),s("div",[s("b-dropdown",{attrs:{"no-caret":"",dropup:"",variant:"link","toggle-class":"font-weight-bold text-lighter btn-sm py-0"},on:{show:t.toggleMenu,hide:t.closeMenu},scopedSlots:t._u([{key:"button-content",fn:function(){return[t.status.reblogged?s("span",{staticClass:"primary"},[s("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.shared"))+"\n\t\t\t\t\t\t")]):s("span",[s("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.share"))+"\n\t\t\t\t\t\t")])]},proxy:!0}],null,!1,4274722688)},[t._v(" "),t.menuLoading?s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[s("b-spinner",{attrs:{variant:"muted"}})],1):s("div",[t.status.reblogged?s("b-dropdown-item",{on:{click:function(e){return t.unshareStatus()}}},[t._v(t._s(t.$t("common.unshare")))]):s("b-dropdown-item",{on:{click:function(e){return t.shareStatus()}}},[t._v(t._s(t.$t("post.shareToFollowers")))]),t._v(" "),s("b-dropdown-item",{on:{click:function(e){return t.shareToOther()}}},[t._v(t._s(t.$t("post.shareToOther")))]),t._v(" "),s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{on:{click:function(e){return t.copyLink()}}},[t._v(t._s(t.$t("common.copyLink")))])],1)])],1),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-1"}),t._v(" "+t._s(t.$t("common.comment"))+"\n\t\t\t")])]),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},21903:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(0,!0)],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t")])])]),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important","padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("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"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},72348:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(1,!0)],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\tDelete\n\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\tReport\n\t\t\t\t\t")])])])])])}))],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},83712:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("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"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},59183:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"feed-media-container bg-black"},[s("div",{staticClass:"text-muted",staticStyle:{"max-height":"400px"}},[s("div",["photo"===t.post.pf_type?s("div",[1==t.post.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.post.spoiler_text?t.post.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper"},[s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash,src:t.post.media_attachments[0].url}}),t._v(" "),!t.post.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.post.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):t._e()])])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},785:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]}}]); \ No newline at end of file diff --git a/public/js/profile-chunk.js b/public/js/profile-chunk.js index e19ab0684..2106b88e1 100644 --- a/public/js/profile-chunk.js +++ b/public/js/profile-chunk.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[177],{53411:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(42755),i=s(89965),n=s(85748),a=s(32303),r=s(24721);const l={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{drawer:o.default,"profile-feed":i.default,"profile-sidebar":n.default,"profile-followers":a.default,"profile-following":r.default},data:function(){return{isLoaded:!1,curUser:void 0,tab:"index",profile:void 0,relationship:void 0}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.tab="index",this.isLoaded=!1,this.relationship=void 0,this.owner=!1,this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchRelationship()):(this.curUser=window._sharedData.user,this.fetchProfile())},getTabComponentName:function(){return"index"===this.tab?"profile-feed":"profile-".concat(this.tab)},fetchProfile:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/"+e).then((function(e){t.profile=e.data,e.data.id==t.curUser.id?(t.owner=!0,t.fetchRelationship()):(t.owner=!1,t.fetchRelationship())}))},fetchRelationship:function(){var t=this;if(this.owner)return this.relationship={},void(this.isLoaded=!0);axios.get("/api/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.isLoaded=!0}))},toggleTab:function(t){this.tab=t},goBack:function(){this.$router.push("/i/web")},unfollow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/unfollow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship.following=!1})).catch((function(e){swal("Oops!","An error occured when attempting to unfollow this account.","error"),t.relationship.following=!0}))},follow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/follow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship.following=!0})).catch((function(e){swal("Oops!","An error occured when attempting to follow this account.","error"),t.relationship.following=!1}))}}}},55336:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(43985);const i={props:{hash:{type:String,required:!0},width:{type:[Number,String],default:32},height:{type:[Number,String],default:32},punch:{type:Number,default:1}},mounted:function(){this.draw()},updated:function(){console.log("updated")},beforeDestroy:function(){console.log("beforeDestroy")},methods:{parseNumber:function(t){return"number"==typeof t?t:parseInt(t,10)},draw:function(){var t=this.parseNumber(this.width),e=this.parseNumber(this.height),s=this.parseNumber(this.punch),i=(0,o.decode)(this.hash,t,e,s),n=this.$refs.canvas.getContext("2d"),a=n.createImageData(t,e);a.data.set(i),n.putImageData(a,0,0)}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(80979),i=s(26535),n=s(22583),a=s(30765),r=s.n(a);const l={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"read-more":o.default,"profile-hover-card":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{toggleLightbox:function(t){r()({el:t.target})},timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},count:function(t){return App.util.format.count(t)},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.url},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.status.account.id),params:{id:this.status.account.id,cachedProfile:this.status.account,cachedUser:this.profile}})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},videoAltText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},92762:(t,e,s)=>{s.r(e),s.d(e,{default:()=>p});var o=s(78423),i=s(99247),n=s(45836),a=s(90086),r=s(8829),l=s(5327),c=s(21917);function d(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return u(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s0})),o=s.map((function(t){return t.id}));t.ids=o,t.max_id=Math.min.apply(Math,d(o)),s.forEach((function(e){t.feed.push(e)})),t.canLoadMore=9===t.feed.length,t.feedLoaded=!0}))},enterIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:9,only_media:!0,max_id:this.max_id}}).then((function(e){e.data&&e.data.length||(t.canLoadMore=!1);e.data.filter((function(t){return t.media_attachments.length>0})).filter((function(e){return-1==t.ids.indexOf(e.id)})).forEach((function(e){e.id{s.r(e),s.d(e,{default:()=>u});var o=s(78423),i=s(48510),n=s(22583),a=s(20629);function r(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),o=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):t}))}return s},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}}},68365:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var o=s(78423),i=s(48510),n=s(22583),a=s(20629);function r(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),o=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):t}))}return s},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},38544:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(20629);function i(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function n(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const a={props:{profile:{type:Object},relationship:{type:Object,default:function(){return{following:!1,followed_by:!1}}},user:{type:Object}},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},formatCount:function(t){return App.util.format.count(t)},goBack:function(){this.$emit("back")},showFullBio:function(){this.$refs.fullBio.show()},toggleTab:function(t){event.currentTarget.blur(),this.$emit("toggletab",t)},getJoinedDate:function(){var t=new Date(this.profile.created_at),e=new Intl.DateTimeFormat("en-US",{month:"long"}).format(t),s=t.getFullYear();return"".concat(e," ").concat(s)},follow:function(){event.currentTarget.blur(),this.$emit("follow")},unfollow:function(){event.currentTarget.blur(),this.$emit("unfollow")},getBio:function(){if(this.profile&&this.profile.note_text&&this.profile.note_text.length)return window.pftxt.autoLink(this.profile.note_text,{usernameUrlBase:"/i/web/profile/@",hashtagUrlBase:"/i/web/hashtag/"})},getAvatar:function(){return this.profile.id==this.user.id?window._sharedData.user.avatar:this.profile.avatar},copyTextToClipboard:function(t){App.util.clipboard(t)},goToOldProfile:function(){this.profile.local?location.href=this.profile.url:location.href="/i/web/profile/_/"+this.profile.id},handleMute:function(){var t=this,e=this.relationship.muting?"unmuted":"muted",s=1==this.relationship.muting?"/i/unmute":"/i/mute";axios.post(s,{type:"user",item:this.profile.id}).then((function(s){t.relationship.muting=!t.relationship.muting,swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},handleBlock:function(){var t=this,e=this.relationship.blocking?"unblock":"block",s=1==this.relationship.blocking?"/i/unblock":"/i/block";axios.post(s,{type:"user",item:this.profile.id}).then((function(s){t.relationship.blocking=!t.relationship.blocking,swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}}}},24304:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-timeline-component[data-v-c95215d8]{margin-bottom:10rem}",""]);const n=i},41882:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .primary{color:#3b82f6}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:#eff2f5;border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:#000;font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:#000;text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight,.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},5480:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:#64748b}.post-comment-drawer-feed .sort-menu .description{color:#94a3b8;font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:#212529;font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:#334155}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:#fff;border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},31946:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-feed-component{margin-top:0}.profile-feed-component .ph-wrapper{padding:.25rem}.profile-feed-component .ph-wrapper .ph-item{background-color:transparent;border:none;margin:0;padding:0}.profile-feed-component .ph-wrapper .ph-item .ph-picture{border-radius:5px;height:auto;padding-bottom:100%}.profile-feed-component .ph-wrapper .ph-item>*{margin-bottom:0}.profile-feed-component .info-overlay-text-field{font-size:13.5px;margin-bottom:2px}@media(min-width:768px){.profile-feed-component .info-overlay-text-field{font-size:20px;margin-bottom:15px}}",""]);const n=i},99280:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-followers-component .list-group-item{border:none}.profile-followers-component .list-group-item:not(:last-child){border-bottom:1px solid rgba(0,0,0,.125)}",""]);const n=i},60618:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-following-component .list-group-item{border:none}.profile-following-component .list-group-item:not(:last-child){border-bottom:1px solid rgba(0,0,0,.125)}",""]);const n=i},19661:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:#212529;text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:#94a3b8;margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},74628:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.profile-sidebar-component{margin-bottom:1rem}.profile-sidebar-component .avatar{border-radius:15px;margin-bottom:1rem;width:140px}.profile-sidebar-component .display-name{font-size:20px;font-size:15px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-sidebar-component .display-name,.profile-sidebar-component .username{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.profile-sidebar-component .username{color:#3b82f6;font-size:14px;font-weight:600}.profile-sidebar-component .username.remote{font-size:11px}.profile-sidebar-component .stats{margin-bottom:1rem}.profile-sidebar-component .stats .stat-item{flex:0 0 33%;margin:0;max-width:33%;padding:0;text-align:center;text-decoration:none}.profile-sidebar-component .stats .stat-item strong{color:#000;display:block;font-size:18px;line-height:.9}.profile-sidebar-component .stats .stat-item span{color:#b8c2cc;display:block;font-size:12px}@media(min-width:768px){.profile-sidebar-component .follow-btn{margin-bottom:2rem}}.profile-sidebar-component .follow-btn.btn-primary{background-color:#3b82f6}.profile-sidebar-component .follow-btn.btn-light{border-color:#e5e7eb}.profile-sidebar-component .unfollow-btn{background-color:rgba(59,130,246,.7)}@media(min-width:768px){.profile-sidebar-component .unfollow-btn{margin-bottom:2rem}}.profile-sidebar-component .bio-wrapper{margin-bottom:1rem}.profile-sidebar-component .bio-wrapper .bio-body{display:block;font-size:12px!important;position:relative;white-space:pre-wrap}.profile-sidebar-component .bio-wrapper .bio-body .username{font-size:12px!important}.profile-sidebar-component .bio-wrapper .bio-body.long{max-height:80px;overflow:hidden}.profile-sidebar-component .bio-wrapper .bio-body.long:after{background:linear-gradient(180deg,transparent,hsla(0,0%,100%,.9) 60%,#fff 90%);content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:2}.profile-sidebar-component .bio-wrapper .bio-body p{margin-bottom:0!important}.profile-sidebar-component .bio-wrapper .bio-more{position:relative;z-index:3}.profile-sidebar-component .admin-label{background:#fee2e2;border:1px solid #fca5a5;border-radius:8px;color:#b91c1c;display:inline-block;font-size:12px;font-weight:600;padding:1px 5px;text-transform:capitalize}.profile-sidebar-component .sidebar-sitelinks{justify-content:space-between;margin-top:1rem;padding:0}.profile-sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.profile-sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.profile-sidebar-component .sidebar-attribution{color:#b8c2cc!important;font-size:12px;margin-top:.5rem}.profile-sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.profile-sidebar-component .user-card{align-items:center}.profile-sidebar-component .user-card .avatar{border:1px solid #e5e7eb;border-radius:15px;height:80px;margin-right:.8rem;width:80px}@media(min-width:390px){.profile-sidebar-component .user-card .avatar{height:100px;width:100px}}.profile-sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.profile-sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1}.profile-sidebar-component .user-card .avatar-update-btn-icon:before{content:""}.profile-sidebar-component .user-card .username{font-size:13px;font-weight:600;line-height:12px;margin:4px 0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}@media(min-width:390px){.profile-sidebar-component .user-card .username{font-size:16px;margin:8px 0}}.profile-sidebar-component .user-card .display-name{color:#212529;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:20px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}@media(min-width:390px){.profile-sidebar-component .user-card .display-name{font-size:24px}}.profile-sidebar-component .user-card .stats{display:flex;flex-direction:row;font-size:16px;justify-content:space-between;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-sidebar-component .user-card .stats .followers-count,.profile-sidebar-component .user-card .stats .following-count,.profile-sidebar-component .user-card .stats .posts-count{display:flex;font-weight:800}.profile-sidebar-component .user-card .stats .stats-label{color:#94a3b8;font-size:11px;margin-top:-5px}',""]);const n=i},7910:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(24304),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},79999:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(41882),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},93362:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(5480),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},56793:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(31946),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},82562:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(99280),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},9308:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(60618),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},82084:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(19661),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},91137:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(74628),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},70595:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(79204),i=s(41142),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(51142);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"c95215d8",null).exports},90086:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78710),i=s(79642),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(89673);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(56329),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(74413);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(91056),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(79981);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(61070),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(3790),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},89965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(7923),i=s(68944),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(94001);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},32303:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(4880),i=s(48084),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(29962);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},24721:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(99417),i=s(96400),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(9676);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(28527),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(90738);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},85748:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(42681),i=s(64803),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(10164);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},41142:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(53411),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},79642:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(55336),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},68944:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(92762),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},48084:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90760),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},96400:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(68365),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},64803:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(38544),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},51142:(t,e,s)=>{s.r(e);var o=s(7910),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},74413:(t,e,s)=>{s.r(e);var o=s(79999),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},79981:(t,e,s)=>{s.r(e);var o=s(93362),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},94001:(t,e,s)=>{s.r(e);var o=s(56793),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},29962:(t,e,s)=>{s.r(e);var o=s(82562),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},9676:(t,e,s)=>{s.r(e);var o=s(9308),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},90738:(t,e,s)=>{s.r(e);var o=s(82084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10164:(t,e,s)=>{s.r(e);var o=s(91137),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},79204:(t,e,s)=>{s.r(e);var o=s(99771),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},78710:(t,e,s)=>{s.r(e);var o=s(30703),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},89673:(t,e,s)=>{s.r(e);var o=s(20454),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},56329:(t,e,s)=>{s.r(e);var o=s(99906),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},91056:(t,e,s)=>{s.r(e);var o=s(21903),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},61070:(t,e,s)=>{s.r(e);var o=s(72348),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},3790:(t,e,s)=>{s.r(e);var o=s(83712),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},7923:(t,e,s)=>{s.r(e);var o=s(64407),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},4880:(t,e,s)=>{s.r(e);var o=s(50252),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99417:(t,e,s)=>{s.r(e);var o=s(83357),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28527:(t,e,s)=>{s.r(e);var o=s(785),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},42681:(t,e,s)=>{s.r(e);var o=s(87577),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99771:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-timeline-component"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-3 d-md-block px-md-3 px-xl-5"},[s("profile-sidebar",{attrs:{profile:t.profile,relationship:t.relationship,user:t.curUser},on:{back:t.goBack,toggletab:t.toggleTab,follow:t.follow,unfollow:t.unfollow}})],1),t._v(" "),s("div",{staticClass:"col-md-8 px-md-5"},[s(t.getTabComponentName(),{key:t.getTabComponentName()+t.profile.id,tag:"component",attrs:{profile:t.profile,relationship:t.relationship}})],1)]),t._v(" "),s("drawer")],1):t._e()])},i=[]},30703:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;return(t._self._c||e)("canvas",{ref:"canvas",attrs:{width:t.parseNumber(t.width),height:t.parseNumber(t.height)}})},i=[]},20454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[s("div",{staticClass:"ph-col-12"},[s("div",{staticClass:"ph-row align-items-center"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),s("div",{staticClass:"ph-col-6 big"})]),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"ph-picture"}),t._v(" "),s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12 big"}),t._v(" "),s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])}]},99906:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v(t._s(t.timeago(t.status.created_at)))]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)]),t._v(" "),t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{togglecw:function(e){return t.toggleContentWarning()}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e(),t._v(" "),t.newReactions?s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[t.status.favourites_count&&t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url?s("div",{staticClass:"mb-0"},[t.hideCounts?t._e():s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\t\t\tLiked by "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"/i/web/username/"+t.status.liked_by.username}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.status.favourites_count&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.favourites_count))+"\n\t\t\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.favourites_count?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.status.reply_count&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.reply_count))+"\n\t\t\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.reply_count?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])]):t._e(),t._v(" "),t.newReactions||!t.status.favourites_count&&!t.status.reply_count||t.hideCounts?t._e():s("div",{staticClass:"card-footer d-flex justify-content-between border-bottom py-1",staticStyle:{"z-index":"3"}},[s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count))+" "+t._s(t.$t("common.likes")))]),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm"},[t._v(t._s(t.count(t.status.reblogs_count))+" "+t._s(t.$t("common.shares")))]),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showComments()}}},[t._v(t._s(t.count(t.status.reply_count))+" "+t._s(t.$t("common.comments")))])]),t._v(" "),t.newReactions?t._e():s("div",{staticClass:"card-footer border-0 d-flex justify-content-between py-1",class:{"rounded-bottom":!t.showCommentDrawer},staticStyle:{background:"#F9FAFB","z-index":"3"}},[s("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.liked"))+"\n\t\t\t\t")]):s("span",[s("i",{staticClass:"far fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.like"))+"\n\t\t\t\t")])]),t._v(" "),s("div",[s("b-dropdown",{attrs:{"no-caret":"",dropup:"",variant:"link","toggle-class":"font-weight-bold text-lighter btn-sm py-0"},on:{show:t.toggleMenu,hide:t.closeMenu},scopedSlots:t._u([{key:"button-content",fn:function(){return[t.status.reblogged?s("span",{staticClass:"primary"},[s("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.shared"))+"\n\t\t\t\t\t\t")]):s("span",[s("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.share"))+"\n\t\t\t\t\t\t")])]},proxy:!0}],null,!1,4274722688)},[t._v(" "),t.menuLoading?s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[s("b-spinner",{attrs:{variant:"muted"}})],1):s("div",[t.status.reblogged?s("b-dropdown-item",{on:{click:function(e){return t.unshareStatus()}}},[t._v(t._s(t.$t("common.unshare")))]):s("b-dropdown-item",{on:{click:function(e){return t.shareStatus()}}},[t._v(t._s(t.$t("post.shareToFollowers")))]),t._v(" "),s("b-dropdown-item",{on:{click:function(e){return t.shareToOther()}}},[t._v(t._s(t.$t("post.shareToOther")))]),t._v(" "),s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{on:{click:function(e){return t.copyLink()}}},[t._v(t._s(t.$t("common.copyLink")))])],1)])],1),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-1"}),t._v(" "+t._s(t.$t("common.comment"))+"\n\t\t\t")])]),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},21903:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(0,!0)],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t")])])]),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important","padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("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"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},72348:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(1,!0)],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\tDelete\n\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\tReport\n\t\t\t\t\t")])])])])])}))],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},83712:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("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"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},64407:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-feed-component"},[s("div",{staticClass:"profile-feed-component-nav d-flex justify-content-center justify-content-md-between align-items-center mb-4"},[s("div",{staticClass:"d-none d-md-block"},[s("div",{staticClass:"btn-group",staticStyle:{height:"45px"}},[s("button",{staticClass:"btn btn-link",class:[1===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(1)}}},[t._v("\n\t\t\t\t\tPosts\n\t\t\t\t")]),t._v(" "),t.isOwner?s("button",{staticClass:"btn btn-link",class:["bookmarks"===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab("bookmarks")}}},[t._v("\n\t\t\t\t\tBookmarks\n\t\t\t\t")]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-link",class:[2===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(2)}}},[t._v("\n\t\t\t\t\tCollections\n\t\t\t\t")]),t._v(" "),t.isOwner?s("button",{staticClass:"btn btn-link",class:[3===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(3)}}},[t._v("\n\t\t\t\t\tLikes\n\t\t\t\t")]):t._e()])]),t._v(" "),1===t.tabIndex?s("div",{staticClass:"btn-group"},[s("button",{staticClass:"btn btn-link",class:[0===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(0)}}},[s("i",{staticClass:"far fa-th fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link",class:[1===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(1)}}},[s("i",{staticClass:"fas fa-stream fa-rotate-90 fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link",class:[2===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(2)}}},[s("i",{staticClass:"far fa-bars fa-lg"})])]):s("div",{staticClass:"d-none d-md-block",staticStyle:{width:"160px"}})]),t._v(" "),0==t.tabIndex?s("div",{staticClass:"d-flex justify-content-center mt-5"},[s("b-spinner")],1):1==t.tabIndex?s("div",{staticClass:"px-0 mx-0"},[0===t.layoutIndex?s("div",{staticClass:"row"},[t._l(t.feed,(function(e,o){return s("div",{key:"tlob:"+o+e.id,staticClass:"col-4 p-1"},[e.hasOwnProperty("pf_type")&&"video"==e.pf_type?s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[s("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),s("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1)])]):s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[e.sensitive?s("div",{staticClass:"square-content"},[t._m(1,!0),t._v(" "),s("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):s("div",{staticClass:"square-content"},[s("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].url}})],1),t._v(" "),s("div",{staticClass:"info-overlay-text"},[s("div",{staticClass:"text-white m-auto"},[s("p",{staticClass:"info-overlay-text-field font-weight-bold"},[s("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.favourites_count)))])]),t._v(" "),s("p",{staticClass:"info-overlay-text-field font-weight-bold"},[s("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])]),t._v(" "),s("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[s("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reblogs_count)))])])])])])])])})),t._v(" "),t.canLoadMore?s("div",{staticClass:"col-4 ph-wrapper"},[s("intersect",{on:{enter:t.enterIntersect}},[s("div",{staticClass:"ph-item"},[s("div",{staticClass:"ph-picture big"})])])],1):t._e()],2):1===t.layoutIndex?s("div",{staticClass:"row"},[s("masonry",{attrs:{cols:{default:3,800:2},gutter:{default:"5px"}}},[t._l(t.feed,(function(e,o){return s("div",{key:"tlog:"+o+e.id,staticClass:"p-1"},[e.hasOwnProperty("pf_type")&&"video"==e.pf_type?s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[s("div",{staticClass:"square-content"},[s("div",{staticClass:"info-overlay-text-label rounded"},[s("h5",{staticClass:"text-white m-auto font-weight-bold"},[s("span",[s("span",{staticClass:"far fa-video fa-2x p-2 d-flex-inline"})])])]),t._v(" "),s("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1)])]):e.sensitive?s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[s("div",{staticClass:"square-content"},[s("div",{staticClass:"info-overlay-text-label rounded"},[s("h5",{staticClass:"text-white m-auto font-weight-bold"},[s("span",[s("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])]),t._v(" "),s("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1)])]):s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("img",{staticClass:"img-fluid w-100 rounded-lg",attrs:{src:t.previewUrl(e),onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}),t._v(" "),s("span",{staticClass:"badge badge-light",staticStyle:{position:"absolute",bottom:"2px",right:"2px",opacity:"0.4"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?s("div",{staticClass:"p-1 ph-wrapper"},[s("intersect",{on:{enter:t.enterIntersect}},[s("div",{staticClass:"ph-item"},[s("div",{staticClass:"ph-picture big"})])])],1):t._e()],2)],1):2===t.layoutIndex?s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-10"},t._l(t.feed,(function(e,o){return s("status-card",{key:"prs"+e.id+":"+o,attrs:{profile:t.user,status:e},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMore?s("div",{staticClass:"col-12 col-md-10"},[s("intersect",{on:{enter:t.enterIntersect}},[s("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]):t._e(),t._v(" "),t.feedLoaded&&!t.feed.length?s("div",[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyPosts")))])])])]):t._e()]):2==t.tabIndex?s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-8"},[s("div",{staticClass:"list-group"},t._l(t.collections,(function(e,o){return s("a",{staticClass:"list-group-item text-decoration-none text-dark",attrs:{href:e.url}},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:e.thumb,width:"65",height:"65"}}),t._v(" "),s("div",{staticClass:"media-body text-left"},[s("p",{staticClass:"lead mb-0"},[t._v(t._s(e.title))]),t._v(" "),s("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(e.description||"No description available"))]),t._v(" "),s("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[s("span",[t._v(t._s(e.post_count)+" posts")]),t._v(" "),s("span",[t._v("·")]),t._v(" "),"public"===e.visibility?s("span",{staticClass:"text-success"},[t._v("Public")]):"private"===e.visibility?s("span",{staticClass:"text-danger"},[t._v("Private")]):t._e(),t._v(" "),s("span",[t._v("·")]),t._v(" "),e.published_at?s("span",[t._v("Created "+t._s(t.timeago(e.published_at))+" ago")]):s("span",{staticClass:"text-warning"},[t._v("UNPUBLISHED")])])])])])})),0)]),t._v(" "),t.collectionsLoaded&&!t.collections.length?s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyCollections")))])]):t._e()]):3==t.tabIndex?s("div",{staticClass:"px-0 mx-0"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-10"},t._l(t.favourites,(function(e,o){return s("status-card",{key:"prs"+e.id+":"+o,attrs:{profile:t.user,status:e},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMoreFavourites?s("div",{staticClass:"col-12 col-md-10"},[s("intersect",{on:{enter:t.enterFavouritesIntersect}},[s("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.favourites&&t.favourites.length?t._e():s("div",{staticClass:"row justify-content-center"},[t._m(2)])]):"bookmarks"==t.tabIndex?s("div",{staticClass:"px-0 mx-0"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-10"},t._l(t.bookmarks,(function(e,o){return s("status-card",{key:"prs"+e.id+":"+o,attrs:{profile:t.user,"new-reactions":!0,status:e},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1)]),t._v(" "),t.bookmarks&&t.bookmarks.length?t._e():s("div",{staticClass:"row justify-content-center"},[t._m(3)])]):t._e(),t._v(" "),t.showMenu?s("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.user},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.user}}):t._e(),t._v(" "),s("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label rounded"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-video fa-2x p-2 d-flex-inline"})])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v("We can't seem to find any posts you have liked")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v("We can't seem to find any posts you have bookmarked")])])}]},50252:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-followers-component"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-7"},[s("div",{staticClass:"header h1 font-weight-bold mb-3"},[t._v("\n\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t")]),t._v(" "),t.isLoaded?s("div",{staticClass:"list-group"},[t._l(t.feed,(function(e,o){return s("div",{staticClass:"list-group-item"},[s("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+e.id,href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(e))}})]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])])])]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+e.id,triggers:"hover",placement:"left","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:e}})],1)],1)})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():s("div",[t._m(0)])],2):s("div",{staticClass:"list-group"},[s("placeholder")],1)])])])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item text-center"},[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No followers yet!")])])}]},83357:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-following-component"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-7"},[s("div",{staticClass:"header h1 font-weight-bold mb-3"},[t._v("\n\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t")]),t._v(" "),t.isLoaded?s("div",{staticClass:"list-group"},[t._l(t.feed,(function(e,o){return s("div",{staticClass:"list-group-item"},[s("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+e.id,href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(e))}})]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])])])]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+e.id,triggers:"hover",placement:"left","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:e}})],1)],1)})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():s("div",[t._m(0)])],2):s("div",{staticClass:"list-group"},[s("placeholder")],1)])])])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item text-center"},[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Not following anyone yet!")])])}]},785:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},87577:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-sidebar-component"},[s("div",[s("div",{staticClass:"d-block d-md-none"},[s("div",{staticClass:"media user-card user-select-none"},[s("div",{staticStyle:{position:"relative"}},[s("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.profile.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),s("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?s("span",[t._v("@"+t._s(t.profile.acct))]):s("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?s("span",[s("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),s("div",{staticClass:"stats"},[s("div",{staticClass:"stats-posts",on:{click:function(e){return t.toggleTab("index")}}},[s("div",{staticClass:"posts-count"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),s("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.posts"))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"stats-followers",on:{click:function(e){return t.toggleTab("followers")}}},[s("div",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),s("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"stats-following",on:{click:function(e){return t.toggleTab("following")}}},[s("div",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),s("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),s("div",{staticClass:"d-none d-md-flex justify-content-between align-items-center"},[s("button",{staticClass:"btn btn-link",on:{click:function(e){return t.goBack()}}},[s("i",{staticClass:"far fa-chevron-left fa-lg text-lighter"})]),t._v(" "),s("div",[s("img",{staticClass:"avatar img-fluid shadow border",attrs:{src:t.getAvatar(),onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),t.profile.is_admin?s("p",{staticClass:"text-right",staticStyle:{"margin-top":"-30px"}},[s("span",{staticClass:"admin-label"},[t._v("Admin")])]):t._e()]),t._v(" "),s("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[s("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),s("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]),t._v(" "),s("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?s("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?s("div",[s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[s("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t")])],1):s("div",[t.profile.local?t._e():s("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")])],1),t._v(" "),t.profile.id!==t.user.id?s("div",[s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t")]),t._v(" "),s("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t")]),t._v(" "),s("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1),t._v(" "),s("div",{staticClass:"d-none d-md-block text-center"},[s("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),s("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?s("span",[t._v("@"+t._s(t.profile.acct))]):s("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?s("span",[s("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),t.user.id!=t.profile.id&&(t.relationship.followed_by||t.relationship.muting||t.relationship.blocking)?s("p",{staticClass:"mt-n3 text-center"},[t.relationship.followed_by?s("span",{staticClass:"badge badge-primary p-1"},[t._v("Follows you")]):t._e(),t._v(" "),t.relationship.muting?s("span",{staticClass:"badge badge-dark p-1 ml-1"},[t._v("Muted")]):t._e(),t._v(" "),t.relationship.blocking?s("span",{staticClass:"badge badge-danger p-1 ml-1"},[t._v("Blocked")]):t._e()]):t._e()]),t._v(" "),s("div",{staticClass:"d-none d-md-block stats py-2"},[s("div",{staticClass:"d-flex justify-content-between"},[s("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("index")}}},[s("strong",{attrs:{title:t.profile.statuses_count}},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),s("span",[t._v(t._s(t.$t("profile.posts")))])]),t._v(" "),s("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("followers")}}},[s("strong",{attrs:{title:t.profile.followers_count}},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),s("span",[t._v(t._s(t.$t("profile.followers")))])]),t._v(" "),s("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("following")}}},[s("strong",{attrs:{title:t.profile.following_count}},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),s("span",[t._v(t._s(t.$t("profile.following")))])])])]),t._v(" "),s("div",{staticClass:"d-flex align-items-center mb-3 mb-md-0"},[t.user.id===t.profile.id?s("div",{staticStyle:{"flex-grow":"1"}},[s("a",{staticClass:"btn btn-light font-weight-bold btn-block follow-btn",attrs:{href:"/settings/home"}},[t._v(t._s(t.$t("profile.editProfile")))])]):s("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following||t.relationship.requested?t.relationship.requested?s("div",[s("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.followRequested"))+"\n\t\t\t\t\t")])]):t.relationship.following&&!t.relationship.requested?s("button",{staticClass:"btn btn-primary font-weight-bold btn-block unfollow-btn",on:{click:t.unfollow}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t")]):t._e():s("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",on:{click:t.follow}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"d-block d-md-none ml-3"},[s("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[s("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),s("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]),t._v(" "),s("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?s("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?s("div",[s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[s("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t")])],1):s("div",[t.profile.local?t._e():s("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")])],1),t._v(" "),t.profile.id!==t.user.id?s("div",[s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t\t")]),t._v(" "),s("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t\t")]),t._v(" "),s("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1)]),t._v(" "),t.profile.note?s("div",{staticClass:"bio-wrapper card shadow-none"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"bio-body"},[s("div",{domProps:{innerHTML:t._s(t.getBio())}})])])]):t._e(),t._v(" "),s("div",{staticClass:"d-none d-md-block card card-body shadow-none py-2"},[t.profile.website?s("p",{staticClass:"small"},[t._m(0),t._v(" "),s("span",[s("a",{staticClass:"font-weight-bold",attrs:{href:t.profile.website}},[t._v(t._s(t.profile.website))])])]):t._e(),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._m(1),t._v(" "),s("span",[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\t\t\t\t")])])]),t._v(" "),s("div",{staticClass:"d-none d-md-flex sidebar-sitelinks"},[s("a",{attrs:{href:"/site/about"}},[t._v(t._s(t.$t("navmenu.about")))]),t._v(" "),s("router-link",{attrs:{to:"/i/web/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),s("router-link",{attrs:{to:"/i/web/language"}},[t._v(t._s(t.$t("navmenu.language")))]),t._v(" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))])],1),t._v(" "),t._m(2)]),t._v(" "),s("b-modal",{ref:"fullBio",attrs:{centered:"","hide-footer":"","ok-only":"","ok-title":"Close","ok-variant":"light",scrollable:!0,"body-class":"p-md-5",title:"Bio"}},[s("div",{domProps:{innerHTML:t._s(t.profile.note)}})])],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-lighter mr-2"},[e("i",{staticClass:"far fa-link"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-lighter mr-2"},[e("i",{staticClass:"far fa-clock"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-none d-md-block sidebar-attribution"},[s("a",{staticClass:"font-weight-bold",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])])}]}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[177],{53411:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(42755),i=s(89965),n=s(85748),a=s(32303),r=s(24721);const l={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{drawer:o.default,"profile-feed":i.default,"profile-sidebar":n.default,"profile-followers":a.default,"profile-following":r.default},data:function(){return{isLoaded:!1,curUser:void 0,tab:"index",profile:void 0,relationship:void 0}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.tab="index",this.isLoaded=!1,this.relationship=void 0,this.owner=!1,this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchRelationship()):(this.curUser=window._sharedData.user,this.fetchProfile())},getTabComponentName:function(){return"index"===this.tab?"profile-feed":"profile-".concat(this.tab)},fetchProfile:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/"+e).then((function(e){t.profile=e.data,e.data.id==t.curUser.id?(t.owner=!0,t.fetchRelationship()):(t.owner=!1,t.fetchRelationship())}))},fetchRelationship:function(){var t=this;if(this.owner)return this.relationship={},void(this.isLoaded=!0);axios.get("/api/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.isLoaded=!0}))},toggleTab:function(t){this.tab=t},goBack:function(){this.$router.push("/i/web")},unfollow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/unfollow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship.following=!1})).catch((function(e){swal("Oops!","An error occured when attempting to unfollow this account.","error"),t.relationship.following=!0}))},follow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/follow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship.following=!0})).catch((function(e){swal("Oops!","An error occured when attempting to follow this account.","error"),t.relationship.following=!1}))}}}},55336:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(43985);const i={props:{hash:{type:String,required:!0},width:{type:[Number,String],default:32},height:{type:[Number,String],default:32},punch:{type:Number,default:1}},mounted:function(){this.draw()},updated:function(){console.log("updated")},beforeDestroy:function(){console.log("beforeDestroy")},methods:{parseNumber:function(t){return"number"==typeof t?t:parseInt(t,10)},draw:function(){var t=this.parseNumber(this.width),e=this.parseNumber(this.height),s=this.parseNumber(this.punch),i=(0,o.decode)(this.hash,t,e,s),n=this.$refs.canvas.getContext("2d"),a=n.createImageData(t,e);a.data.set(i),n.putImageData(a,0,0)}}}},77366:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(80979),i=s(26535),n=s(22583),a=s(30765),r=s.n(a);const l={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"read-more":o.default,"profile-hover-card":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{toggleLightbox:function(t){r()({el:t.target})},timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},count:function(t){return App.util.format.count(t)},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.status.account.id),params:{id:this.status.account.id,cachedProfile:this.status.account,cachedUser:this.profile}})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},videoAltText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},62744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},25356:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count++}}}},90427:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.fetchMore(1),e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},27830:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data),t.$emit("counter-change","comment-increment")}))}}}},36765:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals()})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},57170:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(78423),i=s(48510);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!0,isFetchingMore:!1,likes:[],ids:[],page:1,isUpdatingFollowState:!1,followStateIndex:void 0}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!0,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.page=1},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10}}).then((function(e){t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,t.page++,t.isLoading=!1}))},open:function(){this.page>1&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,page:this.page}}).then((function(e){return e.data&&e.data.length?(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.data.length<2?(t.canLoadMore=!1,void(t.isFetchingMore=!1)):(t.page++,void(t.isFetchingMore=!1))):(t.canLoadMore=!1,void(t.isFetchingMore=!1))})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},66286:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},92762:(t,e,s)=>{s.r(e),s.d(e,{default:()=>p});var o=s(78423),i=s(99247),n=s(45836),a=s(90086),r=s(8829),l=s(5327),c=s(21917);function d(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return u(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s0})),o=s.map((function(t){return t.id}));t.ids=o,t.max_id=Math.min.apply(Math,d(o)),s.forEach((function(e){t.feed.push(e)})),t.canLoadMore=9===t.feed.length,t.feedLoaded=!0}))},enterIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:9,only_media:!0,max_id:this.max_id}}).then((function(e){e.data&&e.data.length||(t.canLoadMore=!1);e.data.filter((function(t){return t.media_attachments.length>0})).filter((function(e){return-1==t.ids.indexOf(e.id)})).forEach((function(e){e.id{s.r(e),s.d(e,{default:()=>u});var o=s(78423),i=s(48510),n=s(22583),a=s(20629);function r(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),o=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):t}))}return s},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}}},68365:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var o=s(78423),i=s(48510),n=s(22583),a=s(20629);function r(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),o=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):t}))}return s},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})}}}},50371:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(80979),i=s(20629);function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},38544:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(20629);function i(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function n(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const a={props:{profile:{type:Object},relationship:{type:Object,default:function(){return{following:!1,followed_by:!1}}},user:{type:Object}},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},formatCount:function(t){return App.util.format.count(t)},goBack:function(){this.$emit("back")},showFullBio:function(){this.$refs.fullBio.show()},toggleTab:function(t){event.currentTarget.blur(),this.$emit("toggletab",t)},getJoinedDate:function(){var t=new Date(this.profile.created_at),e=new Intl.DateTimeFormat("en-US",{month:"long"}).format(t),s=t.getFullYear();return"".concat(e," ").concat(s)},follow:function(){event.currentTarget.blur(),this.$emit("follow")},unfollow:function(){event.currentTarget.blur(),this.$emit("unfollow")},getBio:function(){if(this.profile&&this.profile.note_text&&this.profile.note_text.length)return window.pftxt.autoLink(this.profile.note_text,{usernameUrlBase:"/i/web/profile/@",hashtagUrlBase:"/i/web/hashtag/"})},getAvatar:function(){return this.profile.id==this.user.id?window._sharedData.user.avatar:this.profile.avatar},copyTextToClipboard:function(t){App.util.clipboard(t)},goToOldProfile:function(){this.profile.local?location.href=this.profile.url+"?fs=1":location.href="/i/web/profile/_/"+this.profile.id},handleMute:function(){var t=this,e=this.relationship.muting?"unmuted":"muted",s=1==this.relationship.muting?"/i/unmute":"/i/mute";axios.post(s,{type:"user",item:this.profile.id}).then((function(s){t.relationship.muting=!t.relationship.muting,swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},handleBlock:function(){var t=this,e=this.relationship.blocking?"unblock":"block",s=1==this.relationship.blocking?"/i/unblock":"/i/block";axios.post(s,{type:"user",item:this.profile.id}).then((function(s){t.relationship.blocking=!t.relationship.blocking,swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}}}},24304:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-timeline-component[data-v-c95215d8]{margin-bottom:10rem}",""]);const n=i},41882:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .primary{color:#3b82f6}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media(min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:#eff2f5;border-radius:.9rem;padding:.4rem .7rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:#000;font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:#000;text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight,.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},5480:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:#64748b}.post-comment-drawer-feed .sort-menu .description{color:#94a3b8;font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:#212529;font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:#334155}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:#fff;border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:""}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px!important}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},31946:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-feed-component{margin-top:0}.profile-feed-component .ph-wrapper{padding:.25rem}.profile-feed-component .ph-wrapper .ph-item{background-color:transparent;border:none;margin:0;padding:0}.profile-feed-component .ph-wrapper .ph-item .ph-picture{border-radius:5px;height:auto;padding-bottom:100%}.profile-feed-component .ph-wrapper .ph-item>*{margin-bottom:0}.profile-feed-component .info-overlay-text-field{font-size:13.5px;margin-bottom:2px}@media(min-width:768px){.profile-feed-component .info-overlay-text-field{font-size:20px;margin-bottom:15px}}",""]);const n=i},99280:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-followers-component .list-group-item{border:none}.profile-followers-component .list-group-item:not(:last-child){border-bottom:1px solid rgba(0,0,0,.125)}",""]);const n=i},60618:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-following-component .list-group-item{border:none}.profile-following-component .list-group-item:not(:last-child){border-bottom:1px solid rgba(0,0,0,.125)}",""]);const n=i},19661:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:#212529;text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:#94a3b8;margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:#eff3f4;border-radius:6px;color:#536471;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},74628:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(23645),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.profile-sidebar-component{margin-bottom:1rem}.profile-sidebar-component .avatar{border-radius:15px;margin-bottom:1rem;width:140px}.profile-sidebar-component .display-name{font-size:20px;font-size:15px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-sidebar-component .display-name,.profile-sidebar-component .username{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.profile-sidebar-component .username{color:#3b82f6;font-size:14px;font-weight:600}.profile-sidebar-component .username.remote{font-size:11px}.profile-sidebar-component .stats{margin-bottom:1rem}.profile-sidebar-component .stats .stat-item{flex:0 0 33%;margin:0;max-width:33%;padding:0;text-align:center;text-decoration:none}.profile-sidebar-component .stats .stat-item strong{color:#000;display:block;font-size:18px;line-height:.9}.profile-sidebar-component .stats .stat-item span{color:#b8c2cc;display:block;font-size:12px}@media(min-width:768px){.profile-sidebar-component .follow-btn{margin-bottom:2rem}}.profile-sidebar-component .follow-btn.btn-primary{background-color:#3b82f6}.profile-sidebar-component .follow-btn.btn-light{border-color:#e5e7eb}.profile-sidebar-component .unfollow-btn{background-color:rgba(59,130,246,.7)}@media(min-width:768px){.profile-sidebar-component .unfollow-btn{margin-bottom:2rem}}.profile-sidebar-component .bio-wrapper{margin-bottom:1rem}.profile-sidebar-component .bio-wrapper .bio-body{display:block;font-size:12px!important;position:relative;white-space:pre-wrap}.profile-sidebar-component .bio-wrapper .bio-body .username{font-size:12px!important}.profile-sidebar-component .bio-wrapper .bio-body.long{max-height:80px;overflow:hidden}.profile-sidebar-component .bio-wrapper .bio-body.long:after{background:linear-gradient(180deg,transparent,hsla(0,0%,100%,.9) 60%,#fff 90%);content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:2}.profile-sidebar-component .bio-wrapper .bio-body p{margin-bottom:0!important}.profile-sidebar-component .bio-wrapper .bio-more{position:relative;z-index:3}.profile-sidebar-component .admin-label{background:#fee2e2;border:1px solid #fca5a5;border-radius:8px;color:#b91c1c;display:inline-block;font-size:12px;font-weight:600;padding:1px 5px;text-transform:capitalize}.profile-sidebar-component .sidebar-sitelinks{justify-content:space-between;margin-top:1rem;padding:0}.profile-sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.profile-sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.profile-sidebar-component .sidebar-attribution{color:#b8c2cc!important;font-size:12px;margin-top:.5rem}.profile-sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.profile-sidebar-component .user-card{align-items:center}.profile-sidebar-component .user-card .avatar{border:1px solid #e5e7eb;border-radius:15px;height:80px;margin-right:.8rem;width:80px}@media(min-width:390px){.profile-sidebar-component .user-card .avatar{height:100px;width:100px}}.profile-sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.profile-sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;text-rendering:auto;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1}.profile-sidebar-component .user-card .avatar-update-btn-icon:before{content:""}.profile-sidebar-component .user-card .username{font-size:13px;font-weight:600;line-height:12px;margin:4px 0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}@media(min-width:390px){.profile-sidebar-component .user-card .username{font-size:16px;margin:8px 0}}.profile-sidebar-component .user-card .display-name{color:#212529;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:20px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}@media(min-width:390px){.profile-sidebar-component .user-card .display-name{font-size:24px}}.profile-sidebar-component .user-card .stats{display:flex;flex-direction:row;font-size:16px;justify-content:space-between;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.profile-sidebar-component .user-card .stats .followers-count,.profile-sidebar-component .user-card .stats .following-count,.profile-sidebar-component .user-card .stats .posts-count{display:flex;font-weight:800}.profile-sidebar-component .user-card .stats .stats-label{color:#94a3b8;font-size:11px;margin-top:-5px}',""]);const n=i},7910:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(24304),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},79999:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(41882),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},93362:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(5480),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},56793:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(31946),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},82562:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(99280),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},9308:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(60618),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},82084:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(19661),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},91137:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(74628),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},70595:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(79204),i=s(41142),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(51142);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"c95215d8",null).exports},90086:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78710),i=s(79642),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(89673);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(58344),i=s(41081),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(74413);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12350),i=s(35181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(91056),i=s(55862),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(79981);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(61070),i=s(63106),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50309),i=s(78789),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(3790),i=s(12422),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(98223);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(19986),i=s(40423),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(17386),i=s(20516),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},89965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(7923),i=s(68944),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(94001);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},32303:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(4880),i=s(48084),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(29962);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},24721:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(99417),i=s(96400),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(9676);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(28527),i=s(81498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(90738);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},85748:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(69887),i=s(64803),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(10164);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},41142:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(53411),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},79642:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(55336),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},41081:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(77366),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},35181:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(62744),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55862:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(25356),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},63106:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90427),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},78789:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(27830),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},12422:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36765),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40423:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(57170),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},20516:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(66286),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},68944:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(92762),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},48084:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(90760),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},96400:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(68365),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},81498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(50371),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},64803:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(38544),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},51142:(t,e,s)=>{s.r(e);var o=s(7910),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},74413:(t,e,s)=>{s.r(e);var o=s(79999),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},79981:(t,e,s)=>{s.r(e);var o=s(93362),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},94001:(t,e,s)=>{s.r(e);var o=s(56793),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},29962:(t,e,s)=>{s.r(e);var o=s(82562),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},9676:(t,e,s)=>{s.r(e);var o=s(9308),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},90738:(t,e,s)=>{s.r(e);var o=s(82084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},10164:(t,e,s)=>{s.r(e);var o=s(91137),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},79204:(t,e,s)=>{s.r(e);var o=s(99771),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},78710:(t,e,s)=>{s.r(e);var o=s(30703),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},89673:(t,e,s)=>{s.r(e);var o=s(20454),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},58344:(t,e,s)=>{s.r(e);var o=s(35713),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12350:(t,e,s)=>{s.r(e);var o=s(4493),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},91056:(t,e,s)=>{s.r(e);var o=s(21903),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},61070:(t,e,s)=>{s.r(e);var o=s(72348),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50309:(t,e,s)=>{s.r(e);var o=s(64084),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},3790:(t,e,s)=>{s.r(e);var o=s(83712),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},98223:(t,e,s)=>{s.r(e);var o=s(72729),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},19986:(t,e,s)=>{s.r(e);var o=s(51364),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17386:(t,e,s)=>{s.r(e);var o=s(20512),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},7923:(t,e,s)=>{s.r(e);var o=s(64407),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},4880:(t,e,s)=>{s.r(e);var o=s(50252),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99417:(t,e,s)=>{s.r(e);var o=s(83357),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28527:(t,e,s)=>{s.r(e);var o=s(785),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},69887:(t,e,s)=>{s.r(e);var o=s(19662),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99771:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-timeline-component"},[t.isLoaded?s("div",{staticClass:"container-fluid mt-3"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-md-3 d-md-block px-md-3 px-xl-5"},[s("profile-sidebar",{attrs:{profile:t.profile,relationship:t.relationship,user:t.curUser},on:{back:t.goBack,toggletab:t.toggleTab,follow:t.follow,unfollow:t.unfollow}})],1),t._v(" "),s("div",{staticClass:"col-md-8 px-md-5"},[s(t.getTabComponentName(),{key:t.getTabComponentName()+t.profile.id,tag:"component",attrs:{profile:t.profile,relationship:t.relationship}})],1)]),t._v(" "),s("drawer")],1):t._e()])},i=[]},30703:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;return(t._self._c||e)("canvas",{ref:"canvas",attrs:{width:t.parseNumber(t.width),height:t.parseNumber(t.height)}})},i=[]},20454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[s("div",{staticClass:"ph-col-12"},[s("div",{staticClass:"ph-row align-items-center"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),s("div",{staticClass:"ph-col-6 big"})]),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"empty"}),t._v(" "),s("div",{staticClass:"ph-picture"}),t._v(" "),s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12 big"}),t._v(" "),s("div",{staticClass:"ph-col-12 empty"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])}]},35713:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline-status-component"},[s("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[s("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[s("div",{staticClass:"media align-items-center"},[s("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"font-weight-bold username"},[s("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),s("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v(t._s(t.timeago(t.status.created_at)))]),t._v(" "),s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[s("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?s("span",[s("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?s("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):s("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?s("span",[s("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),s("span",{staticClass:"location"},[s("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?s("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():s("b-dropdown-divider"),t._v(" "),t.owner?t._e():s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),s("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?s("b-dropdown-item",[s("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t\t\t")])]):t._e()],1):s("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[s("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)]),t._v(" "),t.fixedHeight?s("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?s("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),s("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):s("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[s("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),s("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url}}),t._v(" "),!t.status.sensitive&&t.sensitive?s("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[s("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?s("div",{staticClass:"content-label-wrapper"},[s("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),s("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"text-center py-2"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0"},[s("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):s("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:""}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?s("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[s("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{togglecw:function(e){return t.toggleContentWarning()}}})],1):"text"===t.status.pf_type?s("div"):s("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[s("div",[t._m(2),t._v(" "),s("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):s("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?s("div",{staticClass:"w-100"},[s("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?s("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[s("p",[s("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e(),t._v(" "),t.newReactions?s("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[t.status.favourites_count&&t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url?s("div",{staticClass:"mb-0"},[t.hideCounts?t._e():s("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\t\t\tLiked by "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"/i/web/username/"+t.status.liked_by.username}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?s("span",[t._v("\n\t\t\t\t\t\tand "),s("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):s("span",[s("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.status.favourites_count&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.favourites_count))+"\n\t\t\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.favourites_count?t.$t("common.like"):t.$t("common.likes")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.status.reply_count&&!t.hideCounts?s("span",[t._v("\n\t\t\t\t\t\t\t"+t._s(t.count(t.status.reply_count))+"\n\t\t\t\t\t\t\t"),s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.status.reply_count?t.$t("common.comment"):t.$t("common.comments")))])]):s("span",[s("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),s("div",[s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-3",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[1==t.status.reblogged?s("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):s("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?s("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t\t\t")]):t._e()])]),t._v(" "),s("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?s("span",[s("b-spinner",{attrs:{variant:"warning",small:""}})],1):s("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?s("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):s("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?s("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[s("i",{staticClass:"far fa-user-crown"})]):t._e()])])]):t._e(),t._v(" "),t.newReactions||!t.status.favourites_count&&!t.status.reply_count||t.hideCounts?t._e():s("div",{staticClass:"card-footer d-flex justify-content-between border-bottom py-1",staticStyle:{"z-index":"3"}},[s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count))+" "+t._s(t.$t("common.likes")))]),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm"},[t._v(t._s(t.count(t.status.reblogs_count))+" "+t._s(t.$t("common.shares")))]),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-muted btn-sm",on:{click:function(e){return t.showComments()}}},[t._v(t._s(t.count(t.status.reply_count))+" "+t._s(t.$t("common.comments")))])]),t._v(" "),t.newReactions?t._e():s("div",{staticClass:"card-footer border-0 d-flex justify-content-between py-1",class:{"rounded-bottom":!t.showCommentDrawer},staticStyle:{background:"#F9FAFB","z-index":"3"}},[s("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?s("span",{staticClass:"primary"},[s("i",{staticClass:"fas fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.liked"))+"\n\t\t\t\t")]):s("span",[s("i",{staticClass:"far fa-heart mr-1"}),t._v(" "+t._s(t.$t("common.like"))+"\n\t\t\t\t")])]),t._v(" "),s("div",[s("b-dropdown",{attrs:{"no-caret":"",dropup:"",variant:"link","toggle-class":"font-weight-bold text-lighter btn-sm py-0"},on:{show:t.toggleMenu,hide:t.closeMenu},scopedSlots:t._u([{key:"button-content",fn:function(){return[t.status.reblogged?s("span",{staticClass:"primary"},[s("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.shared"))+"\n\t\t\t\t\t\t")]):s("span",[s("i",{staticClass:"far fa-retweet mr-1"}),t._v(" "+t._s(t.$t("common.share"))+"\n\t\t\t\t\t\t")])]},proxy:!0}],null,!1,4274722688)},[t._v(" "),t.menuLoading?s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[s("b-spinner",{attrs:{variant:"muted"}})],1):s("div",[t.status.reblogged?s("b-dropdown-item",{on:{click:function(e){return t.unshareStatus()}}},[t._v(t._s(t.$t("common.unshare")))]):s("b-dropdown-item",{on:{click:function(e){return t.shareStatus()}}},[t._v(t._s(t.$t("post.shareToFollowers")))]),t._v(" "),s("b-dropdown-item",{on:{click:function(e){return t.shareToOther()}}},[t._v(t._s(t.$t("post.shareToOther")))]),t._v(" "),s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{on:{click:function(e){return t.copyLink()}}},[t._v(t._s(t.$t("common.copyLink")))])],1)])],1),t._v(" "),s("button",{staticClass:"btn btn-link font-weight-bold text-lighter btn-sm py-0",staticStyle:{"border-radius":"8px"},on:{click:function(e){return t.showComments()}}},[s("i",{staticClass:"far fa-comment mr-1"}),t._v(" "+t._s(t.$t("common.comment"))+"\n\t\t\t")])]),t._v(" "),t.showCommentDrawer?s("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[s("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},4493:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?s("div",{staticClass:"card shadow-none rounded-lg border my-4"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?s("div",[t.status.content_text.length<=140?s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):s("p",{staticClass:"mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?s("div",[s("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[s("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?s("p",{staticClass:"mt-3 mb-0"},[t.showFull?s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):s("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),s("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),s("p",{staticClass:"text-right mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?s("div",[s("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),s("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),s("div",{staticClass:"mt-4"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?s("div",[s("div",{staticClass:"my-4 text-center"},[s("b-spinner"),t._v(" "),s("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-4x text-success"},[s("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?s("div",[s("div",{staticClass:"my-4"},[s("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),s("p",{staticClass:"text-center py-2"},[s("span",{staticClass:"fa-stack fa-3x text-danger"},[s("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),s("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),s("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),s("hr"),t._v(" "),s("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),s("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),s("p",{staticClass:"text-center mb-0 mb-md-n3"},[s("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},21903:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-comment-drawer"},[s("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),s("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?s("div",{staticClass:"mb-2 sort-menu"},[s("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),s("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,497908856)},[t._v(" "),s("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[s("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),s("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),s("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[s("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),s("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),s("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[s("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),s("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?s("div",{staticClass:"post-comment-drawer-feed-loader"},[s("b-spinner")],1):s("div",t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(e),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(0,!0)],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url,id:"acpop_"+e.id,tabindex:"0"},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("b-popover",{attrs:{target:"acpop_"+e.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[s("profile-hover-card",{attrs:{profile:e.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count&&!t.hideCounts?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t")])])]),t._v(" "),e.reply_count?[e.replies.replies_show||t.commentReplyIndex===o?s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(e.reply_count))+" replies")])])]):s("div",{staticClass:"media-body-show-replies"},[s("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(e.reply_count))+" replies")])])])]:t._e(),t._v(" "),e.replies_show?s("comment-replies",{staticClass:"mt-3",attrs:{status:e,feed:t.feed[o].replies}}):t._e(),t._v(" "),1==e.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?s("div",[s("div",{staticClass:"media-body-show-replies mt-n3"},[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[s("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),s("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?s("comment-reply-form",{attrs:{"parent-id":e.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":t.handleCounterChange}}):t._e()],2)])})),0)]),t._v(" "),!t.feedLoading&&t.canLoadMore?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",[s("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?s("div",{staticClass:"post-comment-drawer-loadmore"},[s("p",{staticClass:"text-center mb-4"},[s("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[s("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t")])])]):t._e(),t._v(" "),s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important","padding-right":"140px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[s("vue-tribute",{attrs:{options:t.tributeSettings}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),s("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[s("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[s("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[s("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?s("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[s("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?s("div",{staticClass:"text-right mt-2"},[s("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),s("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"}},[t.lightboxStatus?s("div",{on:{click:t.hideLightbox}},[s("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t._e()])],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},72348:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"comment-replies-component"},[t.loading?s("div",{staticClass:"mt-n2"},[t._m(0)]):t._l(t.feed,(function(e,o){return s("div",{key:"cd:"+e.id+":"+o,staticClass:"media media-status align-items-top mb-3"},[s("a",{attrs:{href:"#l"}},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:e.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("div",{staticClass:"media-body-wrapper"},[e.media_attachments.length?s("div",[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("div",{staticClass:"bh-comment",on:{click:function(t){e.sensitive=!1}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash}}),t._v(" "),t._m(1,!0)],1):s("div",{staticClass:"bh-comment"},[s("div",{on:{click:function(s){return t.lightbox(e)}}},[s("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(e),height:t.blurhashHeight(e),punch:1,hash:e.media_attachments[0].blurhash,src:t.getMediaSource(e)}})],1),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()])]):s("div",{staticClass:"media-body-comment"},[s("p",{staticClass:"media-body-comment-username"},[s("a",{attrs:{href:e.account.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e.account)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.account.acct)+"\n\t\t\t\t\t\t")])]),t._v(" "),e.sensitive?s("span",[s("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),s("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.sensitive=!1}}},[t._v("Show")])]):s("read-more",{attrs:{status:e}}),t._v(" "),e.favourites_count?s("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[s("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),s("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(e.favourites_count)))])]):t._e()],1)]),t._v(" "),s("p",{staticClass:"media-body-reactions"},[s("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[e.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t"+t._s(e.favourited?"Liked":"Like")+"\n\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToPost(e)}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t")]),0,"cd:"+e.id+":"+o),t._v(" "),t.profile&&e.account.id===t.profile.id?s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\tDelete\n\t\t\t\t\t")])]):s("span",[s("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),s("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\tReport\n\t\t\t\t\t")])])])])])}))],2)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[s("div",{staticClass:"ph-col-12 mb-0"},[s("div",{staticClass:"ph-row align-items-center mt-0"},[s("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),t._v(" "),s("div",{staticClass:"ph-col-6"})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"sensitive-warning"},[s("p",{staticClass:"mb-0"},[s("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])}]},64084:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-flex align-items-top reply-form child-reply-form my-3"},[s("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40"}}),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-pill shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.storeComment.apply(null,arguments)},input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])},i=[]},83712:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"modal-stack"},[s("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?s("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t")]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t")]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t")]),t._v(" "),t.status.sensitive?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t")]):s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),s("br"),t._v(" "),s("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t")])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group text-center"},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("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"}},[s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?s("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),s("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[s("div",[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check mr-3"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"form-check"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),s("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t")])])]),t._v(" "),s("hr"),t._v(" "),s("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),s("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),s("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("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"}},[s("p",{staticClass:"py-2 px-3 mb-0"}),s("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),s("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),s("p"),t._v(" "),s("div",{staticClass:"list-group text-center"},[s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),s("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),s("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[s("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[s("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),s("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[s("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),s("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},72729:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[s("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[s("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[s("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),s("div",{staticClass:"ph-col-9 mb-0"},[s("div",{staticClass:"ph-row"},[s("div",{staticClass:"ph-col-12"}),t._v(" "),s("div",{staticClass:"ph-col-12"})])])])])}]},51364:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?s("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):s("div",[t.likes.length?s("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(e,o){return s("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[s("div",{staticClass:"media align-items-center"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[t._v(t._s(t.getUsername(e)))])]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])]),t._v(" "),s("div",[e.follows?s("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):e.follows?t._e():s("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),s("like-placeholder"),t._v(" "),s("like-placeholder")],1):t._e()],2):s("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},20512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[s("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},64407:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-feed-component"},[s("div",{staticClass:"profile-feed-component-nav d-flex justify-content-center justify-content-md-between align-items-center mb-4"},[s("div",{staticClass:"d-none d-md-block"},[s("div",{staticClass:"btn-group",staticStyle:{height:"45px"}},[s("button",{staticClass:"btn btn-link",class:[1===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(1)}}},[t._v("\n\t\t\t\t\tPosts\n\t\t\t\t")]),t._v(" "),t.isOwner?s("button",{staticClass:"btn btn-link",class:["bookmarks"===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab("bookmarks")}}},[t._v("\n\t\t\t\t\tBookmarks\n\t\t\t\t")]):t._e(),t._v(" "),s("button",{staticClass:"btn btn-link",class:[2===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(2)}}},[t._v("\n\t\t\t\t\tCollections\n\t\t\t\t")]),t._v(" "),t.isOwner?s("button",{staticClass:"btn btn-link",class:[3===t.tabIndex?"primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.toggleTab(3)}}},[t._v("\n\t\t\t\t\tLikes\n\t\t\t\t")]):t._e()])]),t._v(" "),1===t.tabIndex?s("div",{staticClass:"btn-group"},[s("button",{staticClass:"btn btn-link",class:[0===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(0)}}},[s("i",{staticClass:"far fa-th fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link",class:[1===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(1)}}},[s("i",{staticClass:"fas fa-stream fa-rotate-90 fa-lg"})]),t._v(" "),s("button",{staticClass:"btn btn-link",class:[2===t.layoutIndex?"primary":"text-lighter"],on:{click:function(e){return t.toggleLayout(2)}}},[s("i",{staticClass:"far fa-bars fa-lg"})])]):s("div",{staticClass:"d-none d-md-block",staticStyle:{width:"160px"}})]),t._v(" "),0==t.tabIndex?s("div",{staticClass:"d-flex justify-content-center mt-5"},[s("b-spinner")],1):1==t.tabIndex?s("div",{staticClass:"px-0 mx-0"},[0===t.layoutIndex?s("div",{staticClass:"row"},[t._l(t.feed,(function(e,o){return s("div",{key:"tlob:"+o+e.id,staticClass:"col-4 p-1"},[e.hasOwnProperty("pf_type")&&"video"==e.pf_type?s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[s("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),s("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1)])]):s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[e.sensitive?s("div",{staticClass:"square-content"},[t._m(1,!0),t._v(" "),s("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):s("div",{staticClass:"square-content"},[s("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].url}})],1),t._v(" "),s("div",{staticClass:"info-overlay-text"},[s("div",{staticClass:"text-white m-auto"},[s("p",{staticClass:"info-overlay-text-field font-weight-bold"},[s("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.favourites_count)))])]),t._v(" "),s("p",{staticClass:"info-overlay-text-field font-weight-bold"},[s("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])]),t._v(" "),s("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[s("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),s("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reblogs_count)))])])])])])])])})),t._v(" "),t.canLoadMore?s("div",{staticClass:"col-4 ph-wrapper"},[s("intersect",{on:{enter:t.enterIntersect}},[s("div",{staticClass:"ph-item"},[s("div",{staticClass:"ph-picture big"})])])],1):t._e()],2):1===t.layoutIndex?s("div",{staticClass:"row"},[s("masonry",{attrs:{cols:{default:3,800:2},gutter:{default:"5px"}}},[t._l(t.feed,(function(e,o){return s("div",{key:"tlog:"+o+e.id,staticClass:"p-1"},[e.hasOwnProperty("pf_type")&&"video"==e.pf_type?s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[s("div",{staticClass:"square-content"},[s("div",{staticClass:"info-overlay-text-label rounded"},[s("h5",{staticClass:"text-white m-auto font-weight-bold"},[s("span",[s("span",{staticClass:"far fa-video fa-2x p-2 d-flex-inline"})])])]),t._v(" "),s("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1)])]):e.sensitive?s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("div",{staticClass:"square"},[s("div",{staticClass:"square-content"},[s("div",{staticClass:"info-overlay-text-label rounded"},[s("h5",{staticClass:"text-white m-auto font-weight-bold"},[s("span",[s("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])]),t._v(" "),s("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1)])]):s("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)}},[s("img",{staticClass:"img-fluid w-100 rounded-lg",attrs:{src:t.previewUrl(e),onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}),t._v(" "),s("span",{staticClass:"badge badge-light",staticStyle:{position:"absolute",bottom:"2px",right:"2px",opacity:"0.4"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(e.created_at))+"\n\t\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?s("div",{staticClass:"p-1 ph-wrapper"},[s("intersect",{on:{enter:t.enterIntersect}},[s("div",{staticClass:"ph-item"},[s("div",{staticClass:"ph-picture big"})])])],1):t._e()],2)],1):2===t.layoutIndex?s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-10"},t._l(t.feed,(function(e,o){return s("status-card",{key:"prs"+e.id+":"+o,attrs:{profile:t.user,status:e},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMore?s("div",{staticClass:"col-12 col-md-10"},[s("intersect",{on:{enter:t.enterIntersect}},[s("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]):t._e(),t._v(" "),t.feedLoaded&&!t.feed.length?s("div",[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyPosts")))])])])]):t._e()]):2==t.tabIndex?s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-8"},[s("div",{staticClass:"list-group"},t._l(t.collections,(function(e,o){return s("a",{staticClass:"list-group-item text-decoration-none text-dark",attrs:{href:e.url}},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:e.thumb,width:"65",height:"65"}}),t._v(" "),s("div",{staticClass:"media-body text-left"},[s("p",{staticClass:"lead mb-0"},[t._v(t._s(e.title))]),t._v(" "),s("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(e.description||"No description available"))]),t._v(" "),s("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[s("span",[t._v(t._s(e.post_count)+" posts")]),t._v(" "),s("span",[t._v("·")]),t._v(" "),"public"===e.visibility?s("span",{staticClass:"text-success"},[t._v("Public")]):"private"===e.visibility?s("span",{staticClass:"text-danger"},[t._v("Private")]):t._e(),t._v(" "),s("span",[t._v("·")]),t._v(" "),e.published_at?s("span",[t._v("Created "+t._s(t.timeago(e.published_at))+" ago")]):s("span",{staticClass:"text-warning"},[t._v("UNPUBLISHED")])])])])])})),0)]),t._v(" "),t.collectionsLoaded&&!t.collections.length?s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyCollections")))])]):t._e()]):3==t.tabIndex?s("div",{staticClass:"px-0 mx-0"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-10"},t._l(t.favourites,(function(e,o){return s("status-card",{key:"prs"+e.id+":"+o,attrs:{profile:t.user,status:e},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMoreFavourites?s("div",{staticClass:"col-12 col-md-10"},[s("intersect",{on:{enter:t.enterFavouritesIntersect}},[s("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.favourites&&t.favourites.length?t._e():s("div",{staticClass:"row justify-content-center"},[t._m(2)])]):"bookmarks"==t.tabIndex?s("div",{staticClass:"px-0 mx-0"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-10"},t._l(t.bookmarks,(function(e,o){return s("status-card",{key:"prs"+e.id+":"+o,attrs:{profile:t.user,"new-reactions":!0,status:e},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1)]),t._v(" "),t.bookmarks&&t.bookmarks.length?t._e():s("div",{staticClass:"row justify-content-center"},[t._m(3)])]):t._e(),t._v(" "),t.showMenu?s("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.user},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?s("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.user}}):t._e(),t._v(" "),s("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label rounded"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-video fa-2x p-2 d-flex-inline"})])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"info-overlay-text-label"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v("We can't seem to find any posts you have liked")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"col-12 col-md-8 text-center"},[s("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),s("p",{staticClass:"lead text-muted font-weight-bold"},[t._v("We can't seem to find any posts you have bookmarked")])])}]},50252:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-followers-component"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-7"},[s("div",{staticClass:"header h1 font-weight-bold mb-3"},[t._v("\n\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t")]),t._v(" "),t.isLoaded?s("div",{staticClass:"list-group"},[t._l(t.feed,(function(e,o){return s("div",{staticClass:"list-group-item"},[s("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+e.id,href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(e))}})]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])])])]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+e.id,triggers:"hover",placement:"left","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:e}})],1)],1)})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():s("div",[t._m(0)])],2):s("div",{staticClass:"list-group"},[s("placeholder")],1)])])])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item text-center"},[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No followers yet!")])])}]},83357:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-following-component"},[s("div",{staticClass:"row justify-content-center"},[s("div",{staticClass:"col-12 col-md-7"},[s("div",{staticClass:"header h1 font-weight-bold mb-3"},[t._v("\n\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t")]),t._v(" "),t.isLoaded?s("div",{staticClass:"list-group"},[t._l(t.feed,(function(e,o){return s("div",{staticClass:"list-group-item"},[s("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+e.id,href:e.url},on:{click:function(s){return s.preventDefault(),t.goToProfile(e)}}},[s("div",{staticClass:"media"},[s("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:e.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate"},[s("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(e))}})]),t._v(" "),s("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(e.acct))])])])]),t._v(" "),s("b-popover",{attrs:{target:"apop_"+e.id,triggers:"hover",placement:"left","custom-class":"shadow border-0 rounded-px"}},[s("profile-hover-card",{attrs:{profile:e}})],1)],1)})),t._v(" "),t.canLoadMore?s("div",[s("intersect",{on:{enter:t.enterIntersect}},[s("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():s("div",[t._m(0)])],2):s("div",{staticClass:"list-group"},[s("placeholder")],1)])])])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"list-group-item text-center"},[s("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Not following anyone yet!")])])}]},785:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-hover-card"},[s("div",{staticClass:"profile-hover-card-inner"},[s("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[s("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[s("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?s("div",[s("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?s("div",[t.relationship.following?s("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Following")])]):s("div",[t.relationship.requested?s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):s("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?s("span",[s("b-spinner",{attrs:{small:""}})],1):s("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),s("p",{staticClass:"display-name"},[s("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),s("div",{staticClass:"username"},[s("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?s("p",{staticClass:"username-follows-you"},[s("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns.length?s("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),s("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),s("p",{staticClass:"stats"},[s("span",{staticClass:"stats-following"},[s("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),s("span",{staticClass:"stats-followers"},[s("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},19662:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-sidebar-component"},[s("div",[s("div",{staticClass:"d-block d-md-none"},[s("div",{staticClass:"media user-card user-select-none"},[s("div",{staticStyle:{position:"relative"}},[s("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.profile.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),s("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?s("span",[t._v("@"+t._s(t.profile.acct))]):s("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?s("span",[s("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),s("div",{staticClass:"stats"},[s("div",{staticClass:"stats-posts",on:{click:function(e){return t.toggleTab("index")}}},[s("div",{staticClass:"posts-count"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),s("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.posts"))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"stats-followers",on:{click:function(e){return t.toggleTab("followers")}}},[s("div",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),s("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"stats-following",on:{click:function(e){return t.toggleTab("following")}}},[s("div",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),s("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),s("div",{staticClass:"d-none d-md-flex justify-content-between align-items-center"},[s("button",{staticClass:"btn btn-link",on:{click:function(e){return t.goBack()}}},[s("i",{staticClass:"far fa-chevron-left fa-lg text-lighter"})]),t._v(" "),s("div",[s("img",{staticClass:"avatar img-fluid shadow border",attrs:{src:t.getAvatar(),onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),t.profile.is_admin?s("p",{staticClass:"text-right",staticStyle:{"margin-top":"-30px"}},[s("span",{staticClass:"admin-label"},[t._v("Admin")])]):t._e()]),t._v(" "),s("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[s("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),t.profile.local?s("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]):t._e(),t._v(" "),s("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?s("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?s("div",[s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[s("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t")])],1):s("div",[t.profile.local?t._e():s("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")])],1),t._v(" "),t.profile.id!==t.user.id?s("div",[s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t")]),t._v(" "),s("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t")]),t._v(" "),s("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1),t._v(" "),s("div",{staticClass:"d-none d-md-block text-center"},[s("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),s("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?s("span",[t._v("@"+t._s(t.profile.acct))]):s("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?s("span",[s("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),t.user.id!=t.profile.id&&(t.relationship.followed_by||t.relationship.muting||t.relationship.blocking)?s("p",{staticClass:"mt-n3 text-center"},[t.relationship.followed_by?s("span",{staticClass:"badge badge-primary p-1"},[t._v("Follows you")]):t._e(),t._v(" "),t.relationship.muting?s("span",{staticClass:"badge badge-dark p-1 ml-1"},[t._v("Muted")]):t._e(),t._v(" "),t.relationship.blocking?s("span",{staticClass:"badge badge-danger p-1 ml-1"},[t._v("Blocked")]):t._e()]):t._e()]),t._v(" "),s("div",{staticClass:"d-none d-md-block stats py-2"},[s("div",{staticClass:"d-flex justify-content-between"},[s("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("index")}}},[s("strong",{attrs:{title:t.profile.statuses_count}},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),s("span",[t._v(t._s(t.$t("profile.posts")))])]),t._v(" "),s("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("followers")}}},[s("strong",{attrs:{title:t.profile.followers_count}},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),s("span",[t._v(t._s(t.$t("profile.followers")))])]),t._v(" "),s("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("following")}}},[s("strong",{attrs:{title:t.profile.following_count}},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),s("span",[t._v(t._s(t.$t("profile.following")))])])])]),t._v(" "),s("div",{staticClass:"d-flex align-items-center mb-3 mb-md-0"},[t.user.id===t.profile.id?s("div",{staticStyle:{"flex-grow":"1"}},[s("a",{staticClass:"btn btn-light font-weight-bold btn-block follow-btn",attrs:{href:"/settings/home"}},[t._v(t._s(t.$t("profile.editProfile")))])]):s("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following||t.relationship.requested?t.relationship.requested?s("div",[s("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.followRequested"))+"\n\t\t\t\t\t")])]):t.relationship.following&&!t.relationship.requested?s("button",{staticClass:"btn btn-primary font-weight-bold btn-block unfollow-btn",on:{click:t.unfollow}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t")]):t._e():s("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",on:{click:t.follow}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"d-block d-md-none ml-3"},[s("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[s("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),t.profile.local?s("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]):t._e(),t._v(" "),s("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?s("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?s("div",[s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[s("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t")])],1):s("div",[t.profile.local?t._e():s("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")])],1),t._v(" "),t.profile.id!==t.user.id?s("div",[s("b-dropdown-divider"),t._v(" "),s("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t\t")]),t._v(" "),s("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t\t")]),t._v(" "),s("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1)]),t._v(" "),t.profile.note?s("div",{staticClass:"bio-wrapper card shadow-none"},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"bio-body"},[s("div",{domProps:{innerHTML:t._s(t.getBio())}})])])]):t._e(),t._v(" "),s("div",{staticClass:"d-none d-md-block card card-body shadow-none py-2"},[t.profile.website?s("p",{staticClass:"small"},[t._m(0),t._v(" "),s("span",[s("a",{staticClass:"font-weight-bold",attrs:{href:t.profile.website}},[t._v(t._s(t.profile.website))])])]):t._e(),t._v(" "),s("p",{staticClass:"mb-0 small"},[t._m(1),t._v(" "),s("span",[t._v("\n\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\t\t\t\t")])])]),t._v(" "),s("div",{staticClass:"d-none d-md-flex sidebar-sitelinks"},[s("a",{attrs:{href:"/site/about"}},[t._v(t._s(t.$t("navmenu.about")))]),t._v(" "),s("router-link",{attrs:{to:"/i/web/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),s("router-link",{attrs:{to:"/i/web/language"}},[t._v(t._s(t.$t("navmenu.language")))]),t._v(" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),s("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))])],1),t._v(" "),t._m(2)]),t._v(" "),s("b-modal",{ref:"fullBio",attrs:{centered:"","hide-footer":"","ok-only":"","ok-title":"Close","ok-variant":"light",scrollable:!0,"body-class":"p-md-5",title:"Bio"}},[s("div",{domProps:{innerHTML:t._s(t.profile.note)}})])],1)},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-lighter mr-2"},[e("i",{staticClass:"far fa-link"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"text-lighter mr-2"},[e("i",{staticClass:"far fa-clock"})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"d-none d-md-block sidebar-attribution"},[s("a",{staticClass:"font-weight-bold",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])])}]}}]); \ No newline at end of file diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 112f25641..6cc789cb0 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -6,7 +6,7 @@ "/js/profile.js": "/js/profile.js?id=205015f18099f8ccfe59843dc5892624", "/js/status.js": "/js/status.js?id=f0e2ad5d590f2f2d93327b134a1aae1a", "/js/timeline.js": "/js/timeline.js?id=e1ef49a2bf4241f4353e2ee48ff965c5", - "/js/compose.js": "/js/compose.js?id=08f82bff39cf03cd84c1358b8d5dddd4", + "/js/compose.js": "/js/compose.js?id=09edd510f7cb4878c176a9c0d51f09fb", "/js/compose-classic.js": "/js/compose-classic.js?id=cd528ed559170702655d497b469a905b", "/js/search.js": "/js/search.js?id=1ad4af345d2c8a14541a03937ea4904b", "/js/developers.js": "/js/developers.js?id=5789400f559a5329ce547f5eed0de929", @@ -23,10 +23,10 @@ "/js/spa.js": "/js/spa.js?id=fe1fa8c012ea5c2b15c9e4c10ebe1da5", "/js/stories.js": "/js/stories.js?id=048de600ee6dfccaeaf06070999cb892", "/js/manifest.js": "/js/manifest.js?id=408e0d9f96091e680f9aed91d8409161", - "/js/home-chunk.js": "/js/home-chunk.js?id=20022a484d49cbdfc428b963859f0de2", - "/js/compose-chunk.js": "/js/compose-chunk.js?id=69d57b8f5c41690b7a08f4a4174edd0e", - "/js/post-chunk.js": "/js/post-chunk.js?id=a588368947321316b1cdf5393e7ae283", - "/js/profile-chunk.js": "/js/profile-chunk.js?id=3d2eb6b341868fdf44e78ecb4c61b1e1", + "/js/home-chunk.js": "/js/home-chunk.js?id=3b5da705db3a1ca342bbff3319dcd5f1", + "/js/compose-chunk.js": "/js/compose-chunk.js?id=cf39dd2fa64073fefd76ef2bb793ce9e", + "/js/post-chunk.js": "/js/post-chunk.js?id=083bb90731e5e1429822db7edb6a26ed", + "/js/profile-chunk.js": "/js/profile-chunk.js?id=aea66773b0837a32bd9b3f993107c1bd", "/css/appdark.css": "/css/appdark.css?id=a661085d048e4e6b953ba58086d34007", "/css/app.css": "/css/app.css?id=ef378884d2b1cf81e12851d2aab5089a", "/css/spa.css": "/css/spa.css?id=c1320213cd53b5dbb38057e8054bb0db",