diff --git a/public/js/discover.chunk.3bf28b9cb8e2b43c.js b/public/js/discover.chunk.3bf28b9cb8e2b43c.js new file mode 100644 index 000000000..f5c74aab1 --- /dev/null +++ b/public/js/discover.chunk.3bf28b9cb8e2b43c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[4958],{71694:(t,e,a)=>{a.r(e),a.d(e,{default:()=>f});var s=a(42755),i=a(88231),n=a(78375),r=a(56899),o=a(92614),l=a(51436),c=a(53343),d=a(89601);const f={components:{drawer:s.default,sidebar:i.default,rightbar:n.default,discover:r.default,"news-slider":o.default,"discover-spotlight":l.default,"daily-trending":c.default,"grid-card":d.default},data:function(){return{isLoaded:!1,profile:void 0,config:{},tab:"index",popularAccounts:[],followingIndex:void 0}},updated:function(){},mounted:function(){this.profile=window._sharedData.user,this.fetchConfig()},methods:{fetchConfig:function(){var t=this;axios.get("/api/pixelfed/v2/discover/meta").then((function(e){t.config=e.data,t.isLoaded=!0,window._sharedData.discoverMeta=e.data}))},fetchPopularAccounts:function(){},followProfile:function(t){var e=this;event.currentTarget.blur(),this.followingIndex=t;var a=this.popularAccounts[t].id;axios.post("/api/v1/accounts/"+a+"/follow").then((function(a){e.followingIndex=void 0,e.popularAccounts.splice(t,1)})).catch((function(t){e.followingIndex=void 0,swal("Oops!","An error occured when attempting to follow this account.","error")}))},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},toggleTab:function(t){this.tab=t,setTimeout((function(){window.scrollTo({top:0,behavior:"smooth"})}),300)},openManageModal:function(){event.currentTarget.blur(),swal("Settings","Discover settings here","info")}}}},21409:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{isLoaded:!1,initialFetch:!1,trending:[]}},mounted:function(){this.initialFetch||this.fetchTrending()},methods:{fetchTrending:function(){var t=this;axios.get("/api/pixelfed/v2/discover/posts/trending",{params:{range:"daily"}}).then((function(e){t.trending=e.data.filter((function(t){return"photo"===t.pf_type})).slice(0,9),t.isLoaded=!0,t.initialFetch=!0}))},gotoPost:function(t){this.$router.push("/i/web/post/"+t)},viewMore:function(){this.$emit("btn-click","trending")}}}},27070:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{isLoaded:!1}},mounted:function(){var t=this;setTimeout((function(){t.isLoaded=!0}),1e3)}}},99763:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{small:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},subtitle:{type:String},title:{type:String},buttonText:{type:String},buttonLink:{type:String},buttonEvent:{type:Boolean,default:!1},iconClass:{type:String}},methods:{handleLink:function(){1!=this.buttonEvent?this.buttonLink&&null!=this.buttonLink?this.$router.push(this.buttonLink):swal("Oops","This is embarassing, we cannot redirect you to the proper page at the moment","warning"):this.$emit("btn-click")}}}},1426:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={}},89250:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},29022:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,a){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var a=0;a{a.r(e),a.d(e,{default:()=>s});const s={props:{small:{type:Boolean,default:!1}}}},5540:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={components:{notifications:a(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,e,a)=>{a.r(e),a.d(e,{default:()=>c});var s=a(20629),i=a(68296),n=a(76429);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function l(t,e,a){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var s=a.call(t,e||"default");if("object"!==r(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:i.default,UpdateAvatar:n.default},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return s.length?''.concat(s[0].shortcode,''):e}))}return a},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:a,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},66925:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},13936:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{profile:{type:Object}},data:function(){return{loading:!0,trending:[],range:"daily",breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"Trending",active:!0}]}},mounted:function(){this.loadTrending()},methods:{fetchData:function(){var t=this;axios.get("/api/pixelfed/v2/discover/posts").then((function(e){t.posts=e.data.posts.filter((function(t){return null!=t})),t.recommendedLoading=!1}))},loadTrending:function(){var t=this;this.loading=!0,axios.get("/api/pixelfed/v2/discover/posts/trending",{params:{range:this.range}}).then((function(e){var a=e.data.filter((function(t){return null!==t}));t.trending=a.filter((function(t){return 0==t.sensitive})),"daily"==t.range&&0==a.length&&(t.range="yearly",t.loadTrending()),t.loading=!1}))},formatCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},rangeToggle:function(t){event.currentTarget.blur(),this.range=t,this.loadTrending()}}}},43762:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(73128),i=a(78423);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 a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))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 a=0,s=new Array(e);aWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var a=document.createElement("div");a.appendChild(e),swal({title:"Why was my post unlisted?",content:a,icon:"warning"})}}}},82830:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),"index"==t.tab?e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[t.profile.is_admin?e("div",{staticClass:"d-md-flex my-md-3"},[e("grid-card",{attrs:{dark:!0,title:"Hello "+t.profile.username,subtitle:"Welcome to the new Discover experience! Only admins can see this","button-text":"Manage Discover Settings","button-link":"/i/web/discover/settings","icon-class":"fal fa-cog",small:!0}})],1):t._e(),t._v(" "),e("daily-trending",{on:{"btn-click":function(e){return t.toggleTab("trending")}}}),t._v(" "),e("div",{staticClass:"d-md-flex my-md-3"},[t.config.hashtags.enabled?e("grid-card",{attrs:{dark:!0,title:"My Hashtags",subtitle:"Explore posts tagged with hashtags you follow","button-text":"Explore Posts","button-link":"/i/web/discover/my-hashtags","icon-class":"fal fa-hashtag",small:!1}}):t._e(),t._v(" "),t.config.memories.enabled?e("grid-card",{attrs:{title:"My Memories",subtitle:"A distant look back","button-text":"View Memories","button-link":"/i/web/discover/my-memories","icon-class":"fal fa-history",small:!1}}):t._e()],1),t._v(" "),e("div",{staticClass:"d-md-flex my-md-3"},[t.config.insights.enabled?e("grid-card",{attrs:{title:"Account Insights",subtitle:"Get a rich overview of your account activity and interactions","button-text":"View Account Insights","icon-class":"fal fa-user-circle","button-link":"/i/web/discover/account-insights",small:!1}}):t._e(),t._v(" "),t.config.friends.enabled?e("grid-card",{attrs:{dark:!0,title:"Find Friends",subtitle:"Find accounts to follow based on common interests","button-text":"Find Friends & Followers","button-link":"/i/web/discover/find-friends","icon-class":"fal fa-user-plus",small:!1}}):t._e()],1),t._v(" "),e("div",{staticClass:"d-md-flex my-md-3"},[t.config.server.enabled&&t.config.server.domains&&t.config.server.domains.length?e("grid-card",{attrs:{dark:!0,title:"Server Timelines",subtitle:"Browse timelines of a specific remote instance","button-text":"Browse Server Feeds","icon-class":"fal fa-list","button-link":"/i/web/discover/server-timelines",small:!1}}):t._e()],1)],1):"trending"==t.tab?e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[e("discover",{attrs:{profile:t.profile}})],1):"popular-places"==t.tab?e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[t._m(0)]):t._e()]),t._v(" "),e("drawer")],1):t._e()])},i=[function(){var t=this,e=t._self._c;return e("section",{staticClass:"mt-3 mb-5 section-explore"},[e("div",{staticClass:"profile-timeline"},[e("div",{staticClass:"row p-0 mt-5"},[e("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[e("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0 font-default"},[t._v("Popular Places")]),t._v(" "),e("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0 font-default"},[t._v("Popular Places")])])])]),t._v(" "),e("div",{staticClass:"row mt-5"},[e("div",{staticClass:"col-12 col-md-12 mb-3"},[e("div",{staticClass:"card-img big"},[e("img",{attrs:{src:"/img/places/nyc.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("New York City")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/edmonton.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Edmonton")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/paris.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Paris")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/london.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("London")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/vancouver.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Vancouver")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/toronto.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Toronto")])])])])])}]},55219:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-daily-trending"},[e("div",{staticClass:"card bg-stellar"},[e("div",{staticClass:"card-body m-5"},[e("div",{staticClass:"row d-flex align-items-center"},[e("div",{staticClass:"col-12 col-md-5"},[e("p",{staticClass:"font-default text-light mb-0"},[t._v("Popular and trending posts")]),t._v(" "),e("h1",{staticClass:"display-4 font-default text-white",staticStyle:{"font-weight":"700"}},[t._v("Daily Trending")]),t._v(" "),e("button",{staticClass:"btn btn-outline-light rounded-pill",on:{click:function(e){return t.viewMore()}}},[t._v("View more trending posts")])]),t._v(" "),e("div",{staticClass:"col-12 col-md-7"},[t.isLoaded?e("div",{staticClass:"row"},t._l(t.trending,(function(a,s){return e("div",{staticClass:"col-4"},[e("a",{attrs:{href:a.url},on:{click:function(e){return e.preventDefault(),t.gotoPost(a.id)}}},[e("img",{staticClass:"shadow m-1",staticStyle:{"object-fit":"cover","border-radius":"8px"},attrs:{src:a.media_attachments[0].url,width:"170",height:"170"}})])])})),0):e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 d-flex justify-content-center"},[e("b-spinner",{attrs:{type:"grow",variant:"light"}})],1)])])])])])])},i=[]},46650:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-spotlight"},[e("div",{staticClass:"card bg-dark text-white"},[e("div",{staticClass:"card-body my-5 p-5 w-100 h-100 d-flex justify-content-center align-items-center"},[e("transition",{attrs:{"enter-active-class":"animate__animated animate__fadeInDownBig","leave-active-class":"animate__animated animate__fadeOutDownBig",mode:"out-in"}},[t.isLoaded?e("div",{staticClass:"row"},[e("div",{staticClass:"col-5"},[e("h1",{staticClass:"display-3 font-default mb-3",staticStyle:{"line-height":"1","font-weight":"600"}},[t._v("\n\t\t\t\t\t\t\tSpotlight\n\t\t\t\t\t\t")]),t._v(" "),e("h1",{staticClass:"display-5 font-default",staticStyle:{"line-height":"1"}},[e("span",{staticClass:"text-muted",staticStyle:{"line-height":"0.8","font-weight":"200","letter-spacing":"-1.2px"}},[t._v("\n\t\t\t\t\t\t\t\tCommunity curated\n\t\t\t\t\t\t\t\tcollection of creators\n\t\t\t\t\t\t\t")])]),t._v(" "),e("p",{staticClass:"lead font-default mt-4"},[t._v("This weeks collection is curated by "),e("span",{staticClass:"primary"},[t._v("@dansup")])])]),t._v(" "),e("div",{staticClass:"col-7 d-flex justify-content-between"},[e("div",{staticClass:"text-center mr-4"},[e("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:"https://pixelfed.test/storage/avatars/321493203255693312/skvft7.jpg?v=33",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';",width:"160",height:"160"}}),t._v(" "),e("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])]),t._v(" "),e("div",{staticClass:"text-center mr-4"},[e("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:"https://pixelfed.test/storage/avatars/321493203255693312/skvft7.jpg?v=33",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';",width:"160",height:"160"}}),t._v(" "),e("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])]),t._v(" "),e("div",{staticClass:"text-center"},[e("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:"https://pixelfed.test/storage/avatars/321493203255693312/skvft7.jpg?v=33",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';",width:"160",height:"160"}}),t._v(" "),e("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])])])]):t._e()]),t._v(" "),t.isLoaded?t._e():e("div",{},[e("b-spinner",{attrs:{type:"grow"}})],1)],1)])])},i=[]},63990:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-grid-card"},[e("div",{staticClass:"discover-grid-card-body",class:{dark:t.dark,small:t.small}},[e("div",{staticClass:"section-copy"},[e("p",{staticClass:"subtitle"},[t._v(t._s(t.subtitle))]),t._v(" "),e("h1",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),t.buttonText?e("button",{staticClass:"btn btn-outline-dark rounded-pill py-1",on:{click:function(e){return e.preventDefault(),t.handleLink()}}},[t._v(t._s(t.buttonText))]):t._e()]),t._v(" "),e("div",{staticClass:"section-icon"},[e("i",{class:t.iconClass})])])])},i=[]},402:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rounded-3 overflow-hidden discover-news-slider"},[e("div",{staticClass:"row align-items-center"},[t._m(0),t._v(" "),e("div",{staticClass:"col-lg-6 col-md-7 offset-xl-1"},[e("div",{staticClass:"position-relative d-flex flex-column align-items-center justify-content-center h-100"},[e("svg",{staticClass:"d-none d-md-block position-absolute top-50 start-0 translate-middle-y",staticStyle:{"min-width":"868px"},attrs:{width:"868",height:"868",viewBox:"0 0 868 868",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("circle",{attrs:{opacity:"0.15",cx:"434",cy:"434",r:"434",fill:"#7dd3fc"}})]),t._v(" "),t._m(1)])])]),t._v(" "),t._m(2)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-xl-4 col-md-5 offset-lg-1"},[e("div",{staticClass:"pt-5 pb-3 pb-md-5 px-4 px-lg-0"},[e("p",{staticClass:"lead mb-3",staticStyle:{"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","letter-spacing":"-0.7px","font-weight":"300","font-size":"20px"}},[t._v("Introducing")]),t._v(" "),e("h2",{staticClass:"h1 pb-0 mb-3",staticStyle:{"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","letter-spacing":"-1px","font-weight":"700"}},[t._v("Emoji "),e("span",{staticClass:"primary"},[t._v("Reactions")])]),t._v(" "),e("p",{staticClass:"lead",staticStyle:{"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","letter-spacing":"-0.7px","font-weight":"400","font-size":"17px","line-height":"15px"}},[t._v("\n\t\t\t\t\tA new way to interact with content,"),e("br"),t._v(" now available!\n\t\t\t\t")]),t._v(" "),e("a",{staticClass:"btn btn-primary primary btn-sm",attrs:{href:"#"}},[t._v("Learn more "),e("i",{staticClass:"far fa-chevron-right fa-sm ml-2"})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex"},[e("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/hushed_face.gif",width:"100",alt:"Illustration"}}),t._v(" "),e("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/thumbs_up.gif",width:"100",alt:"Illustration"}}),t._v(" "),e("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/sparkling_heart.gif",width:"100",alt:"Illustration"}})])},function(){var t=this,e=t._self._c;return e("div",{staticStyle:{position:"absolute",left:"50%",transform:"translateX(-50%)",bottom:"10px"}},[e("div",{staticClass:"d-flex"},[e("button",{staticClass:"btn btn-link p-0"},[e("i",{staticClass:"far fa-dot-circle"})]),t._v(" "),e("button",{staticClass:"btn btn-link p-0 mx-2"},[e("i",{staticClass:"far fa-circle"})]),t._v(" "),e("button",{staticClass:"btn btn-link p-0"},[e("i",{staticClass:"far fa-circle"})])])])}]},7231:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},73023:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},50554:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},20832:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},i=[]},30964:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},78061:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"align-self-start"},[e("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),e("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),e("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},70326:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-feed-component"},[e("section",{staticClass:"mt-3 mb-5 section-explore"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("div",{staticClass:"profile-timeline"},[e("div",{staticClass:"row p-0 mt-5"},[e("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[e("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0 font-default"},[t._v("Trending")]),t._v(" "),e("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0 font-default"},[t._v("Trending")]),t._v(" "),e("div",[e("div",{staticClass:"btn-group trending-range"},[e("button",{class:"daily"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("daily")}}},[t._v("Today")]),t._v(" "),e("button",{class:"monthly"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("monthly")}}},[t._v("This month")]),t._v(" "),e("button",{class:"yearly"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("yearly")}}},[t._v("This year")])])])])]),t._v(" "),t.loading?e("div",{staticClass:"row p-0 px-lg-3"},[e("div",{staticClass:"col-12 d-flex align-items-center justify-content-center",staticStyle:{"min-height":"40vh"}},[e("b-spinner",{attrs:{size:"lg"}})],1)]):e("div",{staticClass:"row p-0 px-lg-3"},t._l(t.trending,(function(a,s){return t.trending.length?e("div",{staticClass:"col-6 col-lg-4 col-xl-3 p-1"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:a.url},on:{click:function(e){return e.preventDefault(),t.goToPost(a)}}},[e("div",{staticClass:"square square-next"},[a.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:a.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:a.media_attachments[0].blurhash,src:a.media_attachments[0].preview_url}})],1),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("div",{staticClass:"text-white m-auto"},[e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(a.favourites_count)))])]),t._v(" "),e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(a.reply_count)))])]),t._v(" "),e("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(a.reblogs_count)))])])])])])])]):e("div",{staticClass:"col-12 d-flex align-items-center justify-content-center bg-light border",staticStyle:{"min-height":"40vh"}},[e("div",{staticClass:"h2"},[t._v("No posts found :(")])])})),0)])],1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}]},63512:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(a,s){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},["autospam.warning"===a.type?e("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:a.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),a.status&&a.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status),id:"fvn-"+a.id},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+a.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(a),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mt-n1 mb-0"},[e("span",{staticClass:"small text-muted"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showAutospamInfo(a.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:a.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+a.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+a.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(t.truncate(a.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:a.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:a.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+a.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:a.group.url,title:a.group.name}},[t._v(t._s(t.truncate(a.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:a.group.url,title:a.group.name}},[t._v(t._s(t.truncate(a.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:a.group.url+"/invite/claim",title:a.group.name}},[t._v(t._s(a.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:a.created_at}},[t._v(t._s(t.timeAgo(a.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},i=[]},21979:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,'.card-img[data-v-b270da6e]{position:relative}.card-img img[data-v-b270da6e]{border-radius:10px;height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.card-img[data-v-b270da6e]:after,.card-img[data-v-b270da6e]:before{background:rgba(0,0,0,.2);border-radius:10px;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:2}.card-img .title[data-v-b270da6e]{bottom:5px;color:#fff;font-size:40px;font-weight:700;left:10px;position:absolute;z-index:3}.card-img.big img[data-v-b270da6e]{height:300px}.font-default[data-v-b270da6e]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.bg-stellar[data-v-b270da6e]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.bg-berry[data-v-b270da6e]{background:#5433ff;background:linear-gradient(90deg,#acb6e5,#86fde8)}.bg-midnight[data-v-b270da6e]{background:#232526;background:linear-gradient(90deg,#414345,#232526)}.media-body[data-v-b270da6e]{margin-right:.5rem}.avatar[data-v-b270da6e]{border-radius:15px}.username[data-v-b270da6e]{word-wrap:break-word!important;font-size:14px;line-height:14px;margin-bottom:2px;word-break:break-word!important}.display-name[data-v-b270da6e]{font-size:12px}.display-name[data-v-b270da6e],.follower-count[data-v-b270da6e]{word-wrap:break-word!important;margin-bottom:0;word-break:break-word!important}.follower-count[data-v-b270da6e]{font-size:10px}.follow[data-v-b270da6e]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}',""]);const n=i},8816:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".discover-daily-trending .bg-stellar{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-daily-trending .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}",""]);const n=i},83622:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".discover-spotlight{overflow:hidden}.discover-spotlight .card-body{min-height:322px}.discover-spotlight .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-spotlight .bg-stellar{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-spotlight .bg-berry{background:#5433ff;background:linear-gradient(90deg,#acb6e5,#86fde8)}.discover-spotlight .bg-midnight{background:#232526;background:linear-gradient(90deg,#414345,#232526)}",""]);const n=i},33029:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".discover-grid-card{width:100%}.discover-grid-card-body{background:#f8f9fa;border-radius:8px;color:#212529;overflow:hidden;padding:3rem 3rem 0;text-align:center;width:100%}.discover-grid-card-body .section-copy{margin-bottom:1rem;margin-top:1rem;padding-bottom:1rem;padding-top:1rem}.discover-grid-card-body .section-copy .subtitle{color:#6c757d;font-size:16px;margin-bottom:0}.discover-grid-card-body .section-copy .btn,.discover-grid-card-body .section-copy .subtitle,.discover-grid-card-body .section-copy .title{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-grid-card-body .section-icon{align-items:center;background:#232526;background:linear-gradient(90deg,#414345,#232526);border-radius:21px 21px 0 0;box-shadow:0 .125rem .25rem rgba(0,0,0,.08)!important;display:flex;height:300px;justify-content:center;margin-left:auto;margin-right:auto;width:80%}.discover-grid-card-body .section-icon i{color:#fff;font-size:10rem}.discover-grid-card-body.small .section-icon{height:120px}.discover-grid-card-body.small .section-icon i{font-size:4rem}.discover-grid-card-body.dark{background:#232526;background:linear-gradient(90deg,#414345,#232526);color:#fff}.discover-grid-card-body.dark .section-icon{background:#f8f9fa;color:#fff}.discover-grid-card-body.dark .section-icon i{color:#232526}.discover-grid-card-body.dark .btn-outline-dark{border-color:#f8f9fa;color:#f8f9fa}",""]);const n=i},65998:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".discover-news-slider{background-color:#e0f2fe;position:relative}",""]);const n=i},95433:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},17738:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const n=i},1644:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},195:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const n=i},52305:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".discover-feed-component .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-feed-component .info-overlay,.discover-feed-component .square-next .info-overlay-text,.discover-feed-component .square-next img{border-radius:15px!important}.discover-feed-component .trending-range .btn:hover:not(.btn-danger){background-color:#fca5a5}.discover-feed-component .info-overlay-text-field{font-size:13.5px;margin-bottom:2px}@media (min-width:768px){.discover-feed-component .info-overlay-text-field{font-size:20px;margin-bottom:15px}}",""]);const n=i},74603:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const n=i},35302:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(21979),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},18677:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(8816),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},11275:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(83622),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},19101:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(33029),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},9039:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(65998),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},2869:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(95433),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},92341:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(17738),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},64111:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(1644),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},7051:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(195),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},63775:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(52305),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},32067:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(74603),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},14235:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(13284),i=a(9360),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(77623);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,"b270da6e",null).exports},53343:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(2559),i=a(93069),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(65428);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},51436:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(67315),i=a(97508),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(43312);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},89601:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(24374),i=a(1717),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(25119);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},92614:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(28457),i=a(61838),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(84019);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},42755:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(87661),i=a(1374),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(72682);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},76429:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(5249),i=a(74778),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},73128:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(22356),i=a(163),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},78375:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(79325),i=a(2678),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(86965);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(7071),i=a(28058),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(11883);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},68296:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(48170),i=a(82834),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(89501);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},56899:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(2018),i=a(98922),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(99335);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},73459:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(28670),i=a(67476),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(19727);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},9360:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(71694),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},93069:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(21409),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},97508:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(27070),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},1717:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(99763),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},61838:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1426),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},1374:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(89250),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},74778:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(29022),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},163:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(54076),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},2678:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(5540),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},28058:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(11188),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},82834:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(66925),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},98922:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(13936),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},67476:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(43762),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},13284:(t,e,a)=>{a.r(e);var s=a(82830),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},2559:(t,e,a)=>{a.r(e);var s=a(55219),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},67315:(t,e,a)=>{a.r(e);var s=a(46650),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},24374:(t,e,a)=>{a.r(e);var s=a(63990),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},28457:(t,e,a)=>{a.r(e);var s=a(402),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},87661:(t,e,a)=>{a.r(e);var s=a(7231),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},5249:(t,e,a)=>{a.r(e);var s=a(73023),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},22356:(t,e,a)=>{a.r(e);var s=a(50554),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},79325:(t,e,a)=>{a.r(e);var s=a(20832),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},7071:(t,e,a)=>{a.r(e);var s=a(30964),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},48170:(t,e,a)=>{a.r(e);var s=a(78061),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},2018:(t,e,a)=>{a.r(e);var s=a(70326),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},28670:(t,e,a)=>{a.r(e);var s=a(63512),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},77623:(t,e,a)=>{a.r(e);var s=a(35302),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},65428:(t,e,a)=>{a.r(e);var s=a(18677),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},43312:(t,e,a)=>{a.r(e);var s=a(11275),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},25119:(t,e,a)=>{a.r(e);var s=a(19101),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},84019:(t,e,a)=>{a.r(e);var s=a(9039),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},72682:(t,e,a)=>{a.r(e);var s=a(2869),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},86965:(t,e,a)=>{a.r(e);var s=a(92341),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},11883:(t,e,a)=>{a.r(e);var s=a(64111),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},89501:(t,e,a)=>{a.r(e);var s=a(7051),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},99335:(t,e,a)=>{a.r(e);var s=a(63775),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},19727:(t,e,a)=>{a.r(e);var s=a(32067),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/discover.chunk.5d1455b7a1531f25.js b/public/js/discover.chunk.5d1455b7a1531f25.js deleted file mode 100644 index 3dcd2ff3a..000000000 --- a/public/js/discover.chunk.5d1455b7a1531f25.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[4958],{71694:(t,e,a)=>{a.r(e),a.d(e,{default:()=>f});var s=a(42755),i=a(88231),n=a(78375),r=a(56899),o=a(92614),l=a(51436),c=a(53343),d=a(89601);const f={components:{drawer:s.default,sidebar:i.default,rightbar:n.default,discover:r.default,"news-slider":o.default,"discover-spotlight":l.default,"daily-trending":c.default,"grid-card":d.default},data:function(){return{isLoaded:!1,profile:void 0,config:{},tab:"index",popularAccounts:[],followingIndex:void 0}},updated:function(){},mounted:function(){this.profile=window._sharedData.user,this.fetchConfig()},methods:{fetchConfig:function(){var t=this;axios.get("/api/pixelfed/v2/discover/meta").then((function(e){t.config=e.data,t.isLoaded=!0,window._sharedData.discoverMeta=e.data}))},fetchPopularAccounts:function(){},followProfile:function(t){var e=this;event.currentTarget.blur(),this.followingIndex=t;var a=this.popularAccounts[t].id;axios.post("/api/v1/accounts/"+a+"/follow").then((function(a){e.followingIndex=void 0,e.popularAccounts.splice(t,1)})).catch((function(t){e.followingIndex=void 0,swal("Oops!","An error occured when attempting to follow this account.","error")}))},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},toggleTab:function(t){this.tab=t,setTimeout((function(){window.scrollTo({top:0,behavior:"smooth"})}),300)},openManageModal:function(){event.currentTarget.blur(),swal("Settings","Discover settings here","info")}}}},21409:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{isLoaded:!1,initialFetch:!1,trending:[]}},mounted:function(){this.initialFetch||this.fetchTrending()},methods:{fetchTrending:function(){var t=this;axios.get("/api/pixelfed/v2/discover/posts/trending",{params:{range:"daily"}}).then((function(e){t.trending=e.data.filter((function(t){return"photo"===t.pf_type})).slice(0,9),t.isLoaded=!0,t.initialFetch=!0}))},gotoPost:function(t){this.$router.push("/i/web/post/"+t)},viewMore:function(){this.$emit("btn-click","trending")}}}},27070:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{isLoaded:!1}},mounted:function(){var t=this;setTimeout((function(){t.isLoaded=!0}),1e3)}}},99763:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{small:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},subtitle:{type:String},title:{type:String},buttonText:{type:String},buttonLink:{type:String},buttonEvent:{type:Boolean,default:!1},iconClass:{type:String}},methods:{handleLink:function(){1!=this.buttonEvent?this.buttonLink&&null!=this.buttonLink?this.$router.push(this.buttonLink):swal("Oops","This is embarassing, we cannot redirect you to the proper page at the moment","warning"):this.$emit("btn-click")}}}},1426:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={}},89250:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},29022:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,a){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var a=0;a{a.r(e),a.d(e,{default:()=>s});const s={props:{small:{type:Boolean,default:!1}}}},5540:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={components:{notifications:a(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,e,a)=>{a.r(e),a.d(e,{default:()=>c});var s=a(20629),i=a(68296),n=a(76429);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function l(t,e,a){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var s=a.call(t,e||"default");if("object"!==r(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:i.default,UpdateAvatar:n.default},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return s.length?''.concat(s[0].shortcode,''):e}))}return a},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:a,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},66925:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},13936:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{profile:{type:Object}},data:function(){return{loading:!0,trending:[],range:"daily",breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"Trending",active:!0}]}},mounted:function(){this.loadTrending()},methods:{fetchData:function(){var t=this;axios.get("/api/pixelfed/v2/discover/posts").then((function(e){t.posts=e.data.posts.filter((function(t){return null!=t})),t.recommendedLoading=!1}))},loadTrending:function(){var t=this;this.loading=!0,axios.get("/api/pixelfed/v2/discover/posts/trending",{params:{range:this.range}}).then((function(e){var a=e.data.filter((function(t){return null!==t}));t.trending=a.filter((function(t){return 0==t.sensitive})),"daily"==t.range&&0==a.length&&(t.range="yearly",t.loadTrending()),t.loading=!1}))},formatCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},rangeToggle:function(t){event.currentTarget.blur(),this.range=t,this.loadTrending()}}}},43762:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(73128),i=a(78423);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 a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))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 a=0,s=new Array(e);aWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var a=document.createElement("div");a.appendChild(e),swal({title:"Why was my post unlisted?",content:a,icon:"warning"})}}}},82830:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),"index"==t.tab?e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[t.profile.is_admin?e("div",{staticClass:"d-md-flex my-md-3"},[e("grid-card",{attrs:{dark:!0,title:"Hello "+t.profile.username,subtitle:"Welcome to the new Discover experience! Only admins can see this","button-text":"Manage Discover Settings","button-link":"/i/web/discover/settings","icon-class":"fal fa-cog",small:!0}})],1):t._e(),t._v(" "),e("daily-trending",{on:{"btn-click":function(e){return t.toggleTab("trending")}}}),t._v(" "),e("div",{staticClass:"d-md-flex my-md-3"},[t.config.hashtags.enabled?e("grid-card",{attrs:{dark:!0,title:"My Hashtags",subtitle:"Explore posts tagged with hashtags you follow","button-text":"Explore Posts","button-link":"/i/web/discover/my-hashtags","icon-class":"fal fa-hashtag",small:!1}}):t._e(),t._v(" "),t.config.memories.enabled?e("grid-card",{attrs:{title:"My Memories",subtitle:"A distant look back","button-text":"View Memories","button-link":"/i/web/discover/my-memories","icon-class":"fal fa-history",small:!1}}):t._e()],1),t._v(" "),e("div",{staticClass:"d-md-flex my-md-3"},[t.config.insights.enabled?e("grid-card",{attrs:{title:"Account Insights",subtitle:"Get a rich overview of your account activity and interactions","button-text":"View Account Insights","icon-class":"fal fa-user-circle","button-link":"/i/web/discover/account-insights",small:!1}}):t._e(),t._v(" "),t.config.friends.enabled?e("grid-card",{attrs:{dark:!0,title:"Find Friends",subtitle:"Find accounts to follow based on common interests","button-text":"Find Friends & Followers","button-link":"/i/web/discover/find-friends","icon-class":"fal fa-user-plus",small:!1}}):t._e()],1),t._v(" "),e("div",{staticClass:"d-md-flex my-md-3"},[t.config.server.enabled&&t.config.server.domains&&t.config.server.domains.length?e("grid-card",{attrs:{dark:!0,title:"Server Timelines",subtitle:"Browse timelines of a specific remote instance","button-text":"Browse Server Feeds","icon-class":"fal fa-list","button-link":"/i/web/discover/server-timelines",small:!1}}):t._e()],1)],1):"trending"==t.tab?e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[e("discover",{attrs:{profile:t.profile}})],1):"popular-places"==t.tab?e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[t._m(0)]):t._e()]),t._v(" "),e("drawer")],1):t._e()])},i=[function(){var t=this,e=t._self._c;return e("section",{staticClass:"mt-3 mb-5 section-explore"},[e("div",{staticClass:"profile-timeline"},[e("div",{staticClass:"row p-0 mt-5"},[e("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[e("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0 font-default"},[t._v("Popular Places")]),t._v(" "),e("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0 font-default"},[t._v("Popular Places")])])])]),t._v(" "),e("div",{staticClass:"row mt-5"},[e("div",{staticClass:"col-12 col-md-12 mb-3"},[e("div",{staticClass:"card-img big"},[e("img",{attrs:{src:"/img/places/nyc.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("New York City")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/edmonton.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Edmonton")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/paris.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Paris")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/london.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("London")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/vancouver.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Vancouver")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/toronto.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Toronto")])])])])])}]},55219:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-daily-trending"},[e("div",{staticClass:"card bg-stellar"},[e("div",{staticClass:"card-body m-5"},[e("div",{staticClass:"row d-flex align-items-center"},[e("div",{staticClass:"col-12 col-md-5"},[e("p",{staticClass:"font-default text-light mb-0"},[t._v("Popular and trending posts")]),t._v(" "),e("h1",{staticClass:"display-4 font-default text-white",staticStyle:{"font-weight":"700"}},[t._v("Daily Trending")]),t._v(" "),e("button",{staticClass:"btn btn-outline-light rounded-pill",on:{click:function(e){return t.viewMore()}}},[t._v("View more trending posts")])]),t._v(" "),e("div",{staticClass:"col-12 col-md-7"},[t.isLoaded?e("div",{staticClass:"row"},t._l(t.trending,(function(a,s){return e("div",{staticClass:"col-4"},[e("a",{attrs:{href:a.url},on:{click:function(e){return e.preventDefault(),t.gotoPost(a.id)}}},[e("img",{staticClass:"shadow m-1",staticStyle:{"object-fit":"cover","border-radius":"8px"},attrs:{src:a.media_attachments[0].url,width:"170",height:"170"}})])])})),0):e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 d-flex justify-content-center"},[e("b-spinner",{attrs:{type:"grow",variant:"light"}})],1)])])])])])])},i=[]},46650:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-spotlight"},[e("div",{staticClass:"card bg-dark text-white"},[e("div",{staticClass:"card-body my-5 p-5 w-100 h-100 d-flex justify-content-center align-items-center"},[e("transition",{attrs:{"enter-active-class":"animate__animated animate__fadeInDownBig","leave-active-class":"animate__animated animate__fadeOutDownBig",mode:"out-in"}},[t.isLoaded?e("div",{staticClass:"row"},[e("div",{staticClass:"col-5"},[e("h1",{staticClass:"display-3 font-default mb-3",staticStyle:{"line-height":"1","font-weight":"600"}},[t._v("\n\t\t\t\t\t\t\tSpotlight\n\t\t\t\t\t\t")]),t._v(" "),e("h1",{staticClass:"display-5 font-default",staticStyle:{"line-height":"1"}},[e("span",{staticClass:"text-muted",staticStyle:{"line-height":"0.8","font-weight":"200","letter-spacing":"-1.2px"}},[t._v("\n\t\t\t\t\t\t\t\tCommunity curated\n\t\t\t\t\t\t\t\tcollection of creators\n\t\t\t\t\t\t\t")])]),t._v(" "),e("p",{staticClass:"lead font-default mt-4"},[t._v("This weeks collection is curated by "),e("span",{staticClass:"primary"},[t._v("@dansup")])])]),t._v(" "),e("div",{staticClass:"col-7 d-flex justify-content-between"},[e("div",{staticClass:"text-center mr-4"},[e("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:"https://pixelfed.test/storage/avatars/321493203255693312/skvft7.jpg?v=33",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';",width:"160",height:"160"}}),t._v(" "),e("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])]),t._v(" "),e("div",{staticClass:"text-center mr-4"},[e("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:"https://pixelfed.test/storage/avatars/321493203255693312/skvft7.jpg?v=33",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';",width:"160",height:"160"}}),t._v(" "),e("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])]),t._v(" "),e("div",{staticClass:"text-center"},[e("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:"https://pixelfed.test/storage/avatars/321493203255693312/skvft7.jpg?v=33",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';",width:"160",height:"160"}}),t._v(" "),e("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])])])]):t._e()]),t._v(" "),t.isLoaded?t._e():e("div",{},[e("b-spinner",{attrs:{type:"grow"}})],1)],1)])])},i=[]},63990:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-grid-card"},[e("div",{staticClass:"discover-grid-card-body",class:{dark:t.dark,small:t.small}},[e("div",{staticClass:"section-copy"},[e("p",{staticClass:"subtitle"},[t._v(t._s(t.subtitle))]),t._v(" "),e("h1",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),t.buttonText?e("button",{staticClass:"btn btn-outline-dark rounded-pill py-1",on:{click:function(e){return e.preventDefault(),t.handleLink()}}},[t._v(t._s(t.buttonText))]):t._e()]),t._v(" "),e("div",{staticClass:"section-icon"},[e("i",{class:t.iconClass})])])])},i=[]},402:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rounded-3 overflow-hidden discover-news-slider"},[e("div",{staticClass:"row align-items-center"},[t._m(0),t._v(" "),e("div",{staticClass:"col-lg-6 col-md-7 offset-xl-1"},[e("div",{staticClass:"position-relative d-flex flex-column align-items-center justify-content-center h-100"},[e("svg",{staticClass:"d-none d-md-block position-absolute top-50 start-0 translate-middle-y",staticStyle:{"min-width":"868px"},attrs:{width:"868",height:"868",viewBox:"0 0 868 868",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("circle",{attrs:{opacity:"0.15",cx:"434",cy:"434",r:"434",fill:"#7dd3fc"}})]),t._v(" "),t._m(1)])])]),t._v(" "),t._m(2)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-xl-4 col-md-5 offset-lg-1"},[e("div",{staticClass:"pt-5 pb-3 pb-md-5 px-4 px-lg-0"},[e("p",{staticClass:"lead mb-3",staticStyle:{"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","letter-spacing":"-0.7px","font-weight":"300","font-size":"20px"}},[t._v("Introducing")]),t._v(" "),e("h2",{staticClass:"h1 pb-0 mb-3",staticStyle:{"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","letter-spacing":"-1px","font-weight":"700"}},[t._v("Emoji "),e("span",{staticClass:"primary"},[t._v("Reactions")])]),t._v(" "),e("p",{staticClass:"lead",staticStyle:{"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif","letter-spacing":"-0.7px","font-weight":"400","font-size":"17px","line-height":"15px"}},[t._v("\n\t\t\t\t\tA new way to interact with content,"),e("br"),t._v(" now available!\n\t\t\t\t")]),t._v(" "),e("a",{staticClass:"btn btn-primary primary btn-sm",attrs:{href:"#"}},[t._v("Learn more "),e("i",{staticClass:"far fa-chevron-right fa-sm ml-2"})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex"},[e("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/hushed_face.gif",width:"100",alt:"Illustration"}}),t._v(" "),e("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/thumbs_up.gif",width:"100",alt:"Illustration"}}),t._v(" "),e("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/sparkling_heart.gif",width:"100",alt:"Illustration"}})])},function(){var t=this,e=t._self._c;return e("div",{staticStyle:{position:"absolute",left:"50%",transform:"translateX(-50%)",bottom:"10px"}},[e("div",{staticClass:"d-flex"},[e("button",{staticClass:"btn btn-link p-0"},[e("i",{staticClass:"far fa-dot-circle"})]),t._v(" "),e("button",{staticClass:"btn btn-link p-0 mx-2"},[e("i",{staticClass:"far fa-circle"})]),t._v(" "),e("button",{staticClass:"btn btn-link p-0"},[e("i",{staticClass:"far fa-circle"})])])])}]},7231:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},73023:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},50554:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},20832:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},i=[]},30964:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},78061:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"align-self-start"},[e("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),e("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),e("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},70326:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-feed-component"},[e("section",{staticClass:"mt-3 mb-5 section-explore"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("div",{staticClass:"profile-timeline"},[e("div",{staticClass:"row p-0 mt-5"},[e("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[e("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0 font-default"},[t._v("Trending")]),t._v(" "),e("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0 font-default"},[t._v("Trending")]),t._v(" "),e("div",[e("div",{staticClass:"btn-group trending-range"},[e("button",{class:"daily"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("daily")}}},[t._v("Today")]),t._v(" "),e("button",{class:"monthly"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("monthly")}}},[t._v("This month")]),t._v(" "),e("button",{class:"yearly"==t.range?"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-danger":"btn py-1 font-weight-bold px-3 text-uppercase btn-sm btn-outline-danger",on:{click:function(e){return t.rangeToggle("yearly")}}},[t._v("This year")])])])])]),t._v(" "),t.loading?e("div",{staticClass:"row p-0 px-lg-3"},[e("div",{staticClass:"col-12 d-flex align-items-center justify-content-center",staticStyle:{"min-height":"40vh"}},[e("b-spinner",{attrs:{size:"lg"}})],1)]):e("div",{staticClass:"row p-0 px-lg-3"},t._l(t.trending,(function(a,s){return t.trending.length?e("div",{staticClass:"col-6 col-lg-4 col-xl-3 p-1"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:a.url},on:{click:function(e){return e.preventDefault(),t.goToPost(a)}}},[e("div",{staticClass:"square square-next"},[a.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:a.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:a.media_attachments[0].blurhash,src:a.media_attachments[0].preview_url}})],1),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("div",{staticClass:"text-white m-auto"},[e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(a.favourites_count)))])]),t._v(" "),e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(a.reply_count)))])]),t._v(" "),e("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(a.reblogs_count)))])])])])])])]):e("div",{staticClass:"col-12 d-flex align-items-center justify-content-center bg-light border",staticStyle:{"min-height":"40vh"}},[e("div",{staticClass:"h2"},[t._v("No posts found :(")])])})),0)])],1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}]},69205:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(a,s){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},["autospam.warning"===a.type?e("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:a.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),a.status&&a.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status),id:"fvn-"+a.id},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+a.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(a),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mt-n1 mb-0"},[e("span",{staticClass:"small text-muted"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showAutospamInfo(a.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:a.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+a.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+a.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(t.truncate(a.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:a.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:a.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+a.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:a.group.url,title:a.group.name}},[t._v(t._s(t.truncate(a.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:a.group.url,title:a.group.name}},[t._v(t._s(t.truncate(a.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:a.group.url+"/invite/claim",title:a.group.name}},[t._v(t._s(a.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:a.created_at}},[t._v(t._s(t.timeAgo(a.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},i=[]},21979:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,'.card-img[data-v-b270da6e]{position:relative}.card-img img[data-v-b270da6e]{border-radius:10px;height:200px;-o-object-fit:cover;object-fit:cover;width:100%}.card-img[data-v-b270da6e]:after,.card-img[data-v-b270da6e]:before{background:rgba(0,0,0,.2);border-radius:10px;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:2}.card-img .title[data-v-b270da6e]{bottom:5px;color:#fff;font-size:40px;font-weight:700;left:10px;position:absolute;z-index:3}.card-img.big img[data-v-b270da6e]{height:300px}.font-default[data-v-b270da6e]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.bg-stellar[data-v-b270da6e]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.bg-berry[data-v-b270da6e]{background:#5433ff;background:linear-gradient(90deg,#acb6e5,#86fde8)}.bg-midnight[data-v-b270da6e]{background:#232526;background:linear-gradient(90deg,#414345,#232526)}.media-body[data-v-b270da6e]{margin-right:.5rem}.avatar[data-v-b270da6e]{border-radius:15px}.username[data-v-b270da6e]{word-wrap:break-word!important;font-size:14px;line-height:14px;margin-bottom:2px;word-break:break-word!important}.display-name[data-v-b270da6e]{font-size:12px}.display-name[data-v-b270da6e],.follower-count[data-v-b270da6e]{word-wrap:break-word!important;margin-bottom:0;word-break:break-word!important}.follower-count[data-v-b270da6e]{font-size:10px}.follow[data-v-b270da6e]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}',""]);const n=i},8816:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".discover-daily-trending .bg-stellar{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-daily-trending .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}",""]);const n=i},83622:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".discover-spotlight{overflow:hidden}.discover-spotlight .card-body{min-height:322px}.discover-spotlight .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-spotlight .bg-stellar{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-spotlight .bg-berry{background:#5433ff;background:linear-gradient(90deg,#acb6e5,#86fde8)}.discover-spotlight .bg-midnight{background:#232526;background:linear-gradient(90deg,#414345,#232526)}",""]);const n=i},33029:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".discover-grid-card{width:100%}.discover-grid-card-body{background:#f8f9fa;border-radius:8px;color:#212529;overflow:hidden;padding:3rem 3rem 0;text-align:center;width:100%}.discover-grid-card-body .section-copy{margin-bottom:1rem;margin-top:1rem;padding-bottom:1rem;padding-top:1rem}.discover-grid-card-body .section-copy .subtitle{color:#6c757d;font-size:16px;margin-bottom:0}.discover-grid-card-body .section-copy .btn,.discover-grid-card-body .section-copy .subtitle,.discover-grid-card-body .section-copy .title{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-grid-card-body .section-icon{align-items:center;background:#232526;background:linear-gradient(90deg,#414345,#232526);border-radius:21px 21px 0 0;box-shadow:0 .125rem .25rem rgba(0,0,0,.08)!important;display:flex;height:300px;justify-content:center;margin-left:auto;margin-right:auto;width:80%}.discover-grid-card-body .section-icon i{color:#fff;font-size:10rem}.discover-grid-card-body.small .section-icon{height:120px}.discover-grid-card-body.small .section-icon i{font-size:4rem}.discover-grid-card-body.dark{background:#232526;background:linear-gradient(90deg,#414345,#232526);color:#fff}.discover-grid-card-body.dark .section-icon{background:#f8f9fa;color:#fff}.discover-grid-card-body.dark .section-icon i{color:#232526}.discover-grid-card-body.dark .btn-outline-dark{border-color:#f8f9fa;color:#f8f9fa}",""]);const n=i},65998:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".discover-news-slider{background-color:#e0f2fe;position:relative}",""]);const n=i},95433:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},17738:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const n=i},1644:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},195:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const n=i},52305:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".discover-feed-component .font-default{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-feed-component .info-overlay,.discover-feed-component .square-next .info-overlay-text,.discover-feed-component .square-next img{border-radius:15px!important}.discover-feed-component .trending-range .btn:hover:not(.btn-danger){background-color:#fca5a5}.discover-feed-component .info-overlay-text-field{font-size:13.5px;margin-bottom:2px}@media (min-width:768px){.discover-feed-component .info-overlay-text-field{font-size:20px;margin-bottom:15px}}",""]);const n=i},62985:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1519),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const n=i},35302:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(21979),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},18677:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(8816),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},11275:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(83622),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},19101:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(33029),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},9039:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(65998),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},2869:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(95433),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},92341:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(17738),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},64111:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(1644),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},7051:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(195),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},63775:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(52305),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},81459:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(93379),i=a.n(s),n=a(62985),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},14235:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(13284),i=a(9360),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(77623);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,"b270da6e",null).exports},53343:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(2559),i=a(93069),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(65428);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},51436:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(67315),i=a(97508),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(43312);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},89601:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(24374),i=a(1717),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(25119);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},92614:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(28457),i=a(61838),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(84019);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},42755:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(87661),i=a(1374),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(72682);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},76429:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(5249),i=a(74778),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},73128:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(22356),i=a(163),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},78375:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(79325),i=a(2678),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(86965);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(7071),i=a(28058),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(11883);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},68296:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(48170),i=a(82834),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(89501);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},56899:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(2018),i=a(98922),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(99335);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},73459:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(6831),i=a(67476),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(35817);const r=(0,a(51900).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},9360:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(71694),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},93069:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(21409),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},97508:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(27070),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},1717:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(99763),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},61838:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(1426),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},1374:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(89250),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},74778:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(29022),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},163:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(54076),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},2678:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(5540),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},28058:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(11188),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},82834:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(66925),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},98922:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(13936),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},67476:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(43762),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},13284:(t,e,a)=>{a.r(e);var s=a(82830),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},2559:(t,e,a)=>{a.r(e);var s=a(55219),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},67315:(t,e,a)=>{a.r(e);var s=a(46650),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},24374:(t,e,a)=>{a.r(e);var s=a(63990),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},28457:(t,e,a)=>{a.r(e);var s=a(402),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},87661:(t,e,a)=>{a.r(e);var s=a(7231),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},5249:(t,e,a)=>{a.r(e);var s=a(73023),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},22356:(t,e,a)=>{a.r(e);var s=a(50554),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},79325:(t,e,a)=>{a.r(e);var s=a(20832),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},7071:(t,e,a)=>{a.r(e);var s=a(30964),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},48170:(t,e,a)=>{a.r(e);var s=a(78061),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},2018:(t,e,a)=>{a.r(e);var s=a(70326),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},6831:(t,e,a)=>{a.r(e);var s=a(69205),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},77623:(t,e,a)=>{a.r(e);var s=a(35302),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},65428:(t,e,a)=>{a.r(e);var s=a(18677),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},43312:(t,e,a)=>{a.r(e);var s=a(11275),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},25119:(t,e,a)=>{a.r(e);var s=a(19101),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},84019:(t,e,a)=>{a.r(e);var s=a(9039),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},72682:(t,e,a)=>{a.r(e);var s=a(2869),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},86965:(t,e,a)=>{a.r(e);var s=a(92341),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},11883:(t,e,a)=>{a.r(e);var s=a(64111),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},89501:(t,e,a)=>{a.r(e);var s=a(7051),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},99335:(t,e,a)=>{a.r(e);var s=a(63775),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},35817:(t,e,a)=>{a.r(e);var s=a(81459),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/discover~hashtag.bundle.0c6a732dd741a483.js b/public/js/discover~hashtag.bundle.0c6a732dd741a483.js new file mode 100644 index 000000000..c315f6671 --- /dev/null +++ b/public/js/discover~hashtag.bundle.0c6a732dd741a483.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7019],{56714:(t,a,e)=>{e.r(a),e.d(a,{default:()=>c});var s=e(42755),n=e(78423),i=e(88231),r=e(78375);function o(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,a){if(!t)return;if("string"==typeof t)return l(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,a)}(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,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,s=new Array(a);e{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},29022:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,a=event.target.files;Array.prototype.forEach.call(a,(function(a,e){t.avatarUpdateFile=a,t.avatarUpdatePreview=URL.createObjectURL(a),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var a=this;if(t.dataTransfer.items){for(var e=0;e{e.r(a),e.d(a,{default:()=>s});const s={props:{small:{type:Boolean,default:!1}}}},5540:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={components:{notifications:e(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,a,e)=>{e.r(a),e.d(a,{default:()=>c});var s=e(20629),n=e(68296),i=e(76429);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function l(t,a,e){return(a=function(t){var a=function(t,a){if("object"!==r(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,a||"default");if("object"!==r(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(t)}(t,"string");return"symbol"===r(a)?a:String(a)}(a))in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:n.default,UpdateAvatar:i.default},computed:function(t){for(var a=1;a)?/g,(function(a){var e=a.slice(1,a.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==e}));return s.length?''.concat(s[0].shortcode,''):a}))}return e},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(a,{notation:e,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var a=this.$route.path;switch(t){case"home":"/i/web"==a?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},66925:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(73128),n=e(78423);function i(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,a){if(!t)return;if("string"==typeof t)return r(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(t,a)}(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,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,s=new Array(a);eWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var e=document.createElement("div");e.appendChild(a),swal({title:"Why was my post unlisted?",content:e,icon:"warning"})}}}},20034:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"hashtag-component"},[a("div",{staticClass:"container-fluid mt-3"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-3 d-md-block"},[a("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),a("div",{staticClass:"col-md-9"},[a("div",{staticClass:"card border-0 shadow-sm mb-3",staticStyle:{"border-radius":"18px"}},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"media align-items-center py-3"},[a("div",{staticClass:"media-body"},[a("p",{staticClass:"h3 text-break mb-0"},[a("span",{staticClass:"text-lighter"},[t._v("#")]),t._v(t._s(t.hashtag.name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),t.hashtag.count&&t.hashtag.count>100?a("p",{staticClass:"mb-0 text-muted font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.formatCount(t.hashtag.count))+" Posts\n\t\t\t\t\t\t\t\t")]):t._e()]),t._v(" "),t.hashtag&&t.hashtag.hasOwnProperty("following")&&t.feed&&t.feed.length?[t.hashtag.following?a("button",{staticClass:"btn btn-light hashtag-follow border rounded-pill font-weight-bold py-1 px-4",attrs:{disabled:t.followingLoading},on:{click:function(a){return t.unfollowHashtag()}}},[t.followingLoading?a("b-spinner",{attrs:{small:""}}):a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t\t\t\t\t")])],1):a("button",{staticClass:"btn btn-primary hashtag-follow font-weight-bold rounded-pill py-1 px-4",attrs:{disabled:t.followingLoading},on:{click:function(a){return t.followHashtag()}}},[t.followingLoading?a("b-spinner",{attrs:{small:""}}):a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t\t\t\t\t\t")])],1)]:t._e()],2)])]),t._v(" "),t.isLoaded&&t.feedLoaded?[a("div",{staticClass:"row mx-0 hashtag-feed"},[t._l(t.feed,(function(e,s){return a("div",{key:"tlob:"+s,staticClass:"col-6 col-md-4 col-lg-3 p-1"},[a("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)},on:{click:function(a){return a.preventDefault(),t.goToPost(e)}}},[a("div",{staticClass:"square"},[e.sensitive?a("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),a("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):a("div",{staticClass:"square-content"},[a("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].url}})],1),t._v(" "),"photo:album"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),a("div",{staticClass:"info-overlay-text"},[a("h5",{staticClass:"text-white m-auto font-weight-bold"},[a("span",[a("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),a("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])])])])])])])})),t._v(" "),t.canLoadMore?a("div",{staticClass:"col-12"},[a("intersect",{on:{enter:t.enterIntersect}},[a("div",{staticClass:"d-flex justify-content-center py-5"},[a("b-spinner")],1)])],1):t._e()],2),t._v(" "),t.feedLoaded&&!t.feed.length?a("div",{staticClass:"row mx-0 hashtag-feed justify-content-center"},[a("div",{staticClass:"col-12 col-md-8 text-center"},[a("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6","max-width":"400px"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),a("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("hashtags.emptyFeed")))])])]):t._e()]:[a("div",{staticClass:"row justify-content-center align-items-center pt-5 mt-5"},[a("b-spinner")],1)]],2)]),t._v(" "),a("drawer")],1)])},n=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}]},7231:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"app-drawer-component"},[a("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),a("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[a("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[a("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[a("p",[a("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Home")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[a("p",[a("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Local")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[a("p",[a("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("New")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[a("p",[a("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Alerts")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[a("p",[a("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Profile")])])])],1)])])])])},n=[]},73023:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[a("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(a){return t.handleAvatarUpdate()}}}),t._v(" "),a("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?a("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(a){return t.avatarUpdateStep(0)}}},[a("p",{staticClass:"text-center primary"},[a("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),a("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),a("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),a("strong",[t._v("png")]),t._v(" or "),a("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?a("div",{staticClass:"w-100 p-5"},[a("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"d-flex justify-content-between"},[a("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(a){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),a("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(a){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},n=[]},50554:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return t.small?a("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):a("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},n=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},20832:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},n=[]},30964:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"card-body p-2"},[a("div",{staticClass:"media user-card user-select-none"},[a("div",{staticStyle:{position:"relative"}},[a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(a){return t.gotoMyProfile()}}}),t._v(" "),a("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(a){return t.updateAvatar()}}},[a("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),a("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"stats-followers"},[a("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),a("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[a("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[a("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),a("div",{staticClass:"dropdown-divider"}),t._v(" "),a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),a("div",{staticClass:"sidebar-sticky shadow-sm"},[a("ul",{staticClass:"nav flex-column"},[a("li",{staticClass:"nav-item"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(a){return a.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(a){return a.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(a){return a.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),a("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),a("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[a("router-link",{attrs:{to:"/i/web/language"}},[a("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),a("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),a("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},n=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},78061:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?a("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),a("p",{staticClass:"text-center mt-4"},[a("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(a){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?a("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?a("div",{staticClass:"step-segment"},[a("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):a("div",{staticClass:"step-segment"},[a("b-spinner")],1)])},n=[function(){var t=this,a=t._self._c;return a("div",{staticClass:"align-self-start"},[a("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),a("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"w-100"},[a("div",{staticClass:"form-group"},[a("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),a("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},63512:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"notifications-component"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[a("div",{staticClass:"card-body pb-0"},[a("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[a("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?a("div",[a("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[a("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?a("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[a("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?a("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[a("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[a("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),a("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(e,s){return a("div",{staticClass:"mb-2"},[a("div",{staticClass:"media align-items-center"},["autospam.warning"===e.type?a("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):a("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:e.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),a("div",{staticClass:"media-body font-weight-light small"},["favourite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),e.status&&e.status.hasOwnProperty("media_attachments")?a("span",[a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status),id:"fvn-"+e.id},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),a("b-popover",{attrs:{target:"fvn-"+e.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[a("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(e),width:"100px",height:"100px"}})])],1):a("span",[a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("p",{staticClass:"mt-n1 mb-0"},[a("span",{staticClass:"small text-muted"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.showAutospamInfo(e.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" reacted to your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" shared your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(t.truncate(e.account.username)))]),t._v(" updated a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" tagged you in a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" sent a "),a("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+e.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" invited you to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url+"/invite/claim",title:e.group.name}},[t._v(t._s(e.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),a("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:e.created_at}},[t._v(t._s(t.timeAgo(e.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?a("div",[a("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):a("div",[t.hasLoaded&&t.canLoadMore?a("intersect",{on:{enter:t.enterIntersect}},[a("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}})],1):a("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):a("div",{staticClass:"notifications-component-feed"},[a("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},n=[]},48415:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".hashtag-component .hashtag-feed .card,.hashtag-component .hashtag-feed .info-overlay-text,.hashtag-component .hashtag-feed .info-overlay-text-label,.hashtag-component .hashtag-feed canvas,.hashtag-component .hashtag-feed img{border-radius:18px!important}.hashtag-component .hashtag-follow{width:200px}.hashtag-component .ph-wrapper{padding:.25rem}.hashtag-component .ph-wrapper .ph-item{background-color:transparent;border:none;margin:0;padding:0}.hashtag-component .ph-wrapper .ph-item .ph-picture{border-radius:18px;height:auto;padding-bottom:100%}.hashtag-component .ph-wrapper .ph-item>*{margin-bottom:0}",""]);const i=n},95433:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const i=n},17738:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const i=n},1644:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const i=n},195:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const i=n},74603:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const i=n},85448:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(48415),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},2869:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(95433),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},92341:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(17738),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},64111:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(1644),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},7051:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(195),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},32067:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(74603),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},48266:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(37558),n=e(87801),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(65927);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},42755:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(87661),n=e(1374),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(72682);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},76429:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(5249),n=e(74778),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},73128:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(22356),n=e(163),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},78375:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(79325),n=e(2678),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(86965);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(7071),n=e(28058),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(11883);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},68296:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(48170),n=e(82834),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(89501);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},73459:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(28670),n=e(67476),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(19727);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},87801:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(56714),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},1374:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(89250),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},74778:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(29022),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},163:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(54076),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},2678:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(5540),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},28058:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(11188),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},82834:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(66925),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},67476:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(43762),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},37558:(t,a,e)=>{e.r(a);var s=e(20034),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},87661:(t,a,e)=>{e.r(a);var s=e(7231),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},5249:(t,a,e)=>{e.r(a);var s=e(73023),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},22356:(t,a,e)=>{e.r(a);var s=e(50554),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},79325:(t,a,e)=>{e.r(a);var s=e(20832),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},7071:(t,a,e)=>{e.r(a);var s=e(30964),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},48170:(t,a,e)=>{e.r(a);var s=e(78061),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},28670:(t,a,e)=>{e.r(a);var s=e(63512),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},65927:(t,a,e)=>{e.r(a);var s=e(85448),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},72682:(t,a,e)=>{e.r(a);var s=e(2869),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},86965:(t,a,e)=>{e.r(a);var s=e(92341),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},11883:(t,a,e)=>{e.r(a);var s=e(64111),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},89501:(t,a,e)=>{e.r(a);var s=e(7051),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},19727:(t,a,e)=>{e.r(a);var s=e(32067),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)}}]); \ No newline at end of file diff --git a/public/js/discover~hashtag.bundle.0f0dea872c1b644e.js b/public/js/discover~hashtag.bundle.0f0dea872c1b644e.js deleted file mode 100644 index 98094e9d2..000000000 --- a/public/js/discover~hashtag.bundle.0f0dea872c1b644e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7019],{56714:(t,a,e)=>{e.r(a),e.d(a,{default:()=>c});var s=e(42755),n=e(78423),i=e(88231),r=e(78375);function o(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,a){if(!t)return;if("string"==typeof t)return l(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,a)}(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,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,s=new Array(a);e{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},29022:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,a=event.target.files;Array.prototype.forEach.call(a,(function(a,e){t.avatarUpdateFile=a,t.avatarUpdatePreview=URL.createObjectURL(a),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var a=this;if(t.dataTransfer.items){for(var e=0;e{e.r(a),e.d(a,{default:()=>s});const s={props:{small:{type:Boolean,default:!1}}}},5540:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={components:{notifications:e(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,a,e)=>{e.r(a),e.d(a,{default:()=>c});var s=e(20629),n=e(68296),i=e(76429);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function l(t,a,e){return(a=function(t){var a=function(t,a){if("object"!==r(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,a||"default");if("object"!==r(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(t)}(t,"string");return"symbol"===r(a)?a:String(a)}(a))in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:n.default,UpdateAvatar:i.default},computed:function(t){for(var a=1;a)?/g,(function(a){var e=a.slice(1,a.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==e}));return s.length?''.concat(s[0].shortcode,''):a}))}return e},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(a,{notation:e,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var a=this.$route.path;switch(t){case"home":"/i/web"==a?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},66925:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(73128),n=e(78423);function i(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,a){if(!t)return;if("string"==typeof t)return r(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(t,a)}(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,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,s=new Array(a);eWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var e=document.createElement("div");e.appendChild(a),swal({title:"Why was my post unlisted?",content:e,icon:"warning"})}}}},20034:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"hashtag-component"},[a("div",{staticClass:"container-fluid mt-3"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-3 d-md-block"},[a("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),a("div",{staticClass:"col-md-9"},[a("div",{staticClass:"card border-0 shadow-sm mb-3",staticStyle:{"border-radius":"18px"}},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"media align-items-center py-3"},[a("div",{staticClass:"media-body"},[a("p",{staticClass:"h3 text-break mb-0"},[a("span",{staticClass:"text-lighter"},[t._v("#")]),t._v(t._s(t.hashtag.name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),t.hashtag.count&&t.hashtag.count>100?a("p",{staticClass:"mb-0 text-muted font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.formatCount(t.hashtag.count))+" Posts\n\t\t\t\t\t\t\t\t")]):t._e()]),t._v(" "),t.hashtag&&t.hashtag.hasOwnProperty("following")&&t.feed&&t.feed.length?[t.hashtag.following?a("button",{staticClass:"btn btn-light hashtag-follow border rounded-pill font-weight-bold py-1 px-4",attrs:{disabled:t.followingLoading},on:{click:function(a){return t.unfollowHashtag()}}},[t.followingLoading?a("b-spinner",{attrs:{small:""}}):a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t\t\t\t\t")])],1):a("button",{staticClass:"btn btn-primary hashtag-follow font-weight-bold rounded-pill py-1 px-4",attrs:{disabled:t.followingLoading},on:{click:function(a){return t.followHashtag()}}},[t.followingLoading?a("b-spinner",{attrs:{small:""}}):a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t\t\t\t\t\t")])],1)]:t._e()],2)])]),t._v(" "),t.isLoaded&&t.feedLoaded?[a("div",{staticClass:"row mx-0 hashtag-feed"},[t._l(t.feed,(function(e,s){return a("div",{key:"tlob:"+s,staticClass:"col-6 col-md-4 col-lg-3 p-1"},[a("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)},on:{click:function(a){return a.preventDefault(),t.goToPost(e)}}},[a("div",{staticClass:"square"},[e.sensitive?a("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),a("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):a("div",{staticClass:"square-content"},[a("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].url}})],1),t._v(" "),"photo:album"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),a("div",{staticClass:"info-overlay-text"},[a("h5",{staticClass:"text-white m-auto font-weight-bold"},[a("span",[a("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),a("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])])])])])])])})),t._v(" "),t.canLoadMore?a("div",{staticClass:"col-12"},[a("intersect",{on:{enter:t.enterIntersect}},[a("div",{staticClass:"d-flex justify-content-center py-5"},[a("b-spinner")],1)])],1):t._e()],2),t._v(" "),t.feedLoaded&&!t.feed.length?a("div",{staticClass:"row mx-0 hashtag-feed justify-content-center"},[a("div",{staticClass:"col-12 col-md-8 text-center"},[a("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6","max-width":"400px"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),a("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("hashtags.emptyFeed")))])])]):t._e()]:[a("div",{staticClass:"row justify-content-center align-items-center pt-5 mt-5"},[a("b-spinner")],1)]],2)]),t._v(" "),a("drawer")],1)])},n=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}]},7231:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"app-drawer-component"},[a("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),a("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[a("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[a("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[a("p",[a("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Home")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[a("p",[a("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Local")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[a("p",[a("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("New")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[a("p",[a("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Alerts")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[a("p",[a("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Profile")])])])],1)])])])])},n=[]},73023:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[a("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(a){return t.handleAvatarUpdate()}}}),t._v(" "),a("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?a("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(a){return t.avatarUpdateStep(0)}}},[a("p",{staticClass:"text-center primary"},[a("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),a("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),a("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),a("strong",[t._v("png")]),t._v(" or "),a("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?a("div",{staticClass:"w-100 p-5"},[a("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"d-flex justify-content-between"},[a("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(a){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),a("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(a){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},n=[]},50554:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return t.small?a("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):a("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},n=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},20832:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},n=[]},30964:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"card-body p-2"},[a("div",{staticClass:"media user-card user-select-none"},[a("div",{staticStyle:{position:"relative"}},[a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(a){return t.gotoMyProfile()}}}),t._v(" "),a("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(a){return t.updateAvatar()}}},[a("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),a("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"stats-followers"},[a("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),a("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[a("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[a("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),a("div",{staticClass:"dropdown-divider"}),t._v(" "),a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),a("div",{staticClass:"sidebar-sticky shadow-sm"},[a("ul",{staticClass:"nav flex-column"},[a("li",{staticClass:"nav-item"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(a){return a.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(a){return a.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(a){return a.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),a("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),a("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[a("router-link",{attrs:{to:"/i/web/language"}},[a("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),a("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),a("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},n=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},78061:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?a("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),a("p",{staticClass:"text-center mt-4"},[a("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(a){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?a("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?a("div",{staticClass:"step-segment"},[a("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):a("div",{staticClass:"step-segment"},[a("b-spinner")],1)])},n=[function(){var t=this,a=t._self._c;return a("div",{staticClass:"align-self-start"},[a("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),a("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,a=t._self._c;return a("div",{staticClass:"w-100"},[a("div",{staticClass:"form-group"},[a("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),a("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},69205:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"notifications-component"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[a("div",{staticClass:"card-body pb-0"},[a("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[a("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?a("div",[a("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[a("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?a("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[a("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?a("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[a("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[a("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),a("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(e,s){return a("div",{staticClass:"mb-2"},[a("div",{staticClass:"media align-items-center"},["autospam.warning"===e.type?a("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):a("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:e.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),a("div",{staticClass:"media-body font-weight-light small"},["favourite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),e.status&&e.status.hasOwnProperty("media_attachments")?a("span",[a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status),id:"fvn-"+e.id},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),a("b-popover",{attrs:{target:"fvn-"+e.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[a("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(e),width:"100px",height:"100px"}})])],1):a("span",[a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("p",{staticClass:"mt-n1 mb-0"},[a("span",{staticClass:"small text-muted"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.showAutospamInfo(e.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" reacted to your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" shared your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(t.truncate(e.account.username)))]),t._v(" updated a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" tagged you in a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" sent a "),a("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+e.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" invited you to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url+"/invite/claim",title:e.group.name}},[t._v(t._s(e.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),a("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:e.created_at}},[t._v(t._s(t.timeAgo(e.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?a("div",[a("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):a("div",[t.hasLoaded&&t.canLoadMore?a("intersect",{on:{enter:t.enterIntersect}},[a("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}})],1):a("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):a("div",{staticClass:"notifications-component-feed"},[a("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},n=[]},48415:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".hashtag-component .hashtag-feed .card,.hashtag-component .hashtag-feed .info-overlay-text,.hashtag-component .hashtag-feed .info-overlay-text-label,.hashtag-component .hashtag-feed canvas,.hashtag-component .hashtag-feed img{border-radius:18px!important}.hashtag-component .hashtag-follow{width:200px}.hashtag-component .ph-wrapper{padding:.25rem}.hashtag-component .ph-wrapper .ph-item{background-color:transparent;border:none;margin:0;padding:0}.hashtag-component .ph-wrapper .ph-item .ph-picture{border-radius:18px;height:auto;padding-bottom:100%}.hashtag-component .ph-wrapper .ph-item>*{margin-bottom:0}",""]);const i=n},95433:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const i=n},17738:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const i=n},1644:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const i=n},195:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const i=n},62985:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(1519),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const i=n},85448:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(48415),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},2869:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(95433),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},92341:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(17738),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},64111:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(1644),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},7051:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(195),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},81459:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(93379),n=e.n(s),i=e(62985),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},48266:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(37558),n=e(87801),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(65927);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},42755:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(87661),n=e(1374),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(72682);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},76429:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(5249),n=e(74778),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},73128:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(22356),n=e(163),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},78375:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(79325),n=e(2678),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(86965);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(7071),n=e(28058),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(11883);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},68296:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(48170),n=e(82834),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(89501);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},73459:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(6831),n=e(67476),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(35817);const r=(0,e(51900).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},87801:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(56714),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},1374:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(89250),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},74778:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(29022),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},163:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(54076),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},2678:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(5540),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},28058:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(11188),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},82834:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(66925),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},67476:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(43762),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},37558:(t,a,e)=>{e.r(a);var s=e(20034),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},87661:(t,a,e)=>{e.r(a);var s=e(7231),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},5249:(t,a,e)=>{e.r(a);var s=e(73023),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},22356:(t,a,e)=>{e.r(a);var s=e(50554),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},79325:(t,a,e)=>{e.r(a);var s=e(20832),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},7071:(t,a,e)=>{e.r(a);var s=e(30964),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},48170:(t,a,e)=>{e.r(a);var s=e(78061),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},6831:(t,a,e)=>{e.r(a);var s=e(69205),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},65927:(t,a,e)=>{e.r(a);var s=e(85448),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},72682:(t,a,e)=>{e.r(a);var s=e(2869),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},86965:(t,a,e)=>{e.r(a);var s=e(92341),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},11883:(t,a,e)=>{e.r(a);var s=e(64111),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},89501:(t,a,e)=>{e.r(a);var s=e(7051),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},35817:(t,a,e)=>{e.r(a);var s=e(81459),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)}}]); \ No newline at end of file diff --git a/public/js/home.chunk.09c05d3c35a0e616.js b/public/js/home.chunk.09c05d3c35a0e616.js new file mode 100644 index 000000000..5b56d4e0f --- /dev/null +++ b/public/js/home.chunk.09c05d3c35a0e616.js @@ -0,0 +1,2 @@ +/*! For license information please see home.chunk.09c05d3c35a0e616.js.LICENSE.txt */ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2470],{41015:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(42755),i=s(88231),o=s(78375),n=s(55197),r=(s(73459),s(66915));const l={props:{scope:{type:String,default:"home"}},components:{drawer:a.default,sidebar:i.default,timeline:n.default,rightbar:o.default,"story-carousel":r.default},data:function(){return{isLoaded:!1,profile:void 0,recommended:[],trending:[],storiesEnabled:!1,shouldRefresh:!1}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){var t,e,s;this.profile=window._sharedData.user,this.isLoaded=!0,this.storiesEnabled=!(null===(t=window.App)||void 0===t||null===(e=t.config)||void 0===e||null===(s=e.features)||void 0===s||!s.hasOwnProperty("stories"))&&window.App.config.features.stories},updateProfile:function(t){this.profile=Object.assign(this.profile,t)}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(26535),i=s(74338),o=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":o.default,"post-header":i.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&!1===this.status.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},29022:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{s.r(e),s.d(e,{default:()=>a});const a={props:{small:{type:Boolean,default:!1}}}},40744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(22583);const i={props:{profile:{type:Object}},components:{"profile-card":a.default},data:function(){return{popularAccounts:[],newlyFollowed:0}},mounted:function(){this.fetchPopularAccounts()},methods:{fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/follow").then((function(t){e.newlyFollowed++,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count+1})}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/unfollow").then((function(t){e.newlyFollowed--,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count-1})}))}}}},19444:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(15235),i=s(80979),o=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.default,ProfileHoverCard:o.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["status","profile"],data:function(){return{config:window.App.config,ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=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(a.$t("common.success"),a.$t("menu.modCWSuccess"),"success"),a.$emit("moderate","addcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$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(a.$t("common.success"),a.$t("menu.modRemoveCWSuccess"),"success"),a.$emit("moderate","remcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$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){a.$emit("moderate","unlist"),swal(a.$t("common.success"),a.$t("menu.modUnlistSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$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){a.$emit("moderate","spammer"),swal(a.$t("common.success"),a.$t("menu.modMarkAsSpammerSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))},editPost:function(t){this.closeModals(),this.$emit("edit",t)}}}},42562:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),i=s(48510),o=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22890:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var a=s(29655),i=s(99347);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}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 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 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 s=0,a=new Array(e);s=0;--i){var o=this.tryEntries[i],n=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var r=s.call(o,"catchLoc"),l=s.call(o,"finallyLoc");if(r&&l){if(this.prev=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&s.call(i,"finallyLoc")&&this.prev=0;--e){var s=this.tryEntries[e];if(s.finallyLoc===t)return this.complete(s.completion,s.afterLoc),M(s),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.tryLoc===t){var a=s.completion;if("throw"===a.type){var i=a.arg;M(s)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,s){return this.delegate={iterator:L(t),resultName:e,nextLoc:s},"next"===this.method&&(this.arg=void 0),p}},t}function c(t,e,s,a,i,o,n){try{var r=t[o](n),l=r.value}catch(t){return void s(t)}r.done?e(l):Promise.resolve(l).then(a,i)}function d(t){return function(){var e=this,s=arguments;return new Promise((function(a,i){var o=t.apply(e,s);function n(t){c(o,a,i,n,r,"next",t)}function r(t){c(o,a,i,n,r,"throw",t)}n(void 0)}))}}const u={components:{Autocomplete:a.default},data:function(){return{config:window.App.config,status:void 0,isLoading:!0,isOpen:!1,isSubmitting:!1,tabIndex:0,canEdit:!1,composeTextLength:0,canSave:!1,originalFields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},fields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},medias:void 0,altTextEditIndex:void 0,tributeSettings:{noMatchTemplate:function(){return 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){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){console.log(t)}))}}]}}},watch:{fields:{deep:!0,immediate:!0,handler:function(t,e){this.canEdit&&(this.canSave=this.originalFields!==JSON.stringify(this.fields))}}},methods:{reset:function(){this.status=void 0,this.tabIndex=0,this.isOpen=!1,this.canEdit=!1,this.composeTextLength=0,this.canSave=!1,this.originalFields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.fields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.medias=void 0,this.altTextEditIndex=void 0,this.isSubmitting=!1},show:function(t){var e=this;return d(l().mark((function s(){return l().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,axios.get("/api/v1/statuses/"+t.id,{params:{_pe:1}}).then((function(t){e.reset(),e.init(t.data)})).finally((function(){setTimeout((function(){e.isLoading=!1}),500)}));case 2:case"end":return s.stop()}}),s)})))()},init:function(t){var e=this;this.reset(),this.originalFields=JSON.stringify({caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments}),this.fields={caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments},this.status=t,this.medias=t.media_attachments,this.composeTextLength=t.content_text?t.content_text.length:0,this.isOpen=!0,setTimeout((function(){e.canEdit=!0}),1e3)},toggleTab:function(t){this.tabIndex=t,this.altTextEditIndex=void 0},toggleVisibility:function(t){this.fields.visibility=t},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){this.fields.location=t,this.tabIndex=0},clearLocation:function(){event.currentTarget.blur(),this.fields.location=null,this.tabIndex=0},handleAltTextUpdate:function(t){0==this.fields.media[t].description.length&&(this.fields.media[t].description=null)},moveMedia:function(t,e,s){var a=n(s),i=a.splice(t,1)[0];return a.splice(e,0,i),a},toggleMediaOrder:function(t,e){"prev"===t&&(this.fields.media=this.moveMedia(e,e-1,this.fields.media)),"next"===t&&(this.fields.media=this.moveMedia(e,e+1,this.fields.media))},toggleLightbox:function(t){(0,i.default)({el:t.target})},handleAddAltText:function(t){event.currentTarget.blur(),this.altTextEditIndex=t},removeMedia:function(t){var e=this;swal({title:"Confirm",text:"Are you sure you want to remove this media from your post?",buttons:{cancel:"Cancel",confirm:{text:"Confirm Removal",value:"remove",className:"swal-button--danger"}}}).then((function(s){"remove"===s&&e.fields.media.splice(t,1)}))},handleSave:function(){var t=this;return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return event.currentTarget.blur(),t.canSave=!1,t.isSubmitting=!0,e.next=5,t.checkMediaUpdates();case 5:axios.put("/api/v1/statuses/"+t.status.id,{status:t.fields.caption,spoiler_text:t.fields.spoiler_text,sensitive:t.fields.sensitive,media_ids:t.fields.media.map((function(t){return t.id})),location:t.fields.location}).then((function(e){t.isOpen=!1,t.$emit("update",e.data),swal({title:"Post Updated",text:"You have successfully updated this post!",icon:"success",buttons:{close:{text:"Close",value:"close",close:!0,className:"swal-button--cancel"},view:{text:"View Post",value:"view",className:"btn-primary"}}}).then((function(e){"view"===e&&("post"===t.$router.currentRoute.name?window.location.reload():t.$router.push("/i/web/post/"+t.status.id))}))})).catch((function(e){t.isSubmitting=!1,e.response.data.hasOwnProperty("error")?swal("Error",e.response.data.error,"error"):swal("Error","An error occured, please try again later","error"),console.log(e)}));case 6:case"end":return e.stop()}}),e)})))()},checkMediaUpdates:function(){var t=this;return d(l().mark((function e(){var s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=JSON.parse(t.originalFields),JSON.stringify(s.media)===JSON.stringify(t.fields.media)){e.next=5;break}return e.next=5,axios.all(t.fields.media.map((function(e){return t.updateAltText(e)})));case 5:case"end":return e.stop()}}),e)})))()},updateAltText:function(t){return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.put("/api/v1/media/"+t.id,{description:t.description});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(22583),i=s(248);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(26535),i=s(22583);const o={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),i=s(48510),o=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},54965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(80979),i=s(20629);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},5540:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={components:{notifications:s(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=s(20629),i=s(68296),o=s(76429);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function l(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:i.default,UpdateAvatar:o.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},71753:(t,e,s)=>{function a(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return i(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 i(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 i(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);so});const o={props:{profile:{type:Object}},data:function(){return{canShow:!1,stories:[],selfStory:void 0}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){if(e.data&&e.data.length){t.selfStory=e.data.filter((function(e){return e.pid==t.profile.id}));var s,i=e.data.filter((function(e){return e.pid!==t.profile.id}));if(t.stories=i,t.canShow=!0,!i||!i.length||i.length<5)(s=t.stories).push.apply(s,a(Array(5-i.length).keys()))}}))}}}},66925:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(73128),i=s(78423);function o(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);sWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

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

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var s=document.createElement("div");s.appendChild(e),swal({title:"Why was my post unlisted?",content:s,icon:"warning"})}}}},8127:(t,e,s)=>{s.r(e),s.d(e,{default:()=>m});var a=s(45836),i=s(99247),o=s(78423),n=s(8829),r=s(5327),l=s(31823),c=s(21917),d=s(57166),u=s(44898),f=s(43136);function p(t){return function(t){if(Array.isArray(t))return h(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 h(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 h(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 h(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s0&&void 0!==arguments[0]&&arguments[0],s="/api/pixelfed/v1/timelines/".concat(this.getScope());axios.get(s,{params:{max_id:this.max_id,limit:6}}).then((function(e){var s=e.data.map((function(e){return e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]),e.id}));t.isLoaded=!0,0!=e.data.length&&(t.ids=s,t.max_id=Math.min.apply(Math,p(s)),t.feed=e.data,6!==e.data.length&&(t.canLoadMore=!1,t.showLoadMore=!0))})).then((function(){e&&t.$nextTick((function(){window.scrollTo({top:0,left:0,behavior:"smooth"}),t.$emit("refreshed")}))}))},enterIntersect:function(){var t=this;if(!this.isFetchingMore){this.isFetchingMore=!0;var e="/api/pixelfed/v1/timelines/".concat(this.getScope());axios.get(e,{params:{max_id:this.max_id,limit:6}}).then((function(e){e.data.length||(t.endFeedReached=!0,t.canLoadMore=!1,t.isFetchingMore=!1),setTimeout((function(){e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.max_id>e.id&&(t.max_id=e.id),t.ids.push(e.id),t.feed.push(e),e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]))})),t.isFetchingMore=!1}),100)}))}},tryToLoadMore:function(){var t=this;this.loadMoreAttempts++,this.loadMoreAttempts>=3&&(this.showLoadMore=!1),this.showLoadMore=!1,this.canLoadMore=!0,this.loadMoreTimeout=setTimeout((function(){t.canLoadMore=!1,t.showLoadMore=!0}),5e3)},likeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1;var 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 o=document.createElement("div");o.appendChild(i),429===s.response.status&&swal({title:"Too many requests",content:o,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},handleModTools:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.openModMenu()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(a){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count+1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1})).catch((function(s){swal("Oops!","An error occured when attempting to follow this account.","error"),e.feed[t].relationship.following=!1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].relationship.following=!0}))},updateProfile:function(t){this.$emit("update-profile",t)},handleRefresh:function(){var t=this;this.isLoaded=!1,this.feed=[],this.ids=[],this.max_id=0,this.canLoadMore=!0,this.showLoadMore=!1,this.loadMoreTimeout=void 0,this.loadMoreAttempts=0,this.isFetchingMore=!1,this.endFeedReached=!1,this.postIndex=0,this.showMenu=!1,this.showLikesModal=!1,this.likesModalPost={},this.showReportModal=!1,this.reportedStatus={},this.reportedStatusId=0,this.showSharesModal=!1,this.sharesModalPost={},this.$nextTick((function(){t.fetchTimeline(!0)}))},handleEdit:function(t){this.$refs.editModal.show(t)},mergeUpdatedPost:function(t){var e=this;this.feed=this.feed.map((function(e){return e.id==t.id&&(e=t),e})),this.$nextTick((function(){e.forceUpdateIdx++}))}},watch:{refresh:"handleRefresh"},beforeDestroy:function(){clearTimeout(this.loadMoreTimeout)}}},35842:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile},on:{refresh:function(e){t.shouldRefresh=!0}}})],1),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-6 px-0"},[t.storiesEnabled?e("story-carousel",{attrs:{profile:t.profile}}):t._e(),t._v(" "),e("timeline",{key:t.scope,attrs:{profile:t.profile,scope:t.scope,refresh:t.shouldRefresh},on:{"update-profile":t.updateProfile,refreshed:function(e){t.shouldRefresh=!1}}})],1),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar",{staticClass:"sticky-top sidebar"})],1)]),t._v(" "),e("drawer")],1):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[e("b-spinner")],1)])},i=[]},41262:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),e("div",{staticClass:"ph-col-6 big"})]),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"ph-picture"}),t._v(" "),e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12 big"}),t._v(" "),e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])}]},72474:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},73023:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},32770:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("img",{staticClass:"img-fluid",staticStyle:{"max-height":"300px",opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("This feed is empty")])])}]},50554:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},78580:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-onboarding"},[e("div",{staticClass:"card card-body shadow-sm mb-3 p-5",staticStyle:{"border-radius":"15px"}},[e("h1",{staticClass:"text-center mb-4"},[t._v("✨ "+t._s(t.$t("timeline.onboarding.welcome")))]),t._v(" "),e("p",{staticClass:"text-center mb-3",staticStyle:{"font-size":"22px"}},[t._v("\n\t\t\t"+t._s(t.$t("timeline.onboarding.thisIsYourHomeFeed"))+"\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v(t._s(t.$t("timeline.onboarding.letUsHelpYouFind")))]),t._v(" "),t.newlyFollowed?e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-primary btn-lg primary font-weight-bold rounded-pill px-4",attrs:{href:"/i/web",onclick:"location.reload()"}},[t._v("\n\t\t\t\t"+t._s(t.$t("timeline.onboarding.refreshFeed"))+"\n\t\t\t")])]):t._e()]),t._v(" "),e("div",{staticClass:"row"},t._l(t.popularAccounts,(function(s,a){return e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card shadow-sm border-0 rounded-px"},[e("div",{staticClass:"card-body p-2"},[e("profile-card",{key:"pfc"+a,staticClass:"w-100",attrs:{profile:s},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)])])})),0)])},i=[]},83692:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},7059:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},36563:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.config.ab.pue&&t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.editPost(t.status)}}},[t._v("\n\t\t\t\t\tEdit\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter font-weight-bold",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},93410:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{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"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},78190:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{centered:"","body-class":"p-0","footer-class":"d-flex justify-content-between align-items-center"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Edit Post")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]}},{key:"modal-footer",fn:function(s){s.ok;var a=s.cancel;s.hide;return[e("b-button",{staticClass:"rounded-pill px-3 font-weight-bold",attrs:{variant:"outline-muted"},on:{click:function(t){return a()}}},[t._v("\n\t\t\tCancel\n\t\t")]),t._v(" "),e("b-button",{staticClass:"rounded-pill font-weight-bold",staticStyle:{"min-width":"195px"},attrs:{variant:"primary",disabled:!t.canSave},on:{click:t.handleSave}},[t.isSubmitting?[e("b-spinner",{attrs:{small:""}})]:[t._v("\n\t\t\t\tSave Updates\n\t\t\t")]],2)]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-body",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"300px"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center flex-column",staticStyle:{gap:"0.4rem"}},[e("b-spinner",{attrs:{variant:"primary"}}),t._v(" "),e("p",{staticClass:"small mb-0 font-weight-lighter"},[t._v("Loading Post...")])],1)])],1):!t.isLoading&&t.isOpen&&t.status&&t.status.id?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-header",{attrs:{"header-tag":"nav"}},[e("b-nav",{attrs:{tabs:"",fill:"","card-header":""}},[e("b-nav-item",{attrs:{active:0===t.tabIndex},on:{click:function(e){return t.toggleTab(0)}}},[t._v("Caption")]),t._v(" "),e("b-nav-item",{attrs:{active:1===t.tabIndex},on:{click:function(e){return t.toggleTab(1)}}},[t._v("Media")]),t._v(" "),e("b-nav-item",{attrs:{active:4===t.tabIndex},on:{click:function(e){return t.toggleTab(3)}}},[t._v("Other")])],1)],1),t._v(" "),e("b-card-body",{staticStyle:{"min-height":"300px"}},[0===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Caption")]),t._v(" "),e("div",{staticClass:"media mb-0"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.caption,expression:"fields.caption"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"4",placeholder:"Write a caption...",maxlength:t.config.uploader.max_caption_length},domProps:{value:t.fields.caption},on:{keyup:function(e){t.composeTextLength=t.fields.caption.length},input:function(e){e.target.composing||t.$set(t.fields,"caption",e.target.value)}}})]),t._v(" "),e("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(" "),e("hr"),t._v(" "),e("p",{staticClass:"font-weight-bold small"},[t._v("Sensitive/NSFW")]),t._v(" "),e("div",{staticClass:"border py-2 px-3 bg-light rounded"},[e("b-form-checkbox",{staticStyle:{"font-weight":"300"},attrs:{name:"check-button",switch:""},model:{value:t.fields.sensitive,callback:function(e){t.$set(t.fields,"sensitive",e)},expression:"fields.sensitive"}},[e("span",{staticClass:"ml-1 small"},[t._v("Contains spoilers, sensitive or nsfw content")])])],1),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.fields.sensitive?e("div",{staticClass:"form-group mt-3"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Content Warning")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.spoiler_text,expression:"fields.spoiler_text"}],staticClass:"form-control",attrs:{rows:"2",placeholder:"Add an optional spoiler/content warning...",maxlength:140},domProps:{value:t.fields.spoiler_text},on:{input:function(e){e.target.composing||t.$set(t.fields,"spoiler_text",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.fields.spoiler_text?t.fields.spoiler_text.length:0)+"/140")])]):t._e()])]:1===t.tabIndex?[e("div",{staticClass:"list-group"},t._l(t.fields.media,(function(s,a){return e("div",{key:"edm:"+s.id+":"+a,staticClass:"list-group-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},["image"===s.type?[e("img",{staticClass:"bg-light rounded cursor-pointer",staticStyle:{"object-fit":"cover"},attrs:{src:s.url,width:"40",height:"40"},on:{click:t.toggleLightbox}})]:t._e(),t._v(" "),e("p",{staticClass:"d-none d-lg-block mb-0"},[e("span",{staticClass:"small font-weight-light"},[t._v(t._s(s.mime))])]),t._v(" "),e("button",{staticClass:"btn btn-sm font-weight-bold rounded-pill px-4",class:[s.description&&s.description.length?"btn-success":"btn-outline-muted"],staticStyle:{"font-size":"13px"},on:{click:function(e){return e.preventDefault(),t.handleAddAltText(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.description&&s.description.length?"Edit Alt Text":"Add Alt Text")+"\n\t\t\t\t\t\t\t")]),t._v(" "),t.fields.media&&t.fields.media.length>1?e("div",{staticClass:"btn-group"},[e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:0===a},attrs:{href:"#",disabled:0===a},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("prev",a)}}},[e("i",{staticClass:"fas fa-arrow-alt-up"})]),t._v(" "),e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:a===t.fields.media.length-1},attrs:{href:"#",disabled:a===t.fields.media.length-1},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("next",a)}}},[e("i",{staticClass:"fas fa-arrow-alt-down"})])]):t._e(),t._v(" "),t.fields.media&&t.fields.media.length&&t.fields.media.length>1?e("button",{staticClass:"btn btn-outline-danger btn-sm",on:{click:function(e){return e.preventDefault(),t.removeMedia(a)}}},[e("i",{staticClass:"far fa-trash-alt"})]):t._e()],2),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.altTextEditIndex===a?[e("div",{staticClass:"form-group mt-1"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Alt Text")]),t._v(" "),e("b-form-textarea",{attrs:{placeholder:"Describe your image for the visually impaired...",rows:"3","max-rows":"6"},on:{input:function(e){return t.handleAltTextUpdate(a)}},model:{value:s.description,callback:function(e){t.$set(s,"description",e)},expression:"media.description"}}),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("a",{staticClass:"font-weight-bold small text-muted",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.altTextEditIndex=void 0}}},[t._v("Close")]),t._v(" "),e("p",{staticClass:"help-text small mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.fields.media[a].description?t.fields.media[a].description.length:0)+"/"+t._s(t.config.uploader.max_altext_length)+"\n\t\t\t\t\t\t\t\t\t\t")])])],1)]:t._e()],2)],1)})),0)]:3===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Location")]),t._v(" "),e("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}}),t._v(" "),t.fields.location&&t.fields.location.hasOwnProperty("id")?e("div",{staticClass:"mt-3 border rounded p-3 d-flex justify-content-between"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.fields.location.name)+", "+t._s(t.fields.location.country)+"\n\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link text-danger m-0 p-0",on:{click:function(e){return e.preventDefault(),t.clearLocation.apply(null,arguments)}}},[e("i",{staticClass:"far fa-trash"})])]):t._e()]:t._e()],2)],1):t._e()],1)},i=[]},26208:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)},i=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},48087:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},20832:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},i=[]},30964:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},97069:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-carousel-component"},[t.canShow?e("div",{staticClass:"d-flex story-carousel-component-wrapper",staticStyle:{"overflow-y":"auto","z-index":"3"}},[e("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 text-dark text-decoration-none",staticStyle:{"max-width":"120px"},attrs:{href:"/i/stories/new"}},[t.selfStory&&t.selfStory.length?[e("div",{staticClass:"story-wrapper text-white shadow-sm mb-3",staticStyle:{width:"100%",height:"200px","border-radius":"15px"},style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url(".concat(t.selfStory[0].latest.preview_url,")"),backgroundSize:"cover",backgroundPosition:"center"}},[t._m(0)])]:[e("div",{staticClass:"story-wrapper text-white shadow-sm d-flex flex-column align-items-center justify-content-between",staticStyle:{width:"100%",height:"200px","border-radius":"15px"}},[e("p",{staticClass:"mb-4"}),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("story.add")))])])]],2),t._v(" "),t._l(t.stories,(function(s,a){return e("div",{staticClass:"col-4 col-lg-3 col-xl-2 px-1",staticStyle:{"max-width":"120px"}},[s.hasOwnProperty("url")?[e("a",{staticClass:"story",attrs:{href:s.url}},[s.latest&&"photo"==s.latest.type?e("div",{staticClass:"shadow-sm story-wrapper",class:{seen:s.seen},style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url(".concat(s.latest.preview_url,")"),backgroundSize:"cover",backgroundPosition:"center"}},[e("div",{staticClass:"story-wrapper-blur",staticStyle:{display:"block",width:"100%",height:"100%",position:"relative"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])])])]):e("div",{staticClass:"shadow-sm story-wrapper"},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t")])])])])]:[e("div",{staticClass:"story shadow-sm story-wrapper seen",style:{background:"linear-gradient(rgba(0,0,0,0.01),rgba(0,0,0,0.04))"}},[t._m(2,!0)])]],2)})),t._v(" "),t.selfStory&&t.selfStory.length&&t.stories.length<2?t._l(5,(function(s){return e("div",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 story",staticStyle:{"max-width":"120px"}},[e("div",{staticClass:"shadow-sm story-wrapper seen",style:{background:"linear-gradient(rgba(0,0,0,0.01),rgba(0,0,0,0.04))"}},[t._m(3,!0)])])})):t._e()],2):t._e()])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-wrapper-blur d-flex flex-column align-items-center justify-content-between",staticStyle:{display:"block",width:"100%",height:"100%"}},[e("p",{staticClass:"mb-4"}),t._v(" "),e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fal fa-plus-circle fa-2x"})]),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v("My Story")])])},function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fal fa-plus-circle fa-2x"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-wrapper-blur",staticStyle:{display:"block",width:"100%",height:"100%",position:"relative"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"}),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-wrapper-blur",staticStyle:{display:"block",width:"100%",height:"100%",position:"relative"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"}),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"})])])}]},78061:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"align-self-start"},[e("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),e("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),e("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},69205:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,a){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},["autospam.warning"===s.type?e("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mt-n1 mb-0"},[e("span",{staticClass:"small text-muted"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showAutospamInfo(s.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},i=[]},98721:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-section-component"},[t.isLoaded?e("div",[t._l(t.feed,(function(s,a){return e("status",{key:"pf_feed:"+s.id+":idx:"+a+":fui:"+t.forceUpdateIdx,attrs:{status:s,profile:t.profile},on:{like:function(e){return t.likeStatus(a)},unlike:function(e){return t.unlikeStatus(a)},share:function(e){return t.shareStatus(a)},unshare:function(e){return t.unshareStatus(a)},menu:function(e){return t.openContextMenu(a)},"counter-change":function(e){return t.counterChange(a,e)},"likes-modal":function(e){return t.openLikesModal(a)},"shares-modal":function(e){return t.openSharesModal(a)},follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport,bookmark:function(e){return t.handleBookmark(a)},"mod-tools":function(e){return t.handleModTools(a)}}})})),t._v(" "),t.showLoadMore?e("div",{staticClass:"text-center"},[e("button",{staticClass:"btn btn-primary rounded-pill font-weight-bold",on:{click:t.tryToLoadMore}},[t._v("\n\t\t\t\tLoad more\n\t\t\t")])]):t._e(),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e(),t._v(" "),!t.isLoaded&&t.feed.length&&t.endFeedReached?e("div",{staticStyle:{"margin-bottom":"50vh"}},[t._m(0)]):t._e(),t._v(" "),"home"!=t.scope||t.feed.length?t._e():e("timeline-onboarding",{attrs:{profile:t.profile},on:{"update-profile":t.updateProfile}}),t._v(" "),t.isLoaded&&"home"!==t.scope&&!t.feed.length?e("empty-timeline"):t._e()],2):e("div",[e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder")],1),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport,edit:t.handleEdit}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}}),t._v(" "),e("post-edit-modal",{ref:"editModal",on:{update:t.mergeUpdatedPost}})],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]},12959:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-65d7313c]{border-radius:15px}.username[data-v-65d7313c]{margin-bottom:-6px}.btn-white[data-v-65d7313c]{background-color:#fff;border:1px solid #f3f4f6}.sidebar[data-v-65d7313c]{top:90px}",""]);const o=i},48605:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((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 .avatar{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:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const o=i},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const o=i},21523:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((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 o=i},41866:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((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:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const o=i},52420:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const o=i},28943:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,"div[data-v-1be4e9aa],p[data-v-1be4e9aa]{font-family:var(--font-family-sans-serif)}.nav-link[data-v-1be4e9aa]{color:var(--text-lighter);font-size:13px;font-weight:600}.nav-link.active[data-v-1be4e9aa]{color:var(--primary);font-weight:800}.slide-fade-enter-active[data-v-1be4e9aa]{transition:all .5s ease}.slide-fade-leave-active[data-v-1be4e9aa]{transition:all .2s cubic-bezier(.5,1,.6,1)}.slide-fade-enter[data-v-1be4e9aa],.slide-fade-leave-to[data-v-1be4e9aa]{opacity:0;transform:translateY(20px)}",""]);const o=i},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const o=i},17738:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const o=i},1644:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const o=i},80402:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".story-carousel-component-wrapper{-ms-overflow-style:none;scrollbar-width:none}.story-carousel-component-wrapper::-webkit-scrollbar{width:0!important}.story-carousel-component .story-wrapper{background:#b24592;background:linear-gradient(90deg,#b24592,#f15f79);border:1px solid var(--border-color);border-radius:15px;display:block;height:200px;margin-bottom:1rem;overflow:hidden;position:relative;width:100%}.story-carousel-component .story-wrapper .username{color:#fff}.story-carousel-component .story-wrapper .avatar{border-radius:6px;margin-bottom:5px}.story-carousel-component .story-wrapper.seen{opacity:30%}.story-carousel-component .story-wrapper-blur{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:rgba(0,0,0,.2);border-radius:15px;overflow:hidden}.force-dark-mode .story-wrapper.seen{background:linear-gradient(hsla(0,0%,100%,.12),hsla(0,0%,100%,.14))!important;opacity:50%}",""]);const o=i},195:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const o=i},62985:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const o=i},13319:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(12959),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},1582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(48605),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(95433),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},17378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(21523),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},94207:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(41866),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},2245:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(52420),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},40658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(28943),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(93986),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},92341:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(17738),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},64111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(1644),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},93822:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(80402),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},7051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(195),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},81459:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(62985),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},98489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(4398),i=s(67828),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(24010);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"65d7313c",null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(8056);const i=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(80568),i=s(60378),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(84074);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(87661),i=s(1374),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(72682);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(18709),i=s(72214),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},76429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(5249),i=s(74778),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57166:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(63254);const i=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},73128:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(22356),i=s(163),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},44898:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(80229),i=s(77733),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(53042);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(35613),i=s(3646),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(40636);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78559),i=s(43354),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(88760),i=s(23983),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(37444),i=s(59111),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},248:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(49886),i=s(56897),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(51698);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(28476);const i=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(50282),i=s(6921),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(56253),i=s(40102),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},43136:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(30906),i=s(76067),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(81062);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"1be4e9aa",null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(76961),i=s(33012),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(73433),i=s(94747),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(23666),i=s(19651),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(70946),i=s(84021),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(30535),i=s(84185),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(62544);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},78375:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(79325),i=s(2678),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(86965);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(7071),i=s(28058),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(11883);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},66915:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(17303),i=s(98626),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(40687);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},68296:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(48170),i=s(82834),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(89501);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},73459:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(6831),i=s(67476),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(35817);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},55197:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(93409),i=s(2118),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},67828:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(41015),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(95217),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(89250),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(8671),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},74778:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(29022),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},163:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(54076),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},77733:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(40744),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(19444),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(13143),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(3861),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(60658),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},56897:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(42562),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(36935),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(92606),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},76067:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(22890),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(51815),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(17810),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(2011),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(24489),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(54965),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},2678:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(5540),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},28058:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(11188),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},98626:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(71753),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},82834:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(66925),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},67476:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(43762),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},2118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(8127),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},4398:(t,e,s)=>{s.r(e);var a=s(35842),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},8056:(t,e,s)=>{s.r(e);var a=s(41262),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},80568:(t,e,s)=>{s.r(e);var a=s(72474),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},87661:(t,e,s)=>{s.r(e);var a=s(7231),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},18709:(t,e,s)=>{s.r(e);var a=s(97584),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5249:(t,e,s)=>{s.r(e);var a=s(73023),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},63254:(t,e,s)=>{s.r(e);var a=s(32770),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},22356:(t,e,s)=>{s.r(e);var a=s(50554),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},80229:(t,e,s)=>{s.r(e);var a=s(78580),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},35613:(t,e,s)=>{s.r(e);var a=s(83692),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},78559:(t,e,s)=>{s.r(e);var a=s(54822),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88760:(t,e,s)=>{s.r(e);var a=s(7059),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},37444:(t,e,s)=>{s.r(e);var a=s(36563),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},49886:(t,e,s)=>{s.r(e);var a=s(93410),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},28476:(t,e,s)=>{s.r(e);var a=s(73954),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},50282:(t,e,s)=>{s.r(e);var a=s(92994),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},56253:(t,e,s)=>{s.r(e);var a=s(3103),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},30906:(t,e,s)=>{s.r(e);var a=s(78190),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},76961:(t,e,s)=>{s.r(e);var a=s(26208),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},73433:(t,e,s)=>{s.r(e);var a=s(84027),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},23666:(t,e,s)=>{s.r(e);var a=s(93853),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},70946:(t,e,s)=>{s.r(e);var a=s(10454),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},30535:(t,e,s)=>{s.r(e);var a=s(48087),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},79325:(t,e,s)=>{s.r(e);var a=s(20832),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},7071:(t,e,s)=>{s.r(e);var a=s(30964),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},17303:(t,e,s)=>{s.r(e);var a=s(97069),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48170:(t,e,s)=>{s.r(e);var a=s(78061),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},6831:(t,e,s)=>{s.r(e);var a=s(69205),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},93409:(t,e,s)=>{s.r(e);var a=s(98721),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},24010:(t,e,s)=>{s.r(e);var a=s(13319),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},84074:(t,e,s)=>{s.r(e);var a=s(1582),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},72682:(t,e,s)=>{s.r(e);var a=s(2869),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},53042:(t,e,s)=>{s.r(e);var a=s(17378),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},40636:(t,e,s)=>{s.r(e);var a=s(94207),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},51698:(t,e,s)=>{s.r(e);var a=s(2245),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},81062:(t,e,s)=>{s.r(e);var a=s(40658),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},62544:(t,e,s)=>{s.r(e);var a=s(51010),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86965:(t,e,s)=>{s.r(e);var a=s(92341),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11883:(t,e,s)=>{s.r(e);var a=s(64111),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},40687:(t,e,s)=>{s.r(e);var a=s(93822),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},89501:(t,e,s)=>{s.r(e);var a=s(7051),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},35817:(t,e,s)=>{s.r(e);var a=s(81459),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/manifest.js b/public/js/manifest.js index b27be13f6..3f7ca64d1 100644 --- a/public/js/manifest.js +++ b/public/js/manifest.js @@ -1 +1 @@ -(()=>{"use strict";var e,r,t,n={},d={};function o(e){var r=d[e];if(void 0!==r)return r.exports;var t=d[e]={id:e,loaded:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=n,e=[],o.O=(r,t,n,d)=>{if(!t){var a=1/0;for(l=0;l=d)&&Object.keys(o.O).every((e=>o.O[e](t[i])))?t.splice(i--,1):(c=!1,d0&&e[l-1][2]>d;l--)e[l]=e[l-1];e[l]=[t,n,d]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,t)=>(o.f[t](e,r),r)),[])),o.u=e=>"js/"+{1084:"profile~followers.bundle",1983:"kb.bundle",2470:"home.chunk",2521:"about.bundle",2530:"discover~myhashtags.chunk",2586:"compose.chunk",2732:"dms~message.chunk",3351:"discover~settings.chunk",3365:"dms.chunk",3623:"discover~findfriends.chunk",4028:"error404.bundle",4509:"static~privacy.bundle",4958:"discover.chunk",4965:"discover~memories.chunk",5865:"post.chunk",6053:"notifications.chunk",6869:"profile.chunk",7004:"help.bundle",7019:"discover~hashtag.bundle",8021:"contact.bundle",8250:"i18n.bundle",8517:"daci.chunk",8600:"changelog.bundle",8625:"profile~following.bundle",8900:"discover~serverfeed.chunk",9144:"static~tos.bundle"}[e]+"."+{1084:"eac566ea09458e75",1983:"7c3d070a9bcc0489",2470:"0e9fc41724d23244",2521:"dcf91eae809841f8",2530:"13f89821b79c60b2",2586:"eb564854474fa255",2732:"1d2a7a110371a12b",3351:"0214ed5defdfffe6",3365:"a36285d6eee3b46f",3623:"877ae71a400e7766",4028:"f84c69eed21a7d82",4509:"60f5c03624e7626e",4958:"5d1455b7a1531f25",4965:"53c39f9ed816845e",5865:"7c05c9ede39712e0",6053:"fa21418a86f44a18",6869:"cdd251b6c8b3716e",7004:"0d8a2725bcc8ed81",7019:"0f0dea872c1b644e",8021:"97bd609a4737ae8d",8250:"83d55d158de68d01",8517:"ed26e4b12df98c68",8600:"500c0754dd59045b",8625:"193b1268a32bbd07",8900:"232aecc81bd2f1cb",9144:"d5389c3b8c2569d5"}[e]+".js",o.miniCssF=e=>({138:"css/spa",703:"css/admin",1242:"css/appdark",6170:"css/app",8737:"css/portfolio",9994:"css/landing"}[e]+".css"),o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="pixelfed:",o.l=(e,n,d,a)=>{if(r[e])r[e].push(n);else{var c,i;if(void 0!==d)for(var s=document.getElementsByTagName("script"),l=0;l{c.onerror=c.onload=null,clearTimeout(b);var d=r[e];if(delete r[e],c.parentNode&&c.parentNode.removeChild(c),d&&d.forEach((e=>e(n))),t)return t(n)},b=setTimeout(f.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=f.bind(null,c.onerror),c.onload=f.bind(null,c.onload),i&&document.head.appendChild(c)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.p="/",(()=>{var e={8929:0,1242:0,6170:0,8737:0,703:0,9994:0,138:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1242|138|6170|703|8737|8929|9994)$/.test(r))e[r]=0;else{var d=new Promise(((t,d)=>n=e[r]=[t,d]));t.push(n[2]=d);var a=o.p+o.u(r),c=new Error;o.l(a,(t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var d=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;c.message="Loading chunk "+r+" failed.\n("+d+": "+a+")",c.name="ChunkLoadError",c.type=d,c.request=a,n[1](c)}}),"chunk-"+r,r)}},o.O.j=r=>0===e[r];var r=(r,t)=>{var n,d,[a,c,i]=t,s=0;if(a.some((r=>0!==e[r]))){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);if(i)var l=i(o)}for(r&&r(t);s{"use strict";var e,r,t,n={},d={};function o(e){var r=d[e];if(void 0!==r)return r.exports;var t=d[e]={id:e,loaded:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=n,e=[],o.O=(r,t,n,d)=>{if(!t){var a=1/0;for(l=0;l=d)&&Object.keys(o.O).every((e=>o.O[e](t[i])))?t.splice(i--,1):(c=!1,d0&&e[l-1][2]>d;l--)e[l]=e[l-1];e[l]=[t,n,d]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,t)=>(o.f[t](e,r),r)),[])),o.u=e=>"js/"+{1084:"profile~followers.bundle",1983:"kb.bundle",2470:"home.chunk",2521:"about.bundle",2530:"discover~myhashtags.chunk",2586:"compose.chunk",2732:"dms~message.chunk",3351:"discover~settings.chunk",3365:"dms.chunk",3623:"discover~findfriends.chunk",4028:"error404.bundle",4509:"static~privacy.bundle",4958:"discover.chunk",4965:"discover~memories.chunk",5865:"post.chunk",6053:"notifications.chunk",6869:"profile.chunk",7004:"help.bundle",7019:"discover~hashtag.bundle",8021:"contact.bundle",8250:"i18n.bundle",8517:"daci.chunk",8600:"changelog.bundle",8625:"profile~following.bundle",8900:"discover~serverfeed.chunk",9144:"static~tos.bundle"}[e]+"."+{1084:"eac566ea09458e75",1983:"7c3d070a9bcc0489",2470:"09c05d3c35a0e616",2521:"dcf91eae809841f8",2530:"13f89821b79c60b2",2586:"eb564854474fa255",2732:"1d2a7a110371a12b",3351:"0214ed5defdfffe6",3365:"a36285d6eee3b46f",3623:"877ae71a400e7766",4028:"f84c69eed21a7d82",4509:"60f5c03624e7626e",4958:"3bf28b9cb8e2b43c",4965:"53c39f9ed816845e",5865:"7030c12e2ba2c9cd",6053:"fa21418a86f44a18",6869:"cdd251b6c8b3716e",7004:"0d8a2725bcc8ed81",7019:"0c6a732dd741a483",8021:"97bd609a4737ae8d",8250:"83d55d158de68d01",8517:"ed26e4b12df98c68",8600:"500c0754dd59045b",8625:"193b1268a32bbd07",8900:"232aecc81bd2f1cb",9144:"d5389c3b8c2569d5"}[e]+".js",o.miniCssF=e=>({138:"css/spa",703:"css/admin",1242:"css/appdark",6170:"css/app",8737:"css/portfolio",9994:"css/landing"}[e]+".css"),o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="pixelfed:",o.l=(e,n,d,a)=>{if(r[e])r[e].push(n);else{var c,i;if(void 0!==d)for(var s=document.getElementsByTagName("script"),l=0;l{c.onerror=c.onload=null,clearTimeout(b);var d=r[e];if(delete r[e],c.parentNode&&c.parentNode.removeChild(c),d&&d.forEach((e=>e(n))),t)return t(n)},b=setTimeout(f.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=f.bind(null,c.onerror),c.onload=f.bind(null,c.onload),i&&document.head.appendChild(c)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.p="/",(()=>{var e={8929:0,1242:0,6170:0,8737:0,703:0,9994:0,138:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1242|138|6170|703|8737|8929|9994)$/.test(r))e[r]=0;else{var d=new Promise(((t,d)=>n=e[r]=[t,d]));t.push(n[2]=d);var a=o.p+o.u(r),c=new Error;o.l(a,(t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var d=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;c.message="Loading chunk "+r+" failed.\n("+d+": "+a+")",c.name="ChunkLoadError",c.type=d,c.request=a,n[1](c)}}),"chunk-"+r,r)}},o.O.j=r=>0===e[r];var r=(r,t)=>{var n,d,[a,c,i]=t,s=0;if(a.some((r=>0!==e[r]))){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);if(i)var l=i(o)}for(r&&r(t);s{s.r(e),s.d(e,{default:()=>f});var i=s(42755),a=s(78375),n=s(88231),o=s(99247),r=s(8829),l=s(9656),c=s(5327),d=s(31823),u=s(21917),p=s(43136);const f={props:{cachedStatus:{type:Object},cachedProfile:{type:Object}},components:{drawer:i.default,sidebar:n.default,status:o.default,"context-menu":r.default,"media-container":l.default,"likes-modal":c.default,"shares-modal":d.default,rightbar:a.default,"report-modal":u.default,"post-edit-modal":p.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:{},showSharesModal:!1,postStateError:!1,forceUpdateIdx:0}},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"),e.data.hasOwnProperty("account")&&e.data.account?(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()):t.postStateError=!0})).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,t.postStateError=!0}))},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()}))},openSharesModal:function(){var t=this;this.showSharesModal=!0,this.$nextTick((function(){t.$refs.sharesModal.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()}))},counterChange:function(t){switch(t){case"comment-increment":this.post.reply_count=this.post.reply_count+1;break;case"comment-decrement":this.post.reply_count=this.post.reply_count-1}},handleEdit:function(t){this.$refs.editModal.show(t)},mergeUpdatedPost:function(t){var e=this;this.post=t,this.$nextTick((function(){e.forceUpdateIdx++}))}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(26535),a=s(74338),n=s(37846),o=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"post-content":n.default,"post-header":a.default,"post-reactions":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&!1===this.status.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},29022:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{s.r(e),s.d(e,{default:()=>i});const i={props:{small:{type:Boolean,default:!1}}}},19444:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(15235),a=s(80979),n=s(22583),o=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:a.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:o.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(80979);const a={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:i.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(19755);const a={props:["status","profile"],data:function(){return{config:window.App.config,ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?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 i=this,a=(t.account.username,t.id,""),n=this;switch(e){case"addcw":a=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:a,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(i.$t("common.success"),i.$t("menu.modCWSuccess"),"success"),i.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"remcw":a=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:a,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(i.$t("common.success"),i.$t("menu.modRemoveCWSuccess"),"success"),i.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"unlist":a=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:a,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){i.$emit("moderate","unlist"),swal(i.$t("common.success"),i.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"spammer":a=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:a,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){i.$emit("moderate","spammer"),swal(i.$t("common.success"),i.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=i("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))},editPost:function(t){this.closeModals(),this.$emit("edit",t)}}}},42562:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),i=Math.floor(s/63072e3);return i<0?"0s":i>=1?i+(1==i?" year":" years")+" ago":(i=Math.floor(s/604800))>=1?i+(1==i?" week":" weeks")+" ago":(i=Math.floor(s/86400))>=1?i+(1==i?" day":" days")+" ago":(i=Math.floor(s/3600))>=1?i+(1==i?" hour":" hours")+" ago":(i=Math.floor(s/60))>=1?i+(1==i?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(78423),a=s(48510),n=s(10831);const o={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":a.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},2568:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={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()}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(99347);const a={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,i.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22890:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var i=s(29655),a=s(99347);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(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 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 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 s=0,i=new Array(e);s=0;--a){var n=this.tryEntries[a],o=n.completion;if("root"===n.tryLoc)return i("end");if(n.tryLoc<=this.prev){var r=s.call(n,"catchLoc"),l=s.call(n,"finallyLoc");if(r&&l){if(this.prev=0;--i){var a=this.tryEntries[i];if(a.tryLoc<=this.prev&&s.call(a,"finallyLoc")&&this.prev=0;--e){var s=this.tryEntries[e];if(s.finallyLoc===t)return this.complete(s.completion,s.afterLoc),M(s),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.tryLoc===t){var i=s.completion;if("throw"===i.type){var a=i.arg;M(s)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,s){return this.delegate={iterator:P(t),resultName:e,nextLoc:s},"next"===this.method&&(this.arg=void 0),f}},t}function c(t,e,s,i,a,n,o){try{var r=t[n](o),l=r.value}catch(t){return void s(t)}r.done?e(l):Promise.resolve(l).then(i,a)}function d(t){return function(){var e=this,s=arguments;return new Promise((function(i,a){var n=t.apply(e,s);function o(t){c(n,i,a,o,r,"next",t)}function r(t){c(n,i,a,o,r,"throw",t)}o(void 0)}))}}const u={components:{Autocomplete:i.default},data:function(){return{config:window.App.config,status:void 0,isLoading:!0,isOpen:!1,isSubmitting:!1,tabIndex:0,canEdit:!1,composeTextLength:0,canSave:!1,originalFields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},fields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},medias:void 0,altTextEditIndex:void 0,tributeSettings:{noMatchTemplate:function(){return 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){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){console.log(t)}))}}]}}},watch:{fields:{deep:!0,immediate:!0,handler:function(t,e){this.canEdit&&(this.canSave=this.originalFields!==JSON.stringify(this.fields))}}},methods:{reset:function(){this.status=void 0,this.tabIndex=0,this.isOpen=!1,this.canEdit=!1,this.composeTextLength=0,this.canSave=!1,this.originalFields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.fields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.medias=void 0,this.altTextEditIndex=void 0,this.isSubmitting=!1},show:function(t){var e=this;return d(l().mark((function s(){return l().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,axios.get("/api/v1/statuses/"+t.id,{params:{_pe:1}}).then((function(t){e.reset(),e.init(t.data)})).finally((function(){setTimeout((function(){e.isLoading=!1}),500)}));case 2:case"end":return s.stop()}}),s)})))()},init:function(t){var e=this;this.reset(),this.originalFields=JSON.stringify({caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments}),this.fields={caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments},this.status=t,this.medias=t.media_attachments,this.composeTextLength=t.content_text?t.content_text.length:0,this.isOpen=!0,setTimeout((function(){e.canEdit=!0}),1e3)},toggleTab:function(t){this.tabIndex=t,this.altTextEditIndex=void 0},toggleVisibility:function(t){this.fields.visibility=t},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){this.fields.location=t,this.tabIndex=0},clearLocation:function(){event.currentTarget.blur(),this.fields.location=null,this.tabIndex=0},handleAltTextUpdate:function(t){0==this.fields.media[t].description.length&&(this.fields.media[t].description=null)},moveMedia:function(t,e,s){var i=o(s),a=i.splice(t,1)[0];return i.splice(e,0,a),i},toggleMediaOrder:function(t,e){"prev"===t&&(this.fields.media=this.moveMedia(e,e-1,this.fields.media)),"next"===t&&(this.fields.media=this.moveMedia(e,e+1,this.fields.media))},toggleLightbox:function(t){(0,a.default)({el:t.target})},handleAddAltText:function(t){event.currentTarget.blur(),this.altTextEditIndex=t},removeMedia:function(t){var e=this;swal({title:"Confirm",text:"Are you sure you want to remove this media from your post?",buttons:{cancel:"Cancel",confirm:{text:"Confirm Removal",value:"remove",className:"swal-button--danger"}}}).then((function(s){"remove"===s&&e.fields.media.splice(t,1)}))},handleSave:function(){var t=this;return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return event.currentTarget.blur(),t.canSave=!1,t.isSubmitting=!0,e.next=5,t.checkMediaUpdates();case 5:axios.put("/api/v1/statuses/"+t.status.id,{status:t.fields.caption,spoiler_text:t.fields.spoiler_text,sensitive:t.fields.sensitive,media_ids:t.fields.media.map((function(t){return t.id})),location:t.fields.location}).then((function(e){t.isOpen=!1,t.$emit("update",e.data),swal({title:"Post Updated",text:"You have successfully updated this post!",icon:"success",buttons:{close:{text:"Close",value:"close",close:!0,className:"swal-button--cancel"},view:{text:"View Post",value:"view",className:"btn-primary"}}}).then((function(e){"view"===e&&("post"===t.$router.currentRoute.name?window.location.reload():t.$router.push("/i/web/post/"+t.status.id))}))})).catch((function(e){t.isSubmitting=!1,e.response.data.hasOwnProperty("error")?swal("Error",e.response.data.error,"error"):swal("Error","An error occured, please try again later","error"),console.log(e)}));case 6:case"end":return e.stop()}}),e)})))()},checkMediaUpdates:function(){var t=this;return d(l().mark((function e(){var s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=JSON.parse(t.originalFields),JSON.stringify(s.media)===JSON.stringify(t.fields.media)){e.next=5;break}return e.next=5,axios.all(t.fields.media.map((function(e){return t.updateAltText(e)})));case 5:case"end":return e.stop()}}),e)})))()},updateAltText:function(t){return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.put("/api/v1/media/"+t.id,{description:t.description});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(22583),a=s(248);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":i.default,"edit-history-modal":a.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(26535),a=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"profile-hover-card":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={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 i=document.createElement("a");i.href=e.getAttribute("href"),s=s+"@"+i.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)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(78423),a=s(48510),n=s(10831);const o={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":a.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},54965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(80979),a=s(20629);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:i.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),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[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 i=document.createElement("a");i.href=t.profile.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},5540:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={components:{notifications:s(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var i=s(20629),a=s(68296),n=s(76429);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function l(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!==o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:a.default,UpdateAvatar:n.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},66925:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(73128),a=s(78423);function n(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(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 o(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 o(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);sWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var s=document.createElement("div");s.appendChild(e),swal({title:"Why was my post unlisted?",content:s,icon:"warning"})}}}},66154:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-timeline-component web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[e("sidebar",{attrs:{user:t.user}})],1),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-6"},[t.isReply?e("div",{staticClass:"p-3 rounded-top mb-n3",staticStyle:{"background-color":"var(--card-header-accent)"}},[e("p",[e("i",{staticClass:"fal fa-reply mr-1"}),t._v(" In reply to\n\n\t\t\t\t\t\t"),e("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(" "),e("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(" "),e("status",{key:t.post.id+":fui:"+t.forceUpdateIdx,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()},"shares-modal":function(e){return t.openSharesModal()},bookmark:function(e){return t.handleBookmark()},share:function(e){return t.shareStatus()},unshare:function(e){return t.unshareStatus()},"counter-change":t.counterChange}})],1),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar")],1)])]):t._e(),t._v(" "),t.postStateError?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[e("sidebar",{attrs:{user:t.user}})],1),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar")],1)])]):t._e(),t._v(" "),t.isLoaded?e("context-menu",{ref:"contextMenu",attrs:{status:t.post,profile:t.user},on:{"report-modal":function(e){return t.handleReport()},delete:function(e){return t.deletePost()},edit:t.handleEdit}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.post,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.post,profile:t.profile}}):t._e(),t._v(" "),t.post?e("report-modal",{ref:"reportModal",attrs:{status:t.post}}):t._e(),t._v(" "),e("post-edit-modal",{ref:"editModal",on:{update:t.mergeUpdatedPost}}),t._v(" "),e("drawer")],1)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-8 col-lg-6"},[e("div",{staticClass:"card card-body shadow-none border"},[e("div",{staticClass:"d-flex align-self-center flex-column",staticStyle:{"max-width":"500px"}},[e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-exclamation-triangle fa-3x text-lighter"})]),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold"},[t._v("Error displaying post")]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v("This can happen for a few reasons:")]),t._v(" "),e("ul",{staticClass:"text-lighter"},[e("li",[t._v("The url is invalid or has a typo")]),t._v(" "),e("li",[t._v("The page has been flagged for review by our automated abuse detection systems")]),t._v(" "),e("li",[t._v("The content may have been deleted")]),t._v(" "),e("li",[t._v("You do not have permission to view this content")])])])])])}]},72474:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},a=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},a=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},a=[]},73023:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},a=[]},50554:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},a=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},83692:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===i?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(i,a){return e("div",{on:{click:function(e){return t.lightbox(s,a)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[a].blurhash,src:t.getMediaSource(s,a)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===i?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===i?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===i?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[i].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[i].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},a=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},a=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},7059:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},a=[]},36563:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.config.ab.pue&&t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.editPost(t.status)}}},[t._v("\n\t\t\t\t\tEdit\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter font-weight-bold",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,i=e.target,a=!!i.checked;if(Array.isArray(s)){var n=t._i(s,null);i.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,i=e.target,a=!!i.checked;if(Array.isArray(s)){var n=t._i(s,null);i.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,i=e.target,a=!!i.checked;if(Array.isArray(s)){var n=t._i(s,null);i.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},a=[]},93410:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{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"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,i){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(i==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=i}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},a=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){this._self._c;return this._m(0)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},a=[]},2279:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"feed-media-container bg-black"},[e("div",{staticClass:"text-muted",staticStyle:{"max-height":"400px"}},[e("div",["photo"===t.post.pf_type?e("div",[1==t.post.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.post.spoiler_text?t.post.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper"},[e("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?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.post.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):t._e()])])])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},78190:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{centered:"","body-class":"p-0","footer-class":"d-flex justify-content-between align-items-center"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Edit Post")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]}},{key:"modal-footer",fn:function(s){s.ok;var i=s.cancel;s.hide;return[e("b-button",{staticClass:"rounded-pill px-3 font-weight-bold",attrs:{variant:"outline-muted"},on:{click:function(t){return i()}}},[t._v("\n\t\t\tCancel\n\t\t")]),t._v(" "),e("b-button",{staticClass:"rounded-pill font-weight-bold",staticStyle:{"min-width":"195px"},attrs:{variant:"primary",disabled:!t.canSave},on:{click:t.handleSave}},[t.isSubmitting?[e("b-spinner",{attrs:{small:""}})]:[t._v("\n\t\t\t\tSave Updates\n\t\t\t")]],2)]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-body",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"300px"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center flex-column",staticStyle:{gap:"0.4rem"}},[e("b-spinner",{attrs:{variant:"primary"}}),t._v(" "),e("p",{staticClass:"small mb-0 font-weight-lighter"},[t._v("Loading Post...")])],1)])],1):!t.isLoading&&t.isOpen&&t.status&&t.status.id?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-header",{attrs:{"header-tag":"nav"}},[e("b-nav",{attrs:{tabs:"",fill:"","card-header":""}},[e("b-nav-item",{attrs:{active:0===t.tabIndex},on:{click:function(e){return t.toggleTab(0)}}},[t._v("Caption")]),t._v(" "),e("b-nav-item",{attrs:{active:1===t.tabIndex},on:{click:function(e){return t.toggleTab(1)}}},[t._v("Media")]),t._v(" "),e("b-nav-item",{attrs:{active:4===t.tabIndex},on:{click:function(e){return t.toggleTab(3)}}},[t._v("Other")])],1)],1),t._v(" "),e("b-card-body",{staticStyle:{"min-height":"300px"}},[0===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Caption")]),t._v(" "),e("div",{staticClass:"media mb-0"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.caption,expression:"fields.caption"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"4",placeholder:"Write a caption...",maxlength:t.config.uploader.max_caption_length},domProps:{value:t.fields.caption},on:{keyup:function(e){t.composeTextLength=t.fields.caption.length},input:function(e){e.target.composing||t.$set(t.fields,"caption",e.target.value)}}})]),t._v(" "),e("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(" "),e("hr"),t._v(" "),e("p",{staticClass:"font-weight-bold small"},[t._v("Sensitive/NSFW")]),t._v(" "),e("div",{staticClass:"border py-2 px-3 bg-light rounded"},[e("b-form-checkbox",{staticStyle:{"font-weight":"300"},attrs:{name:"check-button",switch:""},model:{value:t.fields.sensitive,callback:function(e){t.$set(t.fields,"sensitive",e)},expression:"fields.sensitive"}},[e("span",{staticClass:"ml-1 small"},[t._v("Contains spoilers, sensitive or nsfw content")])])],1),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.fields.sensitive?e("div",{staticClass:"form-group mt-3"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Content Warning")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.spoiler_text,expression:"fields.spoiler_text"}],staticClass:"form-control",attrs:{rows:"2",placeholder:"Add an optional spoiler/content warning...",maxlength:140},domProps:{value:t.fields.spoiler_text},on:{input:function(e){e.target.composing||t.$set(t.fields,"spoiler_text",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.fields.spoiler_text?t.fields.spoiler_text.length:0)+"/140")])]):t._e()])]:1===t.tabIndex?[e("div",{staticClass:"list-group"},t._l(t.fields.media,(function(s,i){return e("div",{key:"edm:"+s.id+":"+i,staticClass:"list-group-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},["image"===s.type?[e("img",{staticClass:"bg-light rounded cursor-pointer",staticStyle:{"object-fit":"cover"},attrs:{src:s.url,width:"40",height:"40"},on:{click:t.toggleLightbox}})]:t._e(),t._v(" "),e("p",{staticClass:"d-none d-lg-block mb-0"},[e("span",{staticClass:"small font-weight-light"},[t._v(t._s(s.mime))])]),t._v(" "),e("button",{staticClass:"btn btn-sm font-weight-bold rounded-pill px-4",class:[s.description&&s.description.length?"btn-success":"btn-outline-muted"],staticStyle:{"font-size":"13px"},on:{click:function(e){return e.preventDefault(),t.handleAddAltText(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.description&&s.description.length?"Edit Alt Text":"Add Alt Text")+"\n\t\t\t\t\t\t\t")]),t._v(" "),t.fields.media&&t.fields.media.length>1?e("div",{staticClass:"btn-group"},[e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:0===i},attrs:{href:"#",disabled:0===i},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("prev",i)}}},[e("i",{staticClass:"fas fa-arrow-alt-up"})]),t._v(" "),e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:i===t.fields.media.length-1},attrs:{href:"#",disabled:i===t.fields.media.length-1},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("next",i)}}},[e("i",{staticClass:"fas fa-arrow-alt-down"})])]):t._e(),t._v(" "),t.fields.media&&t.fields.media.length&&t.fields.media.length>1?e("button",{staticClass:"btn btn-outline-danger btn-sm",on:{click:function(e){return e.preventDefault(),t.removeMedia(i)}}},[e("i",{staticClass:"far fa-trash-alt"})]):t._e()],2),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.altTextEditIndex===i?[e("div",{staticClass:"form-group mt-1"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Alt Text")]),t._v(" "),e("b-form-textarea",{attrs:{placeholder:"Describe your image for the visually impaired...",rows:"3","max-rows":"6"},on:{input:function(e){return t.handleAltTextUpdate(i)}},model:{value:s.description,callback:function(e){t.$set(s,"description",e)},expression:"media.description"}}),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("a",{staticClass:"font-weight-bold small text-muted",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.altTextEditIndex=void 0}}},[t._v("Close")]),t._v(" "),e("p",{staticClass:"help-text small mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.fields.media[i].description?t.fields.media[i].description.length:0)+"/"+t._s(t.config.uploader.max_altext_length)+"\n\t\t\t\t\t\t\t\t\t\t")])])],1)]:t._e()],2)],1)})),0)]:3===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Location")]),t._v(" "),e("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}}),t._v(" "),t.fields.location&&t.fields.location.hasOwnProperty("id")?e("div",{staticClass:"mt-3 border rounded p-3 d-flex justify-content-between"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.fields.location.name)+", "+t._s(t.fields.location.country)+"\n\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link text-danger m-0 p-0",on:{click:function(e){return e.preventDefault(),t.clearLocation.apply(null,arguments)}}},[e("i",{staticClass:"far fa-trash"})])]):t._e()]:t._e()],2)],1):t._e()],1)},a=[]},26208:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)},a=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},a=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},a=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},a=[]},48087:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},a=[]},20832:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},a=[]},30964:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},a=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},78061:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"align-self-start"},[e("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),e("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),e("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},63512:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,i){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},["autospam.warning"===s.type?e("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mt-n1 mb-0"},[e("span",{staticClass:"small text-muted"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showAutospamInfo(s.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},a=[]},48605:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=a},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=a},41866:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=a},52420:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=a},33820:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.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=a},28943:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,"div[data-v-1be4e9aa],p[data-v-1be4e9aa]{font-family:var(--font-family-sans-serif)}.nav-link[data-v-1be4e9aa]{color:var(--text-lighter);font-size:13px;font-weight:600}.nav-link.active[data-v-1be4e9aa]{color:var(--primary);font-weight:800}.slide-fade-enter-active[data-v-1be4e9aa]{transition:all .5s ease}.slide-fade-leave-active[data-v-1be4e9aa]{transition:all .2s cubic-bezier(.5,1,.6,1)}.slide-fade-enter[data-v-1be4e9aa],.slide-fade-leave-to[data-v-1be4e9aa]{opacity:0;transform:translateY(20px)}",""]);const n=a},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=a},17738:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const n=a},1644:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=a},195:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const n=a},74603:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const n=a},1582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(48605),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(95433),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},94207:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(41866),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},2245:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(52420),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},45912:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(33820),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},40658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(28943),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(93986),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},92341:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(17738),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},64111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(1644),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},7051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(195),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},32067:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(74603),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},12118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(2971),a=s(77064),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(80568),a=s(60378),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(84074);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(87661),a=s(1374),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(72682);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(18709),a=s(72214),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},76429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(5249),a=s(74778),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},73128:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(22356),a=s(163),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(35613),a=s(3646),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(40636);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(78559),a=s(43354),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(88760),a=s(23983),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(37444),a=s(59111),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},248:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(49886),a=s(56897),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(51698);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(28476);const a=(0,s(51900).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(50282),a=s(6921),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},9656:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(83902),a=s(75921),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(79545);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(56253),a=s(40102),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},43136:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(30906),a=s(76067),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(81062);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,"1be4e9aa",null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(76961),a=s(33012),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(73433),a=s(94747),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(23666),a=s(19651),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(70946),a=s(84021),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(30535),a=s(84185),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(62544);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},78375:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(79325),a=s(2678),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(86965);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(7071),a=s(28058),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(11883);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},68296:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(48170),a=s(82834),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(89501);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},73459:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(28670),a=s(67476),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(19727);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},77064:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(60),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(95217),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(89250),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(8671),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},74778:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(29022),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},163:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(54076),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(19444),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(13143),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(3861),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(60658),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},56897:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(42562),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(36935),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},75921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(2568),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(92606),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},76067:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(22890),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(51815),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(17810),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(2011),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(24489),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(54965),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},2678:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(5540),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},28058:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(11188),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},82834:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(66925),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},67476:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(43762),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},2971:(t,e,s)=>{s.r(e);var i=s(66154),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},80568:(t,e,s)=>{s.r(e);var i=s(72474),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},87661:(t,e,s)=>{s.r(e);var i=s(7231),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},18709:(t,e,s)=>{s.r(e);var i=s(97584),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},5249:(t,e,s)=>{s.r(e);var i=s(73023),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},22356:(t,e,s)=>{s.r(e);var i=s(50554),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},35613:(t,e,s)=>{s.r(e);var i=s(83692),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},78559:(t,e,s)=>{s.r(e);var i=s(54822),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},88760:(t,e,s)=>{s.r(e);var i=s(7059),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},37444:(t,e,s)=>{s.r(e);var i=s(36563),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},49886:(t,e,s)=>{s.r(e);var i=s(93410),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},28476:(t,e,s)=>{s.r(e);var i=s(73954),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},50282:(t,e,s)=>{s.r(e);var i=s(92994),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},83902:(t,e,s)=>{s.r(e);var i=s(2279),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},56253:(t,e,s)=>{s.r(e);var i=s(3103),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},30906:(t,e,s)=>{s.r(e);var i=s(78190),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},76961:(t,e,s)=>{s.r(e);var i=s(26208),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},73433:(t,e,s)=>{s.r(e);var i=s(84027),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},23666:(t,e,s)=>{s.r(e);var i=s(93853),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},70946:(t,e,s)=>{s.r(e);var i=s(10454),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},30535:(t,e,s)=>{s.r(e);var i=s(48087),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},79325:(t,e,s)=>{s.r(e);var i=s(20832),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},7071:(t,e,s)=>{s.r(e);var i=s(30964),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},48170:(t,e,s)=>{s.r(e);var i=s(78061),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},28670:(t,e,s)=>{s.r(e);var i=s(63512),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},84074:(t,e,s)=>{s.r(e);var i=s(1582),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},72682:(t,e,s)=>{s.r(e);var i=s(2869),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},40636:(t,e,s)=>{s.r(e);var i=s(94207),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},51698:(t,e,s)=>{s.r(e);var i=s(2245),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},79545:(t,e,s)=>{s.r(e);var i=s(45912),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},81062:(t,e,s)=>{s.r(e);var i=s(40658),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},62544:(t,e,s)=>{s.r(e);var i=s(51010),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},86965:(t,e,s)=>{s.r(e);var i=s(92341),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},11883:(t,e,s)=>{s.r(e);var i=s(64111),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},89501:(t,e,s)=>{s.r(e);var i=s(7051),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},19727:(t,e,s)=>{s.r(e);var i=s(32067),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)}}]); \ No newline at end of file diff --git a/public/js/post.chunk.7c05c9ede39712e0.js.LICENSE.txt b/public/js/post.chunk.7030c12e2ba2c9cd.js.LICENSE.txt similarity index 100% rename from public/js/post.chunk.7c05c9ede39712e0.js.LICENSE.txt rename to public/js/post.chunk.7030c12e2ba2c9cd.js.LICENSE.txt diff --git a/public/js/post.chunk.7c05c9ede39712e0.js b/public/js/post.chunk.7c05c9ede39712e0.js deleted file mode 100644 index 84449e606..000000000 --- a/public/js/post.chunk.7c05c9ede39712e0.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see post.chunk.7c05c9ede39712e0.js.LICENSE.txt */ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[5865],{60:(t,e,s)=>{s.r(e),s.d(e,{default:()=>f});var i=s(42755),a=s(78375),n=s(88231),o=s(99247),r=s(8829),l=s(9656),c=s(5327),d=s(31823),u=s(21917),p=s(43136);const f={props:{cachedStatus:{type:Object},cachedProfile:{type:Object}},components:{drawer:i.default,sidebar:n.default,status:o.default,"context-menu":r.default,"media-container":l.default,"likes-modal":c.default,"shares-modal":d.default,rightbar:a.default,"report-modal":u.default,"post-edit-modal":p.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:{},showSharesModal:!1,postStateError:!1,forceUpdateIdx:0}},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"),e.data.hasOwnProperty("account")&&e.data.account?(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()):t.postStateError=!0})).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,t.postStateError=!0}))},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()}))},openSharesModal:function(){var t=this;this.showSharesModal=!0,this.$nextTick((function(){t.$refs.sharesModal.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()}))},counterChange:function(t){switch(t){case"comment-increment":this.post.reply_count=this.post.reply_count+1;break;case"comment-decrement":this.post.reply_count=this.post.reply_count-1}},handleEdit:function(t){this.$refs.editModal.show(t)},mergeUpdatedPost:function(t){var e=this;this.post=t,this.$nextTick((function(){e.forceUpdateIdx++}))}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(26535),a=s(74338),n=s(37846),o=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"post-content":n.default,"post-header":a.default,"post-reactions":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&!1===this.status.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},29022:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{s.r(e),s.d(e,{default:()=>i});const i={props:{small:{type:Boolean,default:!1}}}},19444:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(15235),a=s(80979),n=s(22583),o=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:a.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:o.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(80979);const a={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:i.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,i=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=i?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(i?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(19755);const a={props:["status","profile"],data:function(){return{config:window.App.config,ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?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 i=this,a=(t.account.username,t.id,""),n=this;switch(e){case"addcw":a=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:a,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(i.$t("common.success"),i.$t("menu.modCWSuccess"),"success"),i.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"remcw":a=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:a,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(i.$t("common.success"),i.$t("menu.modRemoveCWSuccess"),"success"),i.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"unlist":a=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:a,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){i.$emit("moderate","unlist"),swal(i.$t("common.success"),i.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"spammer":a=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:a,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){i.$emit("moderate","spammer"),swal(i.$t("common.success"),i.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=i("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))},editPost:function(t){this.closeModals(),this.$emit("edit",t)}}}},42562:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),i=Math.floor(s/63072e3);return i<0?"0s":i>=1?i+(1==i?" year":" years")+" ago":(i=Math.floor(s/604800))>=1?i+(1==i?" week":" weeks")+" ago":(i=Math.floor(s/86400))>=1?i+(1==i?" day":" days")+" ago":(i=Math.floor(s/3600))>=1?i+(1==i?" hour":" hours")+" ago":(i=Math.floor(s/60))>=1?i+(1==i?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(78423),a=s(48510),n=s(10831);const o={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":a.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},2568:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={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()}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(99347);const a={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,i.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22890:(t,e,s)=>{s.r(e),s.d(e,{default:()=>u});var i=s(29655),a=s(99347);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(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 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 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 s=0,i=new Array(e);s=0;--a){var n=this.tryEntries[a],o=n.completion;if("root"===n.tryLoc)return i("end");if(n.tryLoc<=this.prev){var r=s.call(n,"catchLoc"),l=s.call(n,"finallyLoc");if(r&&l){if(this.prev=0;--i){var a=this.tryEntries[i];if(a.tryLoc<=this.prev&&s.call(a,"finallyLoc")&&this.prev=0;--e){var s=this.tryEntries[e];if(s.finallyLoc===t)return this.complete(s.completion,s.afterLoc),M(s),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.tryLoc===t){var i=s.completion;if("throw"===i.type){var a=i.arg;M(s)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,s){return this.delegate={iterator:P(t),resultName:e,nextLoc:s},"next"===this.method&&(this.arg=void 0),f}},t}function c(t,e,s,i,a,n,o){try{var r=t[n](o),l=r.value}catch(t){return void s(t)}r.done?e(l):Promise.resolve(l).then(i,a)}function d(t){return function(){var e=this,s=arguments;return new Promise((function(i,a){var n=t.apply(e,s);function o(t){c(n,i,a,o,r,"next",t)}function r(t){c(n,i,a,o,r,"throw",t)}o(void 0)}))}}const u={components:{Autocomplete:i.default},data:function(){return{config:window.App.config,status:void 0,isLoading:!0,isOpen:!1,isSubmitting:!1,tabIndex:0,canEdit:!1,composeTextLength:0,canSave:!1,originalFields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},fields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},medias:void 0,altTextEditIndex:void 0,tributeSettings:{noMatchTemplate:function(){return 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){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){console.log(t)}))}}]}}},watch:{fields:{deep:!0,immediate:!0,handler:function(t,e){this.canEdit&&(this.canSave=this.originalFields!==JSON.stringify(this.fields))}}},methods:{reset:function(){this.status=void 0,this.tabIndex=0,this.isOpen=!1,this.canEdit=!1,this.composeTextLength=0,this.canSave=!1,this.originalFields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.fields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.medias=void 0,this.altTextEditIndex=void 0,this.isSubmitting=!1},show:function(t){var e=this;return d(l().mark((function s(){return l().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,axios.get("/api/v1/statuses/"+t.id,{params:{_pe:1}}).then((function(t){e.reset(),e.init(t.data)})).finally((function(){setTimeout((function(){e.isLoading=!1}),500)}));case 2:case"end":return s.stop()}}),s)})))()},init:function(t){var e=this;this.reset(),this.originalFields=JSON.stringify({caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments}),this.fields={caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments},this.status=t,this.medias=t.media_attachments,this.composeTextLength=t.content_text?t.content_text.length:0,this.isOpen=!0,setTimeout((function(){e.canEdit=!0}),1e3)},toggleTab:function(t){this.tabIndex=t,this.altTextEditIndex=void 0},toggleVisibility:function(t){this.fields.visibility=t},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){this.fields.location=t,this.tabIndex=0},clearLocation:function(){event.currentTarget.blur(),this.fields.location=null,this.tabIndex=0},handleAltTextUpdate:function(t){0==this.fields.media[t].description.length&&(this.fields.media[t].description=null)},moveMedia:function(t,e,s){var i=o(s),a=i.splice(t,1)[0];return i.splice(e,0,a),i},toggleMediaOrder:function(t,e){"prev"===t&&(this.fields.media=this.moveMedia(e,e-1,this.fields.media)),"next"===t&&(this.fields.media=this.moveMedia(e,e+1,this.fields.media))},toggleLightbox:function(t){(0,a.default)({el:t.target})},handleAddAltText:function(t){event.currentTarget.blur(),this.altTextEditIndex=t},removeMedia:function(t){var e=this;swal({title:"Confirm",text:"Are you sure you want to remove this media from your post?",buttons:{cancel:"Cancel",confirm:{text:"Confirm Removal",value:"remove",className:"swal-button--danger"}}}).then((function(s){"remove"===s&&e.fields.media.splice(t,1)}))},handleSave:function(){var t=this;return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return event.currentTarget.blur(),t.canSave=!1,t.isSubmitting=!0,e.next=5,t.checkMediaUpdates();case 5:axios.put("/api/v1/statuses/"+t.status.id,{status:t.fields.caption,spoiler_text:t.fields.spoiler_text,sensitive:t.fields.sensitive,media_ids:t.fields.media.map((function(t){return t.id})),location:t.fields.location}).then((function(e){t.isOpen=!1,t.$emit("update",e.data),swal({title:"Post Updated",text:"You have successfully updated this post!",icon:"success",buttons:{close:{text:"Close",value:"close",close:!0,className:"swal-button--cancel"},view:{text:"View Post",value:"view",className:"btn-primary"}}}).then((function(e){"view"===e&&("post"===t.$router.currentRoute.name?window.location.reload():t.$router.push("/i/web/post/"+t.status.id))}))})).catch((function(e){t.isSubmitting=!1,e.response.data.hasOwnProperty("error")?swal("Error",e.response.data.error,"error"):swal("Error","An error occured, please try again later","error"),console.log(e)}));case 6:case"end":return e.stop()}}),e)})))()},checkMediaUpdates:function(){var t=this;return d(l().mark((function e(){var s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=JSON.parse(t.originalFields),JSON.stringify(s.media)===JSON.stringify(t.fields.media)){e.next=5;break}return e.next=5,axios.all(t.fields.media.map((function(e){return t.updateAltText(e)})));case 5:case"end":return e.stop()}}),e)})))()},updateAltText:function(t){return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.put("/api/v1/media/"+t.id,{description:t.description});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(22583),a=s(248);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":i.default,"edit-history-modal":a.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(26535),a=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":i.default,"profile-hover-card":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={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 i=document.createElement("a");i.href=e.getAttribute("href"),s=s+"@"+i.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)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(78423),a=s(48510),n=s(10831);const o={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":a.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},54965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var i=s(80979),a=s(20629);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:i.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),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[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 i=document.createElement("a");i.href=t.profile.url,s=s+"@"+i.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},5540:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={components:{notifications:s(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var i=s(20629),a=s(68296),n=s(76429);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function l(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!==o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:a.default,UpdateAvatar:n.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},66925:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});const i={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(73128),a=s(78423);function n(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(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 o(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 o(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);sWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var s=document.createElement("div");s.appendChild(e),swal({title:"Why was my post unlisted?",content:s,icon:"warning"})}}}},66154:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-timeline-component web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[e("sidebar",{attrs:{user:t.user}})],1),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-6"},[t.isReply?e("div",{staticClass:"p-3 rounded-top mb-n3",staticStyle:{"background-color":"var(--card-header-accent)"}},[e("p",[e("i",{staticClass:"fal fa-reply mr-1"}),t._v(" In reply to\n\n\t\t\t\t\t\t"),e("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(" "),e("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(" "),e("status",{key:t.post.id+":fui:"+t.forceUpdateIdx,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()},"shares-modal":function(e){return t.openSharesModal()},bookmark:function(e){return t.handleBookmark()},share:function(e){return t.shareStatus()},unshare:function(e){return t.unshareStatus()},"counter-change":t.counterChange}})],1),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar")],1)])]):t._e(),t._v(" "),t.postStateError?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[e("sidebar",{attrs:{user:t.user}})],1),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar")],1)])]):t._e(),t._v(" "),t.isLoaded?e("context-menu",{ref:"contextMenu",attrs:{status:t.post,profile:t.user},on:{"report-modal":function(e){return t.handleReport()},delete:function(e){return t.deletePost()},edit:t.handleEdit}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.post,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.post,profile:t.profile}}):t._e(),t._v(" "),t.post?e("report-modal",{ref:"reportModal",attrs:{status:t.post}}):t._e(),t._v(" "),e("post-edit-modal",{ref:"editModal",on:{update:t.mergeUpdatedPost}}),t._v(" "),e("drawer")],1)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-8 col-lg-6"},[e("div",{staticClass:"card card-body shadow-none border"},[e("div",{staticClass:"d-flex align-self-center flex-column",staticStyle:{"max-width":"500px"}},[e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-exclamation-triangle fa-3x text-lighter"})]),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold"},[t._v("Error displaying post")]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v("This can happen for a few reasons:")]),t._v(" "),e("ul",{staticClass:"text-lighter"},[e("li",[t._v("The url is invalid or has a typo")]),t._v(" "),e("li",[t._v("The page has been flagged for review by our automated abuse detection systems")]),t._v(" "),e("li",[t._v("The content may have been deleted")]),t._v(" "),e("li",[t._v("You do not have permission to view this content")])])])])])}]},72474:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},a=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},a=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},a=[]},73023:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},a=[]},50554:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},a=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},83692:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===i?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(i,a){return e("div",{on:{click:function(e){return t.lightbox(s,a)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[a].blurhash,src:t.getMediaSource(s,a)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===i?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===i?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===i?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[i].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[i].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},a=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},a=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},7059:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},a=[]},36563:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.config.ab.pue&&t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.editPost(t.status)}}},[t._v("\n\t\t\t\t\tEdit\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger font-weight-bold",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter font-weight-bold",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,i=e.target,a=!!i.checked;if(Array.isArray(s)){var n=t._i(s,null);i.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,i=e.target,a=!!i.checked;if(Array.isArray(s)){var n=t._i(s,null);i.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,i=e.target,a=!!i.checked;if(Array.isArray(s)){var n=t._i(s,null);i.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},a=[]},93410:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{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"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,i){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(i==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=i}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},a=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){this._self._c;return this._m(0)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},a=[]},2279:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"feed-media-container bg-black"},[e("div",{staticClass:"text-muted",staticStyle:{"max-height":"400px"}},[e("div",["photo"===t.post.pf_type?e("div",[1==t.post.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.post.spoiler_text?t.post.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper"},[e("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?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.post.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):t._e()])])])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},78190:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{centered:"","body-class":"p-0","footer-class":"d-flex justify-content-between align-items-center"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Edit Post")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]}},{key:"modal-footer",fn:function(s){s.ok;var i=s.cancel;s.hide;return[e("b-button",{staticClass:"rounded-pill px-3 font-weight-bold",attrs:{variant:"outline-muted"},on:{click:function(t){return i()}}},[t._v("\n\t\t\tCancel\n\t\t")]),t._v(" "),e("b-button",{staticClass:"rounded-pill font-weight-bold",staticStyle:{"min-width":"195px"},attrs:{variant:"primary",disabled:!t.canSave},on:{click:t.handleSave}},[t.isSubmitting?[e("b-spinner",{attrs:{small:""}})]:[t._v("\n\t\t\t\tSave Updates\n\t\t\t")]],2)]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-body",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"300px"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center flex-column",staticStyle:{gap:"0.4rem"}},[e("b-spinner",{attrs:{variant:"primary"}}),t._v(" "),e("p",{staticClass:"small mb-0 font-weight-lighter"},[t._v("Loading Post...")])],1)])],1):!t.isLoading&&t.isOpen&&t.status&&t.status.id?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-header",{attrs:{"header-tag":"nav"}},[e("b-nav",{attrs:{tabs:"",fill:"","card-header":""}},[e("b-nav-item",{attrs:{active:0===t.tabIndex},on:{click:function(e){return t.toggleTab(0)}}},[t._v("Caption")]),t._v(" "),e("b-nav-item",{attrs:{active:1===t.tabIndex},on:{click:function(e){return t.toggleTab(1)}}},[t._v("Media")]),t._v(" "),e("b-nav-item",{attrs:{active:4===t.tabIndex},on:{click:function(e){return t.toggleTab(3)}}},[t._v("Other")])],1)],1),t._v(" "),e("b-card-body",{staticStyle:{"min-height":"300px"}},[0===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Caption")]),t._v(" "),e("div",{staticClass:"media mb-0"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.caption,expression:"fields.caption"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"4",placeholder:"Write a caption...",maxlength:t.config.uploader.max_caption_length},domProps:{value:t.fields.caption},on:{keyup:function(e){t.composeTextLength=t.fields.caption.length},input:function(e){e.target.composing||t.$set(t.fields,"caption",e.target.value)}}})]),t._v(" "),e("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(" "),e("hr"),t._v(" "),e("p",{staticClass:"font-weight-bold small"},[t._v("Sensitive/NSFW")]),t._v(" "),e("div",{staticClass:"border py-2 px-3 bg-light rounded"},[e("b-form-checkbox",{staticStyle:{"font-weight":"300"},attrs:{name:"check-button",switch:""},model:{value:t.fields.sensitive,callback:function(e){t.$set(t.fields,"sensitive",e)},expression:"fields.sensitive"}},[e("span",{staticClass:"ml-1 small"},[t._v("Contains spoilers, sensitive or nsfw content")])])],1),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.fields.sensitive?e("div",{staticClass:"form-group mt-3"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Content Warning")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.spoiler_text,expression:"fields.spoiler_text"}],staticClass:"form-control",attrs:{rows:"2",placeholder:"Add an optional spoiler/content warning...",maxlength:140},domProps:{value:t.fields.spoiler_text},on:{input:function(e){e.target.composing||t.$set(t.fields,"spoiler_text",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.fields.spoiler_text?t.fields.spoiler_text.length:0)+"/140")])]):t._e()])]:1===t.tabIndex?[e("div",{staticClass:"list-group"},t._l(t.fields.media,(function(s,i){return e("div",{key:"edm:"+s.id+":"+i,staticClass:"list-group-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},["image"===s.type?[e("img",{staticClass:"bg-light rounded cursor-pointer",staticStyle:{"object-fit":"cover"},attrs:{src:s.url,width:"40",height:"40"},on:{click:t.toggleLightbox}})]:t._e(),t._v(" "),e("p",{staticClass:"d-none d-lg-block mb-0"},[e("span",{staticClass:"small font-weight-light"},[t._v(t._s(s.mime))])]),t._v(" "),e("button",{staticClass:"btn btn-sm font-weight-bold rounded-pill px-4",class:[s.description&&s.description.length?"btn-success":"btn-outline-muted"],staticStyle:{"font-size":"13px"},on:{click:function(e){return e.preventDefault(),t.handleAddAltText(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.description&&s.description.length?"Edit Alt Text":"Add Alt Text")+"\n\t\t\t\t\t\t\t")]),t._v(" "),t.fields.media&&t.fields.media.length>1?e("div",{staticClass:"btn-group"},[e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:0===i},attrs:{href:"#",disabled:0===i},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("prev",i)}}},[e("i",{staticClass:"fas fa-arrow-alt-up"})]),t._v(" "),e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:i===t.fields.media.length-1},attrs:{href:"#",disabled:i===t.fields.media.length-1},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("next",i)}}},[e("i",{staticClass:"fas fa-arrow-alt-down"})])]):t._e(),t._v(" "),t.fields.media&&t.fields.media.length&&t.fields.media.length>1?e("button",{staticClass:"btn btn-outline-danger btn-sm",on:{click:function(e){return e.preventDefault(),t.removeMedia(i)}}},[e("i",{staticClass:"far fa-trash-alt"})]):t._e()],2),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.altTextEditIndex===i?[e("div",{staticClass:"form-group mt-1"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Alt Text")]),t._v(" "),e("b-form-textarea",{attrs:{placeholder:"Describe your image for the visually impaired...",rows:"3","max-rows":"6"},on:{input:function(e){return t.handleAltTextUpdate(i)}},model:{value:s.description,callback:function(e){t.$set(s,"description",e)},expression:"media.description"}}),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("a",{staticClass:"font-weight-bold small text-muted",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.altTextEditIndex=void 0}}},[t._v("Close")]),t._v(" "),e("p",{staticClass:"help-text small mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.fields.media[i].description?t.fields.media[i].description.length:0)+"/"+t._s(t.config.uploader.max_altext_length)+"\n\t\t\t\t\t\t\t\t\t\t")])])],1)]:t._e()],2)],1)})),0)]:3===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Location")]),t._v(" "),e("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}}),t._v(" "),t.fields.location&&t.fields.location.hasOwnProperty("id")?e("div",{staticClass:"mt-3 border rounded p-3 d-flex justify-content-between"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.fields.location.name)+", "+t._s(t.fields.location.country)+"\n\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link text-danger m-0 p-0",on:{click:function(e){return e.preventDefault(),t.clearLocation.apply(null,arguments)}}},[e("i",{staticClass:"far fa-trash"})])]):t._e()]:t._e()],2)],1):t._e()],1)},a=[]},26208:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)},a=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},a=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},a=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},a=[]},48087:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},a=[]},20832:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},a=[]},30964:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},a=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},78061:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"align-self-start"},[e("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),e("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),e("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},69205:(t,e,s)=>{s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,i){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},["autospam.warning"===s.type?e("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mt-n1 mb-0"},[e("span",{staticClass:"small text-muted"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showAutospamInfo(s.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},a=[]},48605:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=a},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=a},41866:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=a},52420:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=a},33820:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.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=a},28943:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,"div[data-v-1be4e9aa],p[data-v-1be4e9aa]{font-family:var(--font-family-sans-serif)}.nav-link[data-v-1be4e9aa]{color:var(--text-lighter);font-size:13px;font-weight:600}.nav-link.active[data-v-1be4e9aa]{color:var(--primary);font-weight:800}.slide-fade-enter-active[data-v-1be4e9aa]{transition:all .5s ease}.slide-fade-leave-active[data-v-1be4e9aa]{transition:all .2s cubic-bezier(.5,1,.6,1)}.slide-fade-enter[data-v-1be4e9aa],.slide-fade-leave-to[data-v-1be4e9aa]{opacity:0;transform:translateY(20px)}",""]);const n=a},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=a},17738:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const n=a},1644:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=a},195:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const n=a},62985:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(1519),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const n=a},1582:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(48605),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(95433),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},94207:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(41866),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},2245:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(52420),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},45912:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(33820),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},40658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(28943),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(93986),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},92341:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(17738),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},64111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(1644),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},7051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(195),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},81459:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var i=s(93379),a=s.n(i),n=s(62985),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},12118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(2971),a=s(77064),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(80568),a=s(60378),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(84074);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(87661),a=s(1374),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(72682);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(18709),a=s(72214),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},76429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(5249),a=s(74778),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},73128:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(22356),a=s(163),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(35613),a=s(3646),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(40636);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(78559),a=s(43354),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(88760),a=s(23983),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(37444),a=s(59111),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},248:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(49886),a=s(56897),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(51698);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var i=s(28476);const a=(0,s(51900).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(50282),a=s(6921),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},9656:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(83902),a=s(75921),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(79545);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(56253),a=s(40102),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},43136:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(30906),a=s(76067),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(81062);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,"1be4e9aa",null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(76961),a=s(33012),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(73433),a=s(94747),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(23666),a=s(19651),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(70946),a=s(84021),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(30535),a=s(84185),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(62544);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},78375:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(79325),a=s(2678),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(86965);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(7071),a=s(28058),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(11883);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},68296:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(48170),a=s(82834),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(89501);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},73459:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var i=s(6831),a=s(67476),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(35817);const o=(0,s(51900).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},77064:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(60),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(95217),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(89250),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(8671),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},74778:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(29022),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},163:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(54076),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(19444),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(13143),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(3861),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(60658),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},56897:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(42562),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(36935),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},75921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(2568),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(92606),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},76067:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(22890),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(51815),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(17810),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(2011),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(24489),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(54965),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},2678:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(5540),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},28058:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(11188),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},82834:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(66925),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},67476:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var i=s(43762),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},2971:(t,e,s)=>{s.r(e);var i=s(66154),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},80568:(t,e,s)=>{s.r(e);var i=s(72474),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},87661:(t,e,s)=>{s.r(e);var i=s(7231),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},18709:(t,e,s)=>{s.r(e);var i=s(97584),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},5249:(t,e,s)=>{s.r(e);var i=s(73023),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},22356:(t,e,s)=>{s.r(e);var i=s(50554),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},35613:(t,e,s)=>{s.r(e);var i=s(83692),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},78559:(t,e,s)=>{s.r(e);var i=s(54822),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},88760:(t,e,s)=>{s.r(e);var i=s(7059),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},37444:(t,e,s)=>{s.r(e);var i=s(36563),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},49886:(t,e,s)=>{s.r(e);var i=s(93410),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},28476:(t,e,s)=>{s.r(e);var i=s(73954),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},50282:(t,e,s)=>{s.r(e);var i=s(92994),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},83902:(t,e,s)=>{s.r(e);var i=s(2279),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},56253:(t,e,s)=>{s.r(e);var i=s(3103),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},30906:(t,e,s)=>{s.r(e);var i=s(78190),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},76961:(t,e,s)=>{s.r(e);var i=s(26208),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},73433:(t,e,s)=>{s.r(e);var i=s(84027),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},23666:(t,e,s)=>{s.r(e);var i=s(93853),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},70946:(t,e,s)=>{s.r(e);var i=s(10454),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},30535:(t,e,s)=>{s.r(e);var i=s(48087),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},79325:(t,e,s)=>{s.r(e);var i=s(20832),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},7071:(t,e,s)=>{s.r(e);var i=s(30964),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},48170:(t,e,s)=>{s.r(e);var i=s(78061),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},6831:(t,e,s)=>{s.r(e);var i=s(69205),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},84074:(t,e,s)=>{s.r(e);var i=s(1582),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},72682:(t,e,s)=>{s.r(e);var i=s(2869),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},40636:(t,e,s)=>{s.r(e);var i=s(94207),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},51698:(t,e,s)=>{s.r(e);var i=s(2245),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},79545:(t,e,s)=>{s.r(e);var i=s(45912),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},81062:(t,e,s)=>{s.r(e);var i=s(40658),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},62544:(t,e,s)=>{s.r(e);var i=s(51010),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},86965:(t,e,s)=>{s.r(e);var i=s(92341),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},11883:(t,e,s)=>{s.r(e);var i=s(64111),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},89501:(t,e,s)=>{s.r(e);var i=s(7051),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},35817:(t,e,s)=>{s.r(e);var i=s(81459),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)}}]); \ No newline at end of file diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 4db4cffc1..7b2c44ce6 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -24,10 +24,10 @@ "/js/installer.js": "/js/installer.js?id=cd240ae970947b76ac49032ba95e0922", "/js/admin_invite.js": "/js/admin_invite.js?id=307a53250701e3b12164af9495e88447", "/js/landing.js": "/js/landing.js?id=7e3ab65813c4bf28182f5bdf0825774c", - "/js/manifest.js": "/js/manifest.js?id=84d60769e05909fc351584328f9cd6b8", - "/js/home.chunk.0e9fc41724d23244.js": "/js/home.chunk.0e9fc41724d23244.js?id=3195c5a07314cd1b07dbcc7e0920d465", + "/js/manifest.js": "/js/manifest.js?id=633b5d48cd811dc680a8ec6c44ea34cf", + "/js/home.chunk.09c05d3c35a0e616.js": "/js/home.chunk.09c05d3c35a0e616.js?id=792d22267308a870b990bbfb50b63246", "/js/compose.chunk.eb564854474fa255.js": "/js/compose.chunk.eb564854474fa255.js?id=6389b021170bc21b58fc5bc28920f9af", - "/js/post.chunk.7c05c9ede39712e0.js": "/js/post.chunk.7c05c9ede39712e0.js?id=f5c8297c9c195b68c7ab858e11ddc732", + "/js/post.chunk.7030c12e2ba2c9cd.js": "/js/post.chunk.7030c12e2ba2c9cd.js?id=2a9a8c36d8fc88aaf7a6495f04c81f59", "/js/profile.chunk.cdd251b6c8b3716e.js": "/js/profile.chunk.cdd251b6c8b3716e.js?id=e17ed86095e207a13a93538d98ef5efb", "/js/discover~memories.chunk.53c39f9ed816845e.js": "/js/discover~memories.chunk.53c39f9ed816845e.js?id=10418f271f224447d806c82309109841", "/js/discover~myhashtags.chunk.13f89821b79c60b2.js": "/js/discover~myhashtags.chunk.13f89821b79c60b2.js?id=1ab590a1df630fb17333821c2022e3bf", @@ -35,13 +35,13 @@ "/js/discover~findfriends.chunk.877ae71a400e7766.js": "/js/discover~findfriends.chunk.877ae71a400e7766.js?id=2353c39d81a83c10ae16a4d5354edc3a", "/js/discover~serverfeed.chunk.232aecc81bd2f1cb.js": "/js/discover~serverfeed.chunk.232aecc81bd2f1cb.js?id=6afe6d2afb0c3599cc0bc8086c77ece4", "/js/discover~settings.chunk.0214ed5defdfffe6.js": "/js/discover~settings.chunk.0214ed5defdfffe6.js?id=6b926f2ff6aa1d9f9bc51e7b3b96fb94", - "/js/discover.chunk.5d1455b7a1531f25.js": "/js/discover.chunk.5d1455b7a1531f25.js?id=e1c3ec120b6ee41ed81db8c07de3d185", + "/js/discover.chunk.3bf28b9cb8e2b43c.js": "/js/discover.chunk.3bf28b9cb8e2b43c.js?id=2d4279114b6e085a6427598abf8c8443", "/js/notifications.chunk.fa21418a86f44a18.js": "/js/notifications.chunk.fa21418a86f44a18.js?id=f72a08113822f6ed5ab218a9ea21457d", "/js/dms.chunk.a36285d6eee3b46f.js": "/js/dms.chunk.a36285d6eee3b46f.js?id=752e3b061c1e76baa73b5d38657bf93e", "/js/dms~message.chunk.1d2a7a110371a12b.js": "/js/dms~message.chunk.1d2a7a110371a12b.js?id=bd3b4b71f23988bdfaf09ed817219cb9", "/js/profile~followers.bundle.eac566ea09458e75.js": "/js/profile~followers.bundle.eac566ea09458e75.js?id=dc50b57aa36b027c3f5a81efe9525bf2", "/js/profile~following.bundle.193b1268a32bbd07.js": "/js/profile~following.bundle.193b1268a32bbd07.js?id=b9088a98eeb05f06e241d398ffad5fbd", - "/js/discover~hashtag.bundle.0f0dea872c1b644e.js": "/js/discover~hashtag.bundle.0f0dea872c1b644e.js?id=3aecb33cc7350515ddeafb88c5a7f13d", + "/js/discover~hashtag.bundle.0c6a732dd741a483.js": "/js/discover~hashtag.bundle.0c6a732dd741a483.js?id=d98d19e26585f4d069ded8dced529336", "/js/error404.bundle.f84c69eed21a7d82.js": "/js/error404.bundle.f84c69eed21a7d82.js?id=a5c557f4d707537aa3f023a0786dfeba", "/js/help.bundle.0d8a2725bcc8ed81.js": "/js/help.bundle.0d8a2725bcc8ed81.js?id=5de97a307e5f3c6f1079fe57ff6f8294", "/js/kb.bundle.7c3d070a9bcc0489.js": "/js/kb.bundle.7c3d070a9bcc0489.js?id=d1d8c0f2c80a50471e4df88c0bd4ca0d",