/*! For license information please see spa.js.LICENSE.txt */ (self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[269],{10743:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={components:{sidebar:a(88231).default},data:function(){return{isLoaded:!1,profile:void 0,instance:void 0,nodeinfo:void 0,config:window.App.config}},mounted:function(){this.fetchUserData()},methods:{fetchUserData:function(){this.profile=window._sharedData.user,this.fetchInstance()},fetchInstance:function(){var t=this;axios.get("/api/v1/instance").then((function(e){t.instance=e.data,t.fetchNodeinfo()}))},fetchNodeinfo:function(){var t=this;axios.get("/api/nodeinfo/2.0.json").then((function(e){t.nodeinfo=e.data,t.isLoaded=!0}))}}}},59264:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>i});var o=a(42755),s=a(88231);const i={components:{drawer:o.default,sidebar:s.default},data:function(){return{isLoaded:!1,profile:void 0,instance:void 0,nodeinfo:void 0,config:window.App.config}},mounted:function(){this.profile=window._sharedData.user}}},34366:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={components:{sidebar:a(88231).default},data:function(){return{isLoaded:!1,profile:void 0}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0}}},56714:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>c});var o=a(42755),s=a(78423),i=a(88231),n=a(78375);function r(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var 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 l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,o=new Array(e);a{"use strict";a.r(e),a.d(e,{default:()=>o});const o={data:function(){return{posts:[],profile:[]}},mounted:function(){this.init()},methods:{init:function(){var t=this;axios.get("/i/hc/category",{params:{id:1}}).then((function(e){t.profile=e.data})),axios.get("/i/hc/category",{params:{id:2}}).then((function(e){t.posts=e.data}))}}}},26861:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={data:function(){return{isLoaded:!1,article:void 0,related:[]}},mounted:function(){this.init()},methods:{init:function(){this.fetchArticle()},fetchArticle:function(){var t=this;axios.get("/i/hc/get",{params:{id:this.$route.params.id}}).then((function(e){t.isLoaded=!0,t.article=e.data})).catch((function(e){t.$router.push("/i/web/404")}))}}}},1565:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>i});var o=a(42755),s=a(88231);const i={components:{drawer:o.default,sidebar:s.default},data:function(){return{isLoaded:!1,profile:void 0,locale:"en",langs:["en","ar","ca","de","el","es","eu","fr","he","gd","gl","id","it","ja","nl","pl","pt","ru","uk","vi"]}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0,this.locale=this.$i18n.locale},watch:{locale:function(t){this.loadLang(t)}},methods:{fullName:function(t){return new Intl.DisplayNames([t],{type:"language"}).of(t)},localeName:function(t){return new Intl.DisplayNames([this.$i18n.locale],{type:"language"}).of(t)},loadLang:function(t){var e=this;axios.post("/api/pixelfed/web/change-language.json",{v:.1,l:t}).then((function(a){e.$i18n.locale=t}))}}}},58947:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={components:{drawer:a(42755).default}}},97496:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={components:{sidebar:a(88231).default},data:function(){return{isLoaded:!1,profile:void 0,page:void 0}},mounted:function(){this.fetchPage()},methods:{fetchPage:function(){var t=this;axios.get("/i/doc/privacy.json").then((function(e){t.page=e.data,t.fetchUserData()}))},fetchUserData:function(){this.profile=window._sharedData.user,this.isLoaded=!0}}}},84559:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>i});var o=a(42755),s=a(32303);const i={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{drawer:o.default,"profile-followers":s.default},data:function(){return{isLoaded:!1,curUser:void 0,profile:void 0,relationship:void 0}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.isLoaded=!1,this.relationship=void 0,this.owner=!1,this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchRelationship()):(this.curUser=window._sharedData.user,this.fetchProfile())},fetchProfile:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/"+e).then((function(e){t.profile=e.data,e.data.id==t.curUser.id?(t.owner=!0,t.fetchRelationship()):(t.owner=!1,t.fetchRelationship())})).catch((function(e){t.$router.push("/i/web/404")}))},fetchRelationship:function(){var t=this;if(this.owner)return this.relationship={},void(this.isLoaded=!0);axios.get("/api/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.isLoaded=!0}))},goBack:function(){this.$router.push("/i/web/profile/"+this.profile.id)}}}},19455:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>i});var o=a(42755),s=a(24721);const i={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{drawer:o.default,"profile-following":s.default},data:function(){return{isLoaded:!1,curUser:void 0,profile:void 0,relationship:void 0}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.isLoaded=!1,this.relationship=void 0,this.owner=!1,this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchRelationship()):(this.curUser=window._sharedData.user,this.fetchProfile())},fetchProfile:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/"+e).then((function(e){t.profile=e.data,e.data.id==t.curUser.id?(t.owner=!0,t.fetchRelationship()):(t.owner=!1,t.fetchRelationship())})).catch((function(e){t.$router.push("/i/web/404")}))},fetchRelationship:function(){var t=this;if(this.owner)return this.relationship={},void(this.isLoaded=!0);axios.get("/api/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.isLoaded=!0}))},goBack:function(){this.$router.push("/i/web/profile/"+this.profile.id)}}}},91930:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={components:{sidebar:a(88231).default},data:function(){return{isLoaded:!1,profile:void 0,page:void 0}},mounted:function(){this.fetchPage()},methods:{fetchPage:function(){var t=this;axios.get("/i/doc/terms.json").then((function(e){t.page=e.data,t.fetchUserData()}))},fetchUserData:function(){this.profile=window._sharedData.user,this.isLoaded=!0}}}},89250:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={data:function(){return{user:window._sharedData.user}}}},29022:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={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{"use strict";a.r(e),a.d(e,{default:()=>n});var o=a(29655);a(67964);function s(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 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 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 a=0,o=new Array(e);a1&&void 0!==arguments[1]?arguments[1]:30;return t.length<=e?t:t.slice(0,e)+"..."},logout:function(){axios.post("/logout").then((function(t){location.href="/"})).catch((function(t){location.href="/"}))},openUserInterfaceSettings:function(){event.currentTarget.blur(),this.$refs.uis.show()},toggleUi:function(t){event.currentTarget.blur(),this.uiColorScheme=t},toggleProfileLayout:function(t){event.currentTarget.blur(),this.profileLayout=t}}}},54076:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={props:{small:{type:Boolean,default:!1}}}},2011:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,a=document.createElement("div");a.innerHTML=e,a.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)})),a.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var a=e.innerText;if("@"==a.substr(0,1)&&(a=a.substr(1)),0==t.status.account.local&&!a.includes("@")){var o=document.createElement("a");o.href=t.status.account.url,a=a+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+a)})),this.content=a.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var a=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),a)}))}}}},55998:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>m});var o=a(78423),s=a(48510),i=a(22583),n=a(20629);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 l(t){return function(t){if(Array.isArray(t))return c(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 c(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 c(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 c(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,o=new Array(e);a)?/g,(function(t){var a=t.slice(1,t.length-1),o=e.getCustomEmoji.filter((function(t){return t.shortcode==a}));return o.length?''.concat(o[0].shortcode,''):t}))}return a},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},goBack:function(){this.$emit("back")},setCacheWarmTimeout:function(){var t=this;if(this.cacheWarmInterations>=5)return this.isWarmingCache=!1,void swal("Oops","Its taking longer than expected to collect this account followers. Please try again later","error");this.cacheWarmTimeout=setTimeout((function(){t.cacheWarmInterations++,t.fetchFollowers()}),45e3)}}}},92829:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>m});var o=a(78423),s=a(48510),i=a(22583),n=a(20629);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 l(t){return function(t){if(Array.isArray(t))return c(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 c(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 c(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 c(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,o=new Array(e);a)?/g,(function(t){var a=t.slice(1,t.length-1),o=e.getCustomEmoji.filter((function(t){return t.shortcode==a}));return o.length?''.concat(o[0].shortcode,''):t}))}return a},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},goBack:function(){this.$emit("back")},setCacheWarmTimeout:function(){var t=this;if(this.cacheWarmInterations>=5)return this.isWarmingCache=!1,void swal("Oops","Its taking longer than expected to collect following accounts. Please try again later","error");this.cacheWarmTimeout=setTimeout((function(){t.cacheWarmInterations++,t.fetchFollowers()}),45e3)}}}},54965:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>l});var o=a(80979),s=a(20629);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function n(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,o)}return a}function r(t,e,a){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var o=a.call(t,e||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const l={props:{profile:{type:Object}},components:{ReadMore:o.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return o.length?''.concat(o[0].shortcode,''):e}))}return a},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,a=document.createElement("div");a.innerHTML=e,a.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)})),a.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var a=e.innerText;if("@"==a.substr(0,1)&&(a=a.substr(1)),0==t.profile.local&&!a.includes("@")){var o=document.createElement("a");o.href=t.profile.url,a=a+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+a)})),this.bio=a.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,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={components:{notifications:a(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>c});var o=a(20629),s=a(68296),i=a(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 a=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,o)}return a}function l(t,e,a){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var o=a.call(t,e||"default");if("object"!==n(o))return o;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: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:s.default,UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return o.length?''.concat(o[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)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var o=a(73128),s=a(78423);function i(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var 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 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 a=0,o=new Array(e);a{"use strict";a.r(e),a.d(e,{default:()=>s});var o=a(19755);const s={data:function(){return{announcements:[],announcement:{},cursor:0,showNext:!0,showPrev:!1}},mounted:function(){this.fetchAnnouncements()},updated:function(){o('[data-toggle="tooltip"]').tooltip()},methods:{fetchAnnouncements:function(){var t=this,e=JSON.parse(window.localStorage.getItem("metro-tips-closed"));axios.get("/api/pixelfed/v1/newsroom/timeline").then((function(a){t.announcements=a.data.filter((function(t){return!e||-1==e.indexOf(t.id)})),t.announcement=t.announcements[0],1==t.announcements.length&&(t.showNext=!1)}))},loadNext:function(){this.showNext&&(this.cursor+=1,this.announcement=this.announcements[this.cursor],this.cursor+1==this.announcements.length&&(this.showNext=!1),this.cursor>=1&&(this.showPrev=!0))},loadPrev:function(){this.showPrev&&(this.cursor-=1,this.announcement=this.announcements[this.cursor],0==this.cursor&&(this.showPrev=!1),this.cursor1})).catch((function(t){swal("Oops, Something went wrong","There was a problem with your request, please try again later.","error")}))}}}},35045:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>n});var o=a(19755);function s(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 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 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 a=0,o=new Array(e);a5?t.complete():axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.notificationMaxId}}).then((function(a){if(a.data.length){var o,i=a.data.filter((function(t){return!("share"==t.type&&!t.status)&&(!("comment"==t.type&&!t.status)&&(!("mention"==t.type&&!t.status)&&(!("favourite"==t.type&&!t.status)&&(!("follow"==t.type&&!t.account)&&!_.find(e.notifications,{id:t.id})))))})),n=i.map((function(t){return t.id}));e.notificationMaxId=Math.min.apply(Math,s(n)),(o=e.notifications).push.apply(o,s(i)),e.notificationCursor++,t.loaded()}else t.complete()}))},truncate:function(t){return t.length<=15?t:t.slice(0,15)+"..."},timeAgo:function(t){return window.App.util.format.timeAgo(t)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},notificationPoll:function(){var t=this.notifications.length>5?15e3:12e4,e=this;setInterval((function(){axios.get("/api/pixelfed/v1/notifications").then((function(t){var a=t.data.filter((function(t){return!("share"==t.type||e.notificationMaxId>=t.id)}));if(a.length){var i,n=a.map((function(t){return t.id}));e.notificationMaxId=Math.max.apply(Math,s(n)),(i=e.notifications).unshift.apply(i,s(a));var r=new Audio("/static/beep.mp3");r.volume=.7,r.play(),o(".notification-card .far.fa-bell").addClass("fas text-danger").removeClass("far text-muted")}}))}),t)},fetchFollowRequests:function(){var t=this;1==window._sharedData.curUser.locked&&axios.get("/account/follow-requests.json").then((function(e){t.followRequests=e.data}))},redirect:function(t){window.location.href=t},notificationPreview:function(t){return t.status&&t.status.hasOwnProperty("media_attachments")&&t.status.media_attachments.length?t.status.media_attachments[0].preview_url:"/storage/no-preview.png"},getProfileUrl:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},getPostUrl:function(t){if(t)return t.hasOwnProperty("local")&&1!=t.local?"/i/web/post/_/"+t.account.id+"/"+t.id:t.url},refreshNotifications:function(){this.loading=!0,this.attemptedRefresh=!0,this.fetchNotifications()}}}},49720:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});var o=a(19755);const s={props:["feed","status","profile","size","modal"],data:function(){return{activeSession:!1}},mounted:function(){var t=document.querySelector("body");this.activeSession=!!t.classList.contains("loggedIn")},methods:{reportUrl:function(t){return"/i/report?type="+(t.in_reply_to?"comment":"post")+"&id="+t.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},editUrl:function(t){return t.url+"/edit"},redirect:function(t){window.location.href=t},replyUrl:function(t){return"/p/"+this.profile.username+"/"+(t.account.id==this.profile.id?t.id:t.in_reply_to_id)},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},statusOwner:function(t){return parseInt(t.account.id)==parseInt(this.profile.id)},deletePost:function(){this.$emit("deletePost"),o("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,o("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,a){var o=t.account.username;switch(e){case"autocw":var s="Are you sure you want to enforce CW for "+o+" ?";swal({title:"Confirm",text:s,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":s="Are you sure you want to suspend the account of "+o+" ?",swal({title:"Confirm",text:s,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=o("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully muted "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},blockProfile:function(t){0!=o("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:t.account.id}).then((function(e){swal("Success","You have successfully blocked "+t.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},closeModal:function(){o("#mt_pid_"+this.status.id).modal("hide")}}}},91569:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={props:["list","scope"],data:function(){return{loading:!0,show:!0,stories:{}}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){e.data;e.data.length?(t.stories=e.data,t.loading=!1):t.show=!1})).catch((function(e){t.loading=!1,t.$bvToast.toast("Cannot load stories. Please try again later.",{title:"Error",variant:"danger",autoHideDelay:5e3}),t.show=!1}))},showStory:function(t){var e;switch(this.scope){case"home":e="/?t=1";break;case"local":e="/?t=2";break;case"network":e="/?t=3"}window.location.href=this.stories[t].url+e},systemStory:function(){window.location.href="/i/_platform/stories/whats-new"}}}},274:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={props:["status"]}},45354:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});var o=a(99347);const s={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,o.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var a="backward";e.advancePage(a),e.$emit("navigation-click",a)}if("39"==t.keyCode){t.preventDefault();var o="forward";e.advancePage(o),e.$emit("navigation-click",o)}}}}},28314:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>s});var o=a(99347);const s={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,o.default)({el:t.target})},width:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.width)return this.status.media_attachments[0].meta.original.width},height:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.height)return this.status.media_attachments[0].meta.original.height}}}},45524:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={props:["status"]}},57602:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});const o={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")},poster:function(){var t=this.status.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},32042:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"col-md-3"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px !important"}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"d-flex justify-content-between mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Stats")]),t._v(" "),e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"text-lighter",attrs:{title:"Statistics data is generated once every 24 hours"}},[e("i",{staticClass:"fal fa-info-circle"})])]),t._v(" "),e("div",{staticClass:"d-flex justify-content-between align-items-center mb-1"},[e("p",{staticClass:"text-lighter mb-0"},[t._v("Total Posts:")]),t._v(" "),e("p",{staticClass:"lead mb-0"},[t._v(t._s(t.nodeinfo.usage.localPosts))])]),t._v(" "),e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("p",{staticClass:"text-lighter mb-0"},[t._v("Total Users:")]),t._v(" "),e("p",{staticClass:"lead mb-0"},[t._v(t._s(t.nodeinfo.usage.users.total))])])])]),t._v(" "),t.instance&&t.instance.rules&&t.instance.rules.length?e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px !important"}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"d-flex justify-content-between mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Rules")]),t._v(" "),e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"text-lighter",attrs:{title:"These rules are subject to change"}},[e("i",{staticClass:"fal fa-info-circle"})])]),t._v(" "),e("ol",{staticStyle:{"padding-left":"20px"}},t._l(t.instance.rules,(function(a){return e("li",{staticClass:"font-weight-bold mt-3"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(a.text)+"\n\t\t\t\t\t\t\t")])})),0),t._v(" "),e("p",{staticClass:"small mb-0 text-center font-weight-bold text-lighter"},[t._v("Refer to the "),e("router-link",{staticClass:"text-muted",attrs:{to:"/i/web/terms"}},[t._v("Terms of Service")]),t._v(" for more information")],1)])]):t._e()])])]):t._e()])},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-6"},[e("div",{staticClass:"jumbotron shadow-sm bg-white"},[e("div",{staticClass:"text-center"},[e("h1",{staticClass:"font-weight-bold"},[t._v("Photo Sharing. For Everyone")]),t._v(" "),e("p",{staticClass:"lead mb-0"},[t._v("Pixelfed is an image sharing platform, an ethical alternative to centralized platforms.")])])]),t._v(" "),e("div",{staticClass:"card shadow-sm mb-3"},[e("div",{staticClass:"card-body"},[t._v("\n\t\t\t\t\t\tAdminstrators can edit this text in the admin dashboard.\n\t\t\t\t\t")])])])}]},58997:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),t._m(0),t._v(" "),t._m(1)])]),t._v(" "),e("drawer")],1)},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-6"},[e("div",{staticClass:"jumbotron shadow-sm bg-white"},[e("div",{staticClass:"text-center"},[e("h1",{staticClass:"font-weight-bold"},[t._v("What's New")]),t._v(" "),e("p",{staticClass:"lead mb-0"},[t._v("A log of changes in our new UI (Metro 2.0)")])])]),t._v(" "),e("div",{staticClass:"mt-4 pb-3"},[e("p",{staticClass:"lead"},[t._v("Apr 3, 2022")]),t._v(" "),e("ul",[e("li",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tDark Mode "),e("br"),t._v(" "),e("p",{staticClass:"small"},[t._v("To enable dark or light mode, click on the top nav menu and then select UI Settings")])]),t._v(" "),e("li",[t._v("Improved internationalization support with the addition of 7 new languages")])])]),t._v(" "),e("div",{staticClass:"mt-4 pb-3"},[e("p",{staticClass:"lead"},[t._v("March 2022")]),t._v(" "),e("ul",[e("li",{staticClass:"font-weight-bold"},[t._v("Full screen previews on photo albums")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Filter notifications by type on notifications tab")]),t._v(" "),e("li",[t._v('Add "Shared by" link to posts that opens a list of accounts that reblogged the post')]),t._v(" "),e("li",[t._v("Fix private profile feed not loading for owner")])])]),t._v(" "),e("div",{staticClass:"mt-4 pb-3"},[e("p",{staticClass:"lead"},[t._v("Febuary 2022")]),t._v(" "),e("ul",[e("li",{staticClass:"font-weight-bold"},[t._v("New Discover layout with My Hashtags, My Memories, Account Insights, Find Friends and Server Timelines")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Mobile app drawer menu")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Add Preferred Profile Layout UI setting")]),t._v(" "),e("li",[t._v("Add search bar to mobile breakpoints and adjust avatar size when necessary")]),t._v(" "),e("li",[t._v("Improved profile layout on mobile breakpoints")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Threaded Comments Beta")]),t._v(" "),e("li",[t._v("Changed default media preview setting to non-fixed height media")]),t._v(" "),e("li",[t._v("Improved Compose Location search, will display popular locations first")]),t._v(" "),e("li",[t._v('Added "Comment" button to comment reply form and changed textarea/multiline icon toggle')]),t._v(" "),e("li",[t._v("Fixed incorrect avatar in profile post comment drawers")]),t._v(" "),e("li",[t._v("Hashtags will now include remote/federated posts on hashtag feeds")]),t._v(" "),e("li",[t._v("Moved media license to post header")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Improved Media Previews - disable to restore original preview aspect ratios")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Comments + Hovercards - comment usernames now support hovercards")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Quick Avatar Updates - click the "),e("i",{staticClass:"far fa-cog"}),t._v(" button on your avatar. Supports drag-n-drop and updates without page refresh in most places.")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Follows You badge on hovercards when applicable")]),t._v(" "),e("li",[t._v("Add Hide Counts & Stats setting")]),t._v(" "),e("li",[t._v("Fix nsfw videos not displaying sensitive warning")]),t._v(" "),e("li",[t._v("Added mod tools button to posts for admin accounts")])])]),t._v(" "),e("div",{staticClass:"mt-4 pb-3"},[e("p",{staticClass:"lead"},[t._v("January 2022")]),t._v(" "),e("ul",[e("li",[t._v("Fixed comment deletion")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("New Reaction bar on posts - to disable toggle this option in UI Settings menu")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Fresher Comments - fixed bug that prevented new comments from appearing and added a Refresh button to do it manually in the event it's needed")]),t._v(" "),e("li",[t._v("Added Comment Autoloading setting, enabled by default, it loads the first 3 comments")]),t._v(" "),e("li",[t._v("Added Likes feed to your own profile to view posts you liked")]),t._v(" "),e("li",[t._v("Fixed custom emoji rendering on sidebar, profiles and hover cards")]),t._v(" "),e("li",[t._v("Fixed duplicate notifications on feeds")]),t._v(" "),e("li",[t._v("New onboarding home feed with 6 popular accounts to help newcomers find accounts to follow")]),t._v(" "),e("li",[t._v("Added pronouns to hovercards")]),t._v(" "),e("li",[t._v("Fixed custom emoji rendering on home timeline")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Added Hovercards to usernames on timelines")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Improved search bar, now resolves (and imports) remote accounts and posts, including webfinger addresses")]),t._v(" "),e("li",[t._v("Added full account usernames to notifications on hover")]),t._v(" "),e("li",[t._v("Discover page will default to the Yearly tab if Daily tab is empty")]),t._v(" "),e("li",[t._v("Hashtag feed improvements (fix pagination placeholders, use 4x4 grid on larger screens)")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("New report modal for posts & comments")]),t._v(" "),e("li",[t._v("Fixed profile "),e("i",{staticClass:"far fa-bars px-1"}),t._v(" feed status interactions")]),t._v(" "),e("li",[t._v("Improved profile mobile layout")])])]),t._v(" "),e("div",{staticClass:"pb-3"},[e("p",{staticClass:"lead"},[t._v("Older")]),t._v(" "),e("p",[t._v("To view the full list of changes, view the project changelog "),e("a",{attrs:{href:"https://raw.githubusercontent.com/pixelfed/pixelfed/dev/CHANGELOG.md"}},[t._v("here")]),t._v(".")])])])},function(){var t=this._self._c;return t("div",{staticClass:"col-md-3"},[t("div",{staticClass:"alert alert-primary"},[t("p",{staticClass:"mb-0 small"},[this._v("We know some of our UI changes are controversial. We value your feedback and are working hard to incorporate it. Your patience is greatly appreciated!")])])])}]},89183:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),t._m(0)])]):t._e()])},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-6"},[e("div",{staticClass:"jumbotron shadow-sm bg-white"},[e("div",{staticClass:"text-center"},[e("h1",{staticClass:"font-weight-bold mb-0"},[t._v("Contact")])])]),t._v(" "),e("div",{staticClass:"card shadow-sm mb-3"},[e("div",{staticClass:"card-body"},[t._v("\n\t\t\t\t\t\tAdministrators have not configured the contact form.\n\t\t\t\t\t")])])])}]},50583:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"hashtag-component"},[t.isLoaded&&t.feedLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-9"},[e("div",{staticClass:"card border-0 shadow-sm mb-3",staticStyle:{"border-radius":"18px"}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media align-items-center py-3"},[e("div",{staticClass:"media-body"},[e("p",{staticClass:"h3 text-break mb-0"},[e("span",{staticClass:"text-lighter"},[t._v("#")]),t._v(t._s(t.id)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),t.follows?e("button",{staticClass:"btn btn-light hashtag-follow border rounded-pill font-weight-bold py-1 px-4",attrs:{disabled:t.isFollowing},on:{click:function(e){return t.unfollowHashtag()}}},[t.isFollowing?e("b-spinner",{attrs:{small:""}}):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t\t\t\t")])],1):e("button",{staticClass:"btn btn-primary hashtag-follow font-weight-bold rounded-pill py-1 px-4",attrs:{disabled:t.isFollowing},on:{click:function(e){return t.followHashtag()}}},[t.isFollowing?e("b-spinner",{attrs:{small:""}}):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t\t\t\t\t")])],1)])])]),t._v(" "),e("div",{staticClass:"row mx-0 hashtag-feed"},[t._l(t.feed.tags,(function(a,o){return e("div",{key:"tlob:"+o,staticClass:"col-6 col-md-4 col-lg-3 p-1"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[e("div",{staticClass:"square"},[a.status.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:a.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:a.status.media_attachments[0].blurhash,src:a.status.media_attachments[0].url}})],1),t._v(" "),"photo:album"==a.status.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==a.status.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==a.status.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[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.status.reply_count)))])])])])])])])})),t._v(" "),t._l(Array(12).keys(),(function(a,o){return t.canLoadMore?e("div",{staticClass:"col-6 col-md-4 col-lg-3 ph-wrapper"},[0===o?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"ph-item"},[e("div",{staticClass:"ph-picture big"})])]):e("div",{staticClass:"ph-item"},[e("div",{staticClass:"ph-picture big"})])],1):t._e()}))],2),t._v(" "),t.feed.hasOwnProperty("tags")&&t.feed.tags.length?t._e():e("div",{staticClass:"row mx-0 hashtag-feed justify-content-center"},[e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("hashtags.emptyFeed")))])])])])]),t._v(" "),e("drawer")],1):e("div",{staticClass:"container-fluid mt-3"},[e("b-spinner")],1)])},s=[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"})])])])}]},65684:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"help-center-component"},[e("div",{staticClass:"jumbotron"},[e("div",{staticClass:"container d-flex justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[e("p",[e("router-link",{staticClass:"text-muted",attrs:{to:"/i/web"}},[e("i",{staticClass:"far fa-long-arrow-left"}),t._v(" "),e("span",{staticClass:"ml-2"},[t._v("Back to home")])])],1),t._v(" "),e("p",{staticClass:"h1 font-weight-bold text-narrow"},[t._v("Hi, how can we help you?")])])])]),t._v(" "),e("div",{staticClass:"d-none container mt-3"},[e("div",{staticClass:"row justify-content-center"},[t._m(0),t._v(" "),e("div",{staticClass:"col-md-10 px-md-0"},[e("div",{staticClass:"my-3"},[e("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("How can I get the app?")]),t._v(" "),e("router-link",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3",attrs:{to:"/i/web/kb/124"}},[t._v("How many hashtags can I use?")]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("What formats can I upload?")]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("Can I upload gifs?")]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("Is my location removed?")]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("How many photos can I add per post?")]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("What is Federation?")]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("How do I block someone?")]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold shadow-sm px-4 py-2 mr-3 mb-3"},[t._v("How do I report something?")])],1)])])]),t._v(" "),t._m(1),t._v(" "),e("div",{staticClass:"container mt-3 mb-5"},[e("div",{staticClass:"row justify-content-center"},[t._m(2),t._v(" "),t._m(3),t._v(" "),e("div",{staticClass:"col-md-10"},[e("div",{staticClass:"mt-2 row justify-content-center"},[e("div",{staticClass:"col-md-9"},[e("div",{staticClass:"card shadow-sm mb-4"},[t._m(4),t._v(" "),e("div",{staticClass:"card-body"},[e("div",t._l(t.profile,(function(a,o){return e("p",{staticClass:"font-weight-bold mb-1 text-truncate"},[e("i",{staticClass:"far fa-info-circle mr-2 text-lighter"}),t._v(" "),e("router-link",{staticClass:"text-dark",attrs:{to:"/i/web/kb/"+o}},[t._v(t._s(a.title))])],1)})),0)])]),t._v(" "),e("div",{staticClass:"card shadow-sm"},[t._m(5),t._v(" "),e("div",{staticClass:"card-body"},[e("div",t._l(t.posts,(function(a,o){return e("p",{staticClass:"font-weight-bold mb-1 text-truncate"},[e("i",{staticClass:"far fa-info-circle mr-2 text-lighter"}),t._v(" "),e("router-link",{staticClass:"text-dark",attrs:{to:"/i/web/kb/"+o}},[t._v(t._s(a.title))])],1)})),0)])])])])])])])])},s=[function(){var t=this._self._c;return t("div",{staticClass:"col-md-10"},[t("h3",{staticClass:"text-narrow mb-3"},[this._v("Popular Questions")])])},function(){var t=this._self._c;return t("div",{staticClass:"d-none container mt-3 mb-5"},[t("div",{staticClass:"row justify-content-center"},[t("div",{staticClass:"col-md-10"},[t("hr")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-10 mb-5 text-center"},[e("p",{staticClass:"lead mb-4"},[t._v("Welcome to the new Help Center!")]),t._v(" "),e("p",[e("span",{staticClass:"alert alert-warning"},[t._v("We are in the process of migrating articles from "),e("a",{attrs:{href:"/site/help"}},[t._v("old help center")]),t._v(".")])])])},function(){var t=this._self._c;return t("div",{staticClass:"col-md-10"},[t("h3",{staticClass:"font-weight-light mb-3 text-center"},[this._v("Categories")])])},function(){var t=this._self._c;return t("div",{staticClass:"card-header"},[t("p",{staticClass:"lead font-weight-bold mb-0"},[this._v("Profile")])])},function(){var t=this._self._c;return t("div",{staticClass:"card-header"},[t("p",{staticClass:"lead font-weight-bold mb-0"},[this._v("Posts")])])}]},33981:(t,e,a)=>{"use strict";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)}a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"knowledgebase-component"},[t.isLoaded?e("div",[e("div",{staticClass:"jumbotron"},[e("div",{staticClass:"container"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[e("p",[e("router-link",{staticClass:"text-muted",attrs:{to:"/i/web/help"}},[e("i",{staticClass:"far fa-long-arrow-left"}),t._v(" "),e("span",{staticClass:"ml-2"},[t._v("Help Center")])])],1),t._v(" "),e("p",{staticClass:"h1 font-weight-bold text-narrow"},[t._v(t._s(t.article.title))])])])])]),t._v(" "),e("div",{staticClass:"container mt-5"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},t._l(t.article.body,(function(a,s){return e("div",["string"==typeof a?e("div",{staticClass:"lead mb-3",domProps:{innerHTML:t._s(a)}}):t._e(),t._v(" "),"object"===o(a)&&Array.isArray(a)?e("div",{staticClass:"mb-5"},t._l(a,(function(a,o){return e("div",{staticClass:"media align-items-center mb-3"},[e("div",{staticClass:"lead rounded-circle d-flex justify-content-center align-items-center font-weight-bold mr-3",staticStyle:{width:"50px",height:"50px",background:"#F3F4F6"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(o+1)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead mb-0",domProps:{innerHTML:t._s(a)}})])])})),0):t._e()])})),0)])])]):e("div",{staticClass:"d-flex justify-content-center mt-5"},[e("b-spinner")],1)])},i=[]},11168:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6"},[t._m(0),t._v(" "),e("div",{staticClass:"card shadow-sm mb-3"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"locale-changer form-group"},[e("label",[t._v("Language")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.locale,expression:"locale"}],staticClass:"form-control",on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.locale=e.target.multiple?a:a[0]}}},t._l(t.langs,(function(a,o){return e("option",{key:"Lang".concat(o),domProps:{value:a}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.fullName(a))+"\n\t\t\t\t\t\t\t\t\t"),t.fullName(a)!=t.localeName(a)?[t._v(" · "+t._s(t.localeName(a)))]:t._e()],2)})),0)])])])])])]):t._e(),t._v(" "),e("drawer")],1)},s=[function(){var t=this._self._c;return t("div",{staticClass:"jumbotron shadow-sm bg-white"},[t("div",{staticClass:"text-center"},[t("h1",{staticClass:"font-weight-bold mb-0"},[this._v("Language")])])])}]},56943:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"container d-flex justify-content-center"},[t._m(0),t._v(" "),e("drawer")],1)},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"error-page py-5 my-5",staticStyle:{"max-width":"450px"}},[e("h3",{staticClass:"font-weight-bold"},[t._v("404   Page Not Found")]),t._v(" "),e("p",{staticClass:"lead"},[t._v("The page you are trying to view is not available")]),t._v(" "),e("div",{staticClass:"text-muted"},[e("p",{staticClass:"mb-1"},[t._v("This can happen for a few reasons:")]),t._v(" "),e("ul",[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")])])])])}]},26092:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6"},[t._m(0),t._v(" "),e("div",{staticClass:"card shadow-sm"},[e("div",{staticClass:"card-body doc-body"},[e("div",{domProps:{innerHTML:t._s(t.page.body)}})])])])])]):t._e()])},s=[function(){var t=this._self._c;return t("div",{staticClass:"jumbotron shadow-sm bg-white"},[t("div",{staticClass:"text-center"},[t("h1",{staticClass:"font-weight-bold mb-0"},[this._v("Privacy Policy")])])])}]},93651:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-timeline-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-8 offset-md-2 px-md-5"},[e("profile-followers",{attrs:{profile:t.profile,relationship:t.relationship},on:{back:function(e){return t.goBack()}}})],1)]),t._v(" "),e("drawer")],1):t._e()])},s=[]},88539:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-timeline-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-8 offset-md-2 px-md-5"},[e("profile-following",{attrs:{profile:t.profile,relationship:t.relationship},on:{back:function(e){return t.goBack()}}})],1)]),t._v(" "),e("drawer")],1):t._e()])},s=[]},3272:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6"},[t._m(0),t._v(" "),e("div",{staticClass:"card shadow-sm"},[e("div",{staticClass:"card-body doc-body"},[e("div",{domProps:{innerHTML:t._s(t.page.body)}})])])])])]):t._e()])},s=[function(){var t=this._self._c;return t("div",{staticClass:"jumbotron shadow-sm bg-white"},[t("div",{staticClass:"text-center"},[t("h1",{staticClass:"font-weight-bold mb-0"},[this._v("Terms of Use")])])])}]},7231:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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)])])])])},s=[]},73023:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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()])])},s=[]},83055:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("nav",{staticClass:"metro-nav navbar navbar-expand navbar-light navbar-laravel sticky-top shadow-none py-1"},[e("div",{staticClass:"container-fluid"},[e("a",{staticClass:"navbar-brand d-flex align-items-center",staticStyle:{width:"50px"},attrs:{href:"/i/web",title:"Logo"}},[e("img",{staticClass:"px-2",attrs:{src:"/img/pixelfed-icon-color.svg",height:"30px",loading:"eager",alt:"Pixelfed logo"}}),t._v(" "),e("span",{staticClass:"font-weight-bold mb-0 d-none d-sm-block",staticStyle:{"font-size":"20px"}},[t._v("\n\t\t\t\t\t"+t._s(t.brandName)+"\n\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"collapse navbar-collapse"},[e("div",{staticClass:"navbar-nav ml-auto"},[e("autocomplete",{ref:"autocomplete",staticClass:"searchbox",attrs:{search:t.autocompleteSearch,placeholder:t.$t("navmenu.search"),"aria-label":"Search","get-result-value":t.getSearchResultValue,debounceTime:700},on:{submit:t.onSearchSubmit},scopedSlots:t._u([{key:"result",fn:function(a){var o=a.result,s=a.props;return[e("li",t._b({staticClass:"autocomplete-result"},"li",s,!1),["account"===o.s_type?e("div",{staticClass:"media align-items-center my-0"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:o.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[o.display_name&&o.display_name.length?e("div",[e("p",{staticClass:"result-name mb-0 font-weight-bold",staticStyle:{"line-height":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.truncate(o.display_name,28))+"\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"result-name mb-0 text-muted small font-weight-bold text-break"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+t._s(o.acct)+"\n\t\t\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"result-name mb-0 font-weight-bold",staticStyle:{"line-height":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+t._s(o.acct)+"\n\t\t\t\t\t\t\t\t\t\t\t")])])])]):"hashtag"===o.s_type?e("div",{staticClass:"media align-items-center my-0"},[e("div",{staticClass:"media-icon"},[e("i",{staticClass:"far fa-hashtag fa-large"})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",[e("p",{staticClass:"result-name mb-0 font-weight-bold text-break",staticStyle:{"line-height":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(o.name)+"\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"result-name mb-0 text-muted small text-break"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(o.count)+" Posts\n\t\t\t\t\t\t\t\t\t\t\t")])])])]):"status"===o.s_type?e("div",{staticClass:"media align-items-center my-0"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:o.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",[e("p",{staticClass:"result-name mb-0 font-weight-bold",staticStyle:{"line-height":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+t._s(t.truncate(o.account.acct,20))+"\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"result-name mb-0 text-muted small font-weight-bold text-break"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tView status\n\t\t\t\t\t\t\t\t\t\t\t")])])])]):t._e()])]}}])})],1),t._v(" "),e("div",{staticClass:"ml-auto"},[e("ul",{staticClass:"navbar-nav align-items-center"},[e("li",{staticClass:"nav-item dropdown ml-2"},[e("a",{staticClass:"nav-link dropdown-toggle",attrs:{id:"navbarDropdown",href:"#",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"User Menu"}},[e("i",{staticClass:"d-none far fa-user fa-lg text-dark"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("User Menu")]),t._v(" "),e("img",{staticClass:"nav-avatar rounded-circle border shadow",attrs:{src:t.user.avatar,width:"30",height:"30",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right shadow",attrs:{"aria-labelledby":"navbarDropdown"}},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item nav-icons"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web"}},[e("div",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("router-link",{staticClass:"nav-link text-center",attrs:{to:{name:"timeline",params:{scope:"local"}}}},[e("div",{staticClass:"icon text-lighter"},[e("i",{staticClass:"fas fa-stream fa-lg"})]),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("router-link",{staticClass:"nav-link text-center",attrs:{to:{name:"timeline",params:{scope:"global"}}}},[e("div",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-globe fa-lg"})]),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()],1)]),t._v(" "),e("li",{staticClass:"nav-item nav-icons"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web/discover"}},[e("div",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.discover")))])]),t._v(" "),e("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web/notifications"}},[e("div",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v(" "),e("div",{staticClass:"small"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("router-link",{staticClass:"nav-link text-center px-3",attrs:{to:"/i/web/profile/"+t.user.id}},[e("div",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.profile")))])])],1),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/compose"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-plus-square"})]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.compose"))+"\n\t\t\t\t\t\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\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.openUserInterfaceSettings.apply(null,arguments)}}},[t._m(0),t._v("\n\t\t\t\t\t\t\t\t\t\t\tUI Settings\n\t\t\t\t\t\t\t\t\t\t")])]),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(1),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t\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:"/"}},[t._m(2),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t\t\t\t\t\t")])]),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:"/"},on:{click:function(e){return e.preventDefault(),t.logout()}}},[t._m(3),t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.logout"))+"\n\t\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),e("b-modal",{ref:"uis",attrs:{"hide-footer":"",centered:"","body-class":"p-0 ui-menu",title:"UI Settings"}},[e("div",{staticClass:"list-group list-group-flush"},[e("div",{staticClass:"list-group-item px-3"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("p",{staticClass:"font-weight-bold mb-1"},[t._v("Theme")]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"})]),t._v(" "),e("div",{staticClass:"btn-group btn-group-sm"},[e("button",{staticClass:"btn",class:["system"==t.uiColorScheme?"btn-primary":"btn-outline-primary"],on:{click:function(e){return t.toggleUi("system")}}},[t._v("\n\t\t\t\t\t\t\tAuto\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn",class:["light"==t.uiColorScheme?"btn-primary":"btn-outline-primary"],on:{click:function(e){return t.toggleUi("light")}}},[t._v("\n\t\t\t\t\t\t\tLight mode\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn",class:["dark"==t.uiColorScheme?"btn-primary":"btn-outline-primary"],on:{click:function(e){return t.toggleUi("dark")}}},[t._v("\n\t\t\t\t\t\t\tDark mode\n\t\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"list-group-item px-3"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("p",{staticClass:"font-weight-bold mb-1"},[t._v("Profile Layout")]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"})]),t._v(" "),e("div",{staticClass:"btn-group btn-group-sm"},[e("button",{staticClass:"btn",class:["grid"==t.profileLayout?"btn-primary":"btn-outline-primary"],on:{click:function(e){return t.toggleProfileLayout("grid")}}},[t._v("\n\t\t\t\t\t\t\tGrid\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn",class:["masonry"==t.profileLayout?"btn-primary":"btn-outline-primary"],on:{click:function(e){return t.toggleProfileLayout("masonry")}}},[t._v("\n\t\t\t\t\t\t\tMasonry\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn",class:["feed"==t.profileLayout?"btn-primary":"btn-outline-primary"],on:{click:function(e){return t.toggleProfileLayout("feed")}}},[t._v("\n\t\t\t\t\t\t\tFeed\n\t\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"list-group-item px-3"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Compact Media Previews")])]),t._v(" "),e("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:t.fixedHeight,callback:function(e){t.fixedHeight=e},expression:"fixedHeight"}})],1)]),t._v(" "),e("div",{staticClass:"list-group-item px-3"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Load Comments")])]),t._v(" "),e("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:t.autoloadComments,callback:function(e){t.autoloadComments=e},expression:"autoloadComments"}})],1)]),t._v(" "),e("div",{staticClass:"list-group-item px-3"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Hide Counts & Stats")])]),t._v(" "),e("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:t.hideCounts,callback:function(e){t.hideCounts=e},expression:"hideCounts"}})],1)])])])],1)},s=[function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-brush"})])},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"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-sign-out"})])}]},50554:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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)])},s=[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"})])])}]},73954:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){this._self._c;return this._m(0)},s=[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"})])])])])}]},82379:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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)}})])},s=[]},28993:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-followers-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[t.isLoaded?e("div",{staticClass:"d-flex justify-content-between align-items-center mb-4"},[e("div",[e("button",{staticClass:"btn btn-outline-dark rounded-pill font-weight-bold",on:{click:function(e){return t.goBack()}}},[t._v("\n Back\n ")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column w-100 overflow-hidden"},[e("p",{staticClass:"small text-muted mb-0 text-uppercase font-weight-light cursor-pointer text-truncate text-center",staticStyle:{width:"70%"},on:{click:function(e){return t.goBack()}}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),e("p",{staticClass:"lead font-weight-bold mt-n1 mb-0"},[t._v(t._s(t.$t("profile.followers")))])]),t._v(" "),t._m(0)]):t._e(),t._v(" "),t.isLoaded?e("div",{staticClass:"list-group scroll-card"},[t._l(t.feed,(function(a,o){return e("div",{staticClass:"list-group-item"},[e("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+a.id,href:a.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(a)}}},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:a.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("p",{staticClass:"mb-0 text-truncate"},[e("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(a))}})]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-muted small text-break"},[t._v("@"+t._s(a.acct))])])])]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+a.id,triggers:"hover",placement:"left",delay:"1000","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:a}})],1)],1)})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():e("div",[e("div",{staticClass:"list-group-item text-center"},[t.isWarmingCache?e("div",{staticClass:"px-4"},[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v("Loading Followers...")]),t._v(" "),e("div",{staticClass:"py-3"},[e("b-spinner",{staticStyle:{width:"1.5rem",height:"1.5rem"},attrs:{variant:"primary"}})],1),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Please wait while we collect followers of this account, this shouldn't take long!")])]):e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No followers yet!")])])])],2):e("div",{staticClass:"list-group"},[e("placeholder")],1)])])])},s=[function(){var t=this._self._c;return t("div",[t("a",{staticClass:"btn btn-dark rounded-pill font-weight-bold spacer-btn",attrs:{href:"#"}},[this._v("Back")])])}]},55818:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-following-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-7"},[t.isLoaded?e("div",{staticClass:"d-flex justify-content-between align-items-center mb-4"},[e("div",[e("button",{staticClass:"btn btn-outline-dark rounded-pill font-weight-bold",on:{click:function(e){return t.goBack()}}},[t._v("\n Back\n ")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column w-100 overflow-hidden"},[e("p",{staticClass:"small text-muted mb-0 text-uppercase font-weight-light cursor-pointer text-truncate text-center",staticStyle:{width:"70%"},on:{click:function(e){return t.goBack()}}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),e("p",{staticClass:"lead font-weight-bold mt-n1 mb-0"},[t._v(t._s(t.$t("profile.following")))])]),t._v(" "),t._m(0)]):t._e(),t._v(" "),t.isLoaded?e("div",{staticClass:"list-group scroll-card"},[t._l(t.feed,(function(a,o){return e("div",{staticClass:"list-group-item"},[e("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+a.id,href:a.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(a)}}},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:a.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("p",{staticClass:"mb-0 text-truncate"},[e("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(a))}})]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-muted small text-break"},[t._v("@"+t._s(a.acct))])])])]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+a.id,triggers:"hover",placement:"left",delay:"1000","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:a}})],1)],1)})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():e("div",[e("div",{staticClass:"list-group-item text-center"},[t.isWarmingCache?e("div",{staticClass:"px-4"},[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v("Loading Following...")]),t._v(" "),e("div",{staticClass:"py-3"},[e("b-spinner",{staticStyle:{width:"1.5rem",height:"1.5rem"},attrs:{variant:"primary"}})],1),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Please wait while we collect following accounts, this shouldn't take long!")])]):e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No following anyone yet!")])])])],2):e("div",{staticClass:"list-group"},[e("placeholder")],1)])])])},s=[function(){var t=this._self._c;return t("div",[t("a",{staticClass:"btn btn-dark rounded-pill font-weight-bold spacer-btn",attrs:{href:"#"}},[this._v("Back")])])}]},48087:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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")])])])])},s=[]},20832:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},s=[]},30964:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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)},s=[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)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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)])},s=[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")])])}]},95484:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=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(" "),e("div",{staticClass:"notifications-component-feed"},[t._l(t.feed,(function(a,o){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},[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"),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"),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")])])]):"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")])]):"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")])]):"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")])]):"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")])]):"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")])]):"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")])]):"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")])]):"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")])]):"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")])]):"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")],1)]):"group.join.approved"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\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")])]):"group.join.rejected"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\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")])]):"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")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\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._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("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}})],1),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:"50px"}})])],2)])])])},s=[]},97611:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("div",[e("transition",{attrs:{name:"fade"}},[t.announcements.length?e("div",{staticClass:"card border shadow-none mb-3"},[e("div",{staticClass:"card-header text-muted bg-white"},[e("i",{staticClass:"fas fa-bullhorn mr-2"}),t._v(" "),e("span",{staticClass:"text-weight-light"},[t._v("ANNOUNCEMENTS")]),t._v(" "),e("span",{staticClass:"float-right cursor-pointer",attrs:{title:"Close"},on:{click:t.close}},[e("i",{staticClass:"fas fa-times text-lighter"})])]),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"card-title mb-0"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.announcement.title))])]),t._v(" "),e("p",{staticClass:"card-text"},[e("span",{staticStyle:{"font-size":"13px"}},[t._v(t._s(t.announcement.summary))])]),t._v(" "),e("p",{staticClass:"d-flex align-items-center justify-content-between mb-0"},[t.announcement.url?e("a",{staticClass:"small font-weight-bold mb-0",attrs:{href:t.announcement.url}},[t._v("Read more")]):e("span"),t._v(" "),e("span",[e("span",{class:[t.showPrev?"btn btn-outline-secondary btn-sm py-0":"btn btn-outline-secondary btn-sm py-0 disabled"],attrs:{disabled:0==t.showPrev},on:{click:function(e){return t.loadPrev()}}},[e("i",{staticClass:"fas fa-chevron-left fa-sm"})]),t._v(" "),e("span",{staticClass:"btn btn-outline-success btn-sm py-0 mx-1",attrs:{title:"Mark as Read","data-toggle":"tooltip","data-placement":"bottom"},on:{click:function(e){return t.markAsRead()}}},[e("i",{staticClass:"fas fa-check fa-sm"})]),t._v(" "),e("span",{class:[t.showNext?"btn btn-outline-secondary btn-sm py-0":"btn btn-outline-secondary btn-sm py-0 disabled"],attrs:{disabled:0==t.showNext},on:{click:function(e){return t.loadNext()}}},[e("i",{staticClass:"fas fa-chevron-right fa-sm"})])])])])]):t._e()])],1)},s=[]},18433:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("div",[e("transition",{attrs:{name:"fade"}},[e("div",{staticClass:"card notification-card shadow-none border"},[t.loading?e("div",{staticClass:"card-body loader text-center",staticStyle:{height:"240px"}},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):t._e(),t._v(" "),!t.loading&&t.notifications.length>0?e("div",{staticClass:"card-body px-0 py-0 contents",staticStyle:{height:"240px","overflow-y":"scroll"}},[t.profile.locked?e("div",{staticClass:"media align-items-center mt-n2 px-3 py-2 border-bottom border-lighter bg-light cursor-pointer",on:{click:function(e){return t.redirect("/account/follow-requests")}}},[e("div",{staticClass:"media-body font-weight-light pt-2 small d-flex align-items-center justify-content-between"},[e("p",{staticClass:"mb-0 text-lighter"},[e("i",{staticClass:"fas fa-cog text-light"})]),t._v(" "),e("p",{staticClass:"text-center pt-1 mb-1 text-dark font-weight-bold"},[e("strong",[t._v(t._s(t.followRequests&&t.followRequests.hasOwnProperty("count")?t.followRequests.count:0))]),t._v(" Follow Requests")]),t._v(" "),e("p",{staticClass:"mb-0 text-lighter"},[e("i",{staticClass:"fas fa-chevron-right"})])])]):t._e(),t._v(" "),t._l(t.notifications,(function(a,o){return t.notifications.length>0?e("div",{staticClass:"media align-items-center px-3 py-2 border-bottom border-light"},[e("img",{staticClass:"mr-2 rounded-circle",staticStyle:{border:"1px solid #ccc"},attrs:{src:a.account.avatar,alt:"",width:"32px",height:"32px",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.username}},[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"),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}},[t._v("post")]),t._v(".\n\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)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t")])])]):"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.username}},[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)}},[t._v("post")]),t._v(".\n\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.username}},[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")])]):"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.username}},[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")])]):"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.username}},[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")])]):"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.username}},[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)}},[t._v("mentioned")]),t._v(" you.\n\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.username}},[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")])]):"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.username}},[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)}},[t._v("post")]),t._v(".\n\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.username}},[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")])]):"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.username}},[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")])]):"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.username}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" sent a "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+a.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t")])]):"group.join.approved"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\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")])]):"group.join.rejected"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\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")])]):"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.username}},[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")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t")])])]),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._e()})),t._v(" "),t.notifications.length?e("div",[e("infinite-loading",{on:{infinite:t.infiniteNotifications}},[e("div",{staticClass:"font-weight-bold",attrs:{slot:"no-results"},slot:"no-results"}),t._v(" "),e("div",{staticClass:"font-weight-bold",attrs:{slot:"no-more"},slot:"no-more"})])],1):t._e(),t._v(" "),0==t.notifications.length?e("div",{staticClass:"text-lighter text-center py-3"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fas fa-inbox fa-3x"})]),t._v(" "),e("p",{staticClass:"mb-0 small font-weight-bold"},[t._v("0 Notifications!")])]):t._e()],2):t._e(),t._v(" "),t.loading||t.notifications.length?t._e():e("div",{staticClass:"card-body px-0 py-0",staticStyle:{height:"240px"}},[e("div",{staticClass:"text-lighter text-center py-3"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fas fa-inbox fa-3x"})]),t._v(" "),e("p",{staticClass:"mb-0 small font-weight-bold"},[t._v("No notifications yet")]),t._v(" "),t.showRefresh&&!t.attemptedRefresh?e("p",{staticClass:"mt-2 small font-weight-bold text-primary cursor-pointer",on:{click:t.refreshNotifications}},[e("i",{staticClass:"fas fa-redo"}),t._v(" Refresh")]):t._e()])])])])],1)},s=[]},79953:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("div",["true"!=t.modal?e("div",{staticClass:"dropdown"},[e("button",{staticClass:"btn btn-link text-dark no-caret dropdown-toggle py-0",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"Post options"}},[e("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",attrs:{href:t.status.url}},[t._v("Go to post")]),t._v(" "),1==t.activeSession&&0==t.statusOwner(t.status)?e("span",[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:t.reportUrl(t.status)}},[t._v("Report")])]):t._e(),t._v(" "),1==t.activeSession&&1==t.statusOwner(t.status)?e("span",[e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.muteProfile(t.status)}}},[t._v("Mute Profile")]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.blockProfile(t.status)}}},[t._v("Block Profile")])]):t._e(),t._v(" "),1==t.activeSession&&1==t.profile.is_admin?e("span",[e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-danger text-decoration-none",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("h6",{staticClass:"dropdown-header"},[t._v("Mod Tools")]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"autocw")}}},[e("p",{staticClass:"mb-0"},[t._v("Enforce CW")]),t._v(" "),t._m(0)]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"noautolink")}}},[e("p",{staticClass:"mb-0"},[t._v("No Autolinking")]),t._v(" "),t._m(1)]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"unlisted")}}},[e("p",{staticClass:"mb-0"},[t._v("Unlisted Posts")]),t._v(" "),t._m(2)]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"disable")}}},[e("p",{staticClass:"mb-0"},[t._v("Disable Account")]),t._v(" "),t._m(3)]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"suspend")}}},[e("p",{staticClass:"mb-0"},[t._v("Suspend Account")]),t._v(" "),t._m(4)])]):t._e()])]):t._e(),t._v(" "),"true"==t.modal?e("div",[e("span",{attrs:{"data-toggle":"modal","data-target":"#mt_pid_"+t.status.id}},[e("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),e("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"mt_pid_"+t.status.id}},[e("div",{staticClass:"modal-dialog modal-sm modal-dialog-centered",attrs:{role:"document"}},[e("div",{staticClass:"modal-content"},[e("div",{staticClass:"modal-body text-center"},[e("div",{staticClass:"list-group"},[e("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:t.statusUrl(t.status)}},[t._v("Go to post")]),t._v(" "),e("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hidePost(t.status)}}},[t._v("Hide")]),t._v(" "),1!=t.activeSession||t.statusOwner(t.status)?t._e():e("a",{staticClass:"list-group-item text-danger font-weight-bold text-decoration-none",attrs:{href:t.reportUrl(t.status)}},[t._v("Report")]),t._v(" "),1==t.activeSession&&1==t.statusOwner(t.status)||1==t.profile.is_admin?e("div",{staticClass:"list-group-item text-danger font-weight-bold cursor-pointer",on:{click:function(e){return e.preventDefault(),t.deletePost.apply(null,arguments)}}},[t._v("Delete")]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item text-lighter text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[t._v("Close")])])])])])])]):t._e()])},s=[function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("Adds a CW to every post "),e("br"),t._v(" made by this account.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("Do not transform mentions, "),e("br"),t._v(" hashtags or urls into HTML.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("Removes account from "),e("br"),t._v(" public/network timelines.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("Temporarily disable account "),e("br"),t._v(" until next time user log in.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("This prevents any new interactions, "),e("br"),t._v(" without deleting existing data.")])}]},46973:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return e("div",[t.show?e("div",{staticClass:"card card-body p-0 border mt-md-4 mb-md-3 shadow-none"},[t.loading?e("div",{staticClass:"w-100 h-100 d-flex align-items-center justify-content-center"},[t._m(0)]):e("div",{staticClass:"d-flex align-items-center justify-content-start scrolly"},t._l(t.stories,(function(a,o){return e("div",{staticClass:"px-3 pt-3 text-center cursor-pointer",class:{seen:a.seen},on:{click:function(e){return t.showStory(o)}}},[e("span",{staticClass:"mb-1 ring",class:[a.seen?"not-seen":"",a.local?"":"remote"]},[e("img",{staticClass:"rounded-circle border",attrs:{src:a.avatar,width:"60",height:"60",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),t._v(" "),e("p",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"small font-weight-bold text-truncate",class:{"text-lighter":a.seen},staticStyle:{"max-width":"69px"},attrs:{placement:"bottom",title:a.username}},[t._v("\n\t\t\t\t\t"+t._s(a.username)+"\n\t\t\t\t")])])})),0)]):t._e()])},s=[function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm text-lighter",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},35594:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(a,o){return e("b-carousel-slide",{key:a.id+"-media"},["video"==a.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:a.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:a.url,type:a.mime}})]):"image"==a.type?e("div",{attrs:{slot:"img",title:a.description},slot:"img"},[e("img",{class:a.filter_class+" d-block img-fluid w-100",attrs:{src:a.url,alt:a.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(a,o){return e("slide",{key:"px-carousel-"+a.id+"-"+o,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==a.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:a.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:a.url,type:a.mime}})]):"image"==a.type?e("div",{attrs:{title:a.description}},[e("img",{class:a.filter_class+" img-fluid w-100",attrs:{src:a.url,alt:a.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},s=[]},37200:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+t.status.id}},t._l(t.status.media_attachments,(function(a,o){return e("slide",{key:"px-carousel-"+a.id+"-"+o,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:a.description}},[e("img",{class:a.filter_class+" img-fluid w-100 p-0",attrs:{src:a.url,alt:t.altText(a),loading:"lazy","data-bp":a.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},s=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},65161:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},s=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},40711:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,a){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,a){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},s=[]},88699:(t,e,a)=>{"use strict";a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:"","data-id":t.status.id,poster:t.poster()}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},s=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},99751:function(){function t(e){return t="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},t(e)}!function(){var e="object"===("undefined"==typeof window?"undefined":t(window))?window:"object"===("undefined"==typeof self?"undefined":t(self))?self:this,a=e.BlobBuilder||e.WebKitBlobBuilder||e.MSBlobBuilder||e.MozBlobBuilder;e.URL=e.URL||e.webkitURL||function(t,e){return(e=document.createElement("a")).href=t,e};var o=e.Blob,s=URL.createObjectURL,i=URL.revokeObjectURL,n=e.Symbol&&e.Symbol.toStringTag,r=!1,c=!1,d=!!e.ArrayBuffer,u=a&&a.prototype.append&&a.prototype.getBlob;try{r=2===new Blob(["ä"]).size,c=2===new Blob([new Uint8Array([1,2])]).size}catch(t){}function m(t){return t.map((function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var a=new Uint8Array(t.byteLength);a.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=a.buffer}return e}return t}))}function p(t,e){e=e||{};var o=new a;return m(t).forEach((function(t){o.append(t)})),e.type?o.getBlob(e.type):o.getBlob()}function f(t,e){return new o(m(t),e||{})}e.Blob&&(p.prototype=Blob.prototype,f.prototype=Blob.prototype);var h="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(t){for(var a=0,o=t.length,s=e.Uint8Array||Array,i=0,n=Math.max(32,o+(o>>1)+7),r=new s(n>>3<<3);a=55296&&l<=56319){if(a=55296&&l<=56319)continue}if(i+4>r.length){n+=8,n=(n*=1+a/t.length*2)>>3<<3;var d=new Uint8Array(n);d.set(r),r=d}if(0!=(4294967168&l)){if(0==(4294965248&l))r[i++]=l>>6&31|192;else if(0==(4294901760&l))r[i++]=l>>12&15|224,r[i++]=l>>6&63|128;else{if(0!=(4292870144&l))continue;r[i++]=l>>18&7|240,r[i++]=l>>12&63|128,r[i++]=l>>6&63|128}r[i++]=63&l|128}else r[i++]=l}return r.slice(0,i)},v="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(t){for(var e=t.length,a=[],o=0;o239?4:l>223?3:l>191?2:1;if(o+d<=e)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(s=t[o+1]))&&(r=(31&l)<<6|63&s)>127&&(c=r);break;case 3:s=t[o+1],i=t[o+2],128==(192&s)&&128==(192&i)&&(r=(15&l)<<12|(63&s)<<6|63&i)>2047&&(r<55296||r>57343)&&(c=r);break;case 4:s=t[o+1],i=t[o+2],n=t[o+3],128==(192&s)&&128==(192&i)&&128==(192&n)&&(r=(15&l)<<18|(63&s)<<12|(63&i)<<6|63&n)>65535&&r<1114112&&(c=r)}null===c?(c=65533,d=1):c>65535&&(c-=65536,a.push(c>>>10&1023|55296),c=56320|1023&c),a.push(c),o+=d}var u=a.length,m="";for(o=0;o>2,d=(3&s)<<4|n>>4,u=(15&n)<<2|l>>6,m=63&l;r||(m=64,i||(u=64)),a.push(e[c],e[d],e[u],e[m])}return a.join("")}var o=Object.create||function(t){function e(){}return e.prototype=t,new e};if(d)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&n.indexOf(Object.prototype.toString.call(t))>-1};function c(a,o){o=null==o?{}:o;for(var s=0,i=(a=a||[]).length;s=e.size&&a.close()}))}})}}catch(t){try{new ReadableStream({}),b=function(t){var e=0;t=this;return new ReadableStream({pull:function(a){return t.slice(e,e+524288).arrayBuffer().then((function(o){e+=o.byteLength;var s=new Uint8Array(o);a.enqueue(s),e==t.size&&a.close()}))}})}}catch(t){try{new Response("").body.getReader().read(),b=function(){return new Response(this).body}}catch(t){b=function(){throw new Error("Include https://github.com/MattiasBuelens/web-streams-polyfill")}}}}w.arrayBuffer||(w.arrayBuffer=function(){var t=new FileReader;return t.readAsArrayBuffer(this),y(t)}),w.text||(w.text=function(){var t=new FileReader;return t.readAsText(this),y(t)}),w.stream||(w.stream=b)}(),function(t){"use strict";var e,a=t.Uint8Array,o=t.HTMLCanvasElement,s=o&&o.prototype,i=/\s*;\s*base64\s*(?:;|$)/i,n="toDataURL",r=function(t){for(var o,s,i=t.length,n=new a(i/4*3|0),r=0,l=0,c=[0,0],d=0,u=0;i--;)s=t.charCodeAt(r++),255!==(o=e[s-43])&&undefined!==o&&(c[1]=c[0],c[0]=s,u=u<<6|o,4===++d&&(n[l++]=u>>>16,61!==c[1]&&(n[l++]=u>>>8),61!==c[0]&&(n[l++]=u),d=0));return n};a&&(e=new a([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51])),!o||s.toBlob&&s.toBlobHD||(s.toBlob||(s.toBlob=function(t,e){if(e||(e="image/png"),this.mozGetAsFile)t(this.mozGetAsFile("canvas",e));else if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(e))t(this.msToBlob());else{var o,s=Array.prototype.slice.call(arguments,1),l=this[n].apply(this,s),c=l.indexOf(","),d=l.substring(c+1),u=i.test(l.substring(0,c));Blob.fake?((o=new Blob).encoding=u?"base64":"URI",o.data=d,o.size=d.length):a&&(o=u?new Blob([r(d)],{type:e}):new Blob([decodeURIComponent(d)],{type:e})),t(o)}}),!s.toBlobHD&&s.toDataURLHD?s.toBlobHD=function(){n="toDataURLHD";var t=this.toBlob();return n="toDataURL",t}:s.toBlobHD=s.toBlob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},81139:(t,e,a)=>{"use strict";a.r(e);var o=a(70538),s=a(78345),i=a(20629),n=a(83678),r=a(25518),l=a(30306),c=a.n(l),d=a(7398),u=a.n(d),m=a(92987),p=a(37409),f=a.n(p),h=a(74870),v=a.n(h),g=a(82364),b=a(17152),w=(a(86368),a(46737),a(84685)),y=a(95151),C=a(48266),_=a(42390),k=a(94421),x=a(72179),S=a(88041),P=a(51414),A=a(30469),T=a(52182),F=a(27228),j=a(63836),M=(a(19755),a(19755));function z(t){return z="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},z(t)}a(99751),window.Vue=o.default,window.pftxt=a(47711),window.filesize=a(42317),window._=a(96486),window.Popper=a(28981).default,window.pixelfed=window.pixelfed||{},window.$=a(19755),a(43734),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",a(90717),window.blurhash=a(43985),M('[data-toggle="tooltip"]').tooltip();var R=document.head.querySelector('meta[name="csrf-token"]');R?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=R.content:console.error("CSRF token not found."),o.default.use(s.default),o.default.use(i.default),o.default.use(v()),o.default.use(f()),o.default.use(r.default),o.default.use(c()),o.default.use(u()),o.default.use(g.default),o.default.use(b.default),o.default.use(m.default,{name:"Timeago",locale:"en"}),o.default.component("navbar",a(65429).default),o.default.component("notification-card",a(91500).default),o.default.component("photo-presenter",a(23251).default),o.default.component("video-presenter",a(53973).default),o.default.component("photo-album-presenter",a(33872).default),o.default.component("video-album-presenter",a(76644).default),o.default.component("mixed-album-presenter",a(57374).default),o.default.component("post-menu",a(4086).default),o.default.component("announcements-card",a(35057).default),o.default.component("story-component",a(69141).default);var L=function(){return Promise.all([a.e(898),a.e(979)]).then(a.bind(a,98489))},U=new s.default({mode:"history",linkActiveClass:"active",routes:[{path:"/i/web/timeline/:scope",name:"timeline",component:L,props:!0},{path:"/i/web/post/:id",name:"post",component:function(){return Promise.all([a.e(898),a.e(570)]).then(a.bind(a,12118))},props:!0},{path:"/i/web/profile/:id/followers",name:"profile-followers",component:w.default,props:!0},{path:"/i/web/profile/:id/following",name:"profile-following",component:y.default,props:!0},{path:"/i/web/profile/:id",name:"profile",component:function(){return Promise.all([a.e(898),a.e(777)]).then(a.bind(a,70595))},props:!0},{path:"/i/web/discover",component:function(){return a.e(503).then(a.bind(a,14235))}},{path:"/i/web/compose",component:function(){return Promise.all([a.e(898),a.e(407)]).then(a.bind(a,55763))}},{path:"/i/web/notifications",component:function(){return a.e(921).then(a.bind(a,73209))}},{path:"/i/web/direct/thread/:accountId",component:function(){return a.e(999).then(a.bind(a,17360))},props:!0},{path:"/i/web/direct",component:function(){return a.e(25).then(a.bind(a,59502))}},{path:"/i/web/kb/:id",name:"kb",component:x.default,props:!0},{path:"/i/web/hashtag/:id",name:"hashtag",component:C.default,props:!0},{path:"/i/web/help",component:k.default},{path:"/i/web/about",component:S.default},{path:"/i/web/contact",component:P.default},{path:"/i/web/language",component:A.default},{path:"/i/web/privacy",component:T.default},{path:"/i/web/terms",component:F.default},{path:"/i/web/whats-new",component:j.default},{path:"/i/web/discover/my-memories",component:function(){return Promise.all([a.e(898),a.e(346)]).then(a.bind(a,7765))}},{path:"/i/web/discover/my-hashtags",component:function(){return Promise.all([a.e(898),a.e(719)]).then(a.bind(a,33354))}},{path:"/i/web/discover/account-insights",component:function(){return Promise.all([a.e(898),a.e(206)]).then(a.bind(a,15021))}},{path:"/i/web/discover/find-friends",component:function(){return Promise.all([a.e(898),a.e(667)]).then(a.bind(a,66897))}},{path:"/i/web/discover/server-timelines",component:function(){return Promise.all([a.e(898),a.e(190)]).then(a.bind(a,72906))}},{path:"/i/web/discover/settings",component:function(){return Promise.all([a.e(898),a.e(258)]).then(a.bind(a,81555))}},{path:"/i/web",component:L,props:!0},{path:"/i/web/*",component:_.default,props:!0}],scrollBehavior:function(t,e,a){return t.hash?{selector:"[id='".concat(t.hash.slice(1),"']")}:{x:0,y:0}}});function O(t,e){var a="pf_m2s."+t,o=window.localStorage;if(o.getItem(a)){var s=o.getItem(a);return["pl","color-scheme"].includes(t)?s:["true",!0].includes(s)}return e}var W=new i.default.Store({state:{version:1,hideCounts:O("hc",!1),autoloadComments:O("ac",!0),newReactions:O("nr",!0),fixedHeight:O("fh",!1),profileLayout:O("pl","grid"),showDMPrivacyWarning:O("dmpwarn",!0),relationships:{},emoji:[],colorScheme:O("color-scheme","system")},getters:{getVersion:function(t){return t.version},getHideCounts:function(t){return t.hideCounts},getAutoloadComments:function(t){return t.autoloadComments},getNewReactions:function(t){return t.newReactions},getFixedHeight:function(t){return t.fixedHeight},getProfileLayout:function(t){return t.profileLayout},getRelationship:function(t){return function(e){return t.relationships[e]}},getCustomEmoji:function(t){return t.emoji},getColorScheme:function(t){return t.colorScheme},getShowDMPrivacyWarning:function(t){return t.showDMPrivacyWarning}},mutations:{setVersion:function(t,e){t.version=e},setHideCounts:function(t,e){localStorage.setItem("pf_m2s.hc",e),t.hideCounts=e},setAutoloadComments:function(t,e){localStorage.setItem("pf_m2s.ac",e),t.autoloadComments=e},setNewReactions:function(t,e){localStorage.setItem("pf_m2s.nr",e),t.newReactions=e},setFixedHeight:function(t,e){localStorage.setItem("pf_m2s.fh",e),t.fixedHeight=e},setProfileLayout:function(t,e){localStorage.setItem("pf_m2s.pl",e),t.profileLayout=e},updateRelationship:function(t,e){e.forEach((function(e){o.default.set(t.relationships,e.id,e)}))},updateCustomEmoji:function(t,e){t.emoji=e},setColorScheme:function(t,e){if(t.colorScheme!=e){localStorage.setItem("pf_m2s.color-scheme",e),t.colorScheme=e;var a="system"==e?"":"light"==e?"force-light-mode":"force-dark-mode";if(document.querySelector("body").className=a,"system"!=a){var o="force-dark-mode"==a?{dark_mode:"on"}:{};axios.post("/settings/labs",o)}}},setShowDMPrivacyWarning:function(t,e){localStorage.setItem("pf_m2s.dmpwarn",e),t.showDMPrivacyWarning=e}}}),I={en:a(54414),ar:a(48509),ca:a(14392),de:a(88133),el:a(70448),es:a(32464),eu:a(23455),fr:a(86956),he:a(28863),gd:a(40388),gl:a(90187),id:a(14706),it:a(71268),ja:a(3752),nl:a(6048),pl:a(13470),pt:a(39719),ru:a(11319),uk:a(90510),vi:a(20119)},D=document.querySelector("html").getAttribute("lang"),E=new b.default({locale:D,fallbackLocale:"en",messages:I});(0,n.sync)(W,U);new o.default({el:"#content",i18n:E,router:U,store:W});if(axios.get("/api/v1/custom_emojis").then((function(t){t&&t.data&&t.data.length&&W.commit("updateCustomEmoji",t.data)})),W.state.colorScheme){var B="system"==W.state.colorScheme?"":"light"==W.state.colorScheme?"force-light-mode":"force-dark-mode";"system"!=B&&(document.querySelector("body").className=B)}pixelfed.readmore=function(){M(".read-more").each((function(t,e){var a=M(this),o=a.attr("data-readmore");"undefined"!==z(o)&&!1!==o||a.readmore({collapsedHeight:45,heightMargin:48,moreLink:'Show more',lessLink:'Show less'})}))};try{document.createEvent("TouchEvent"),M("body").addClass("touch")}catch(t){}window.App=window.App||{},window.App.util={compose:{post:function(){var t=window.location.pathname;["/","/timeline/public"].includes(t)?M("#composeModal").modal("show"):window.location.href="/?a=co"},circle:function(){console.log("Unsupported method.")},collection:function(){console.log("Unsupported method.")},loop:function(){console.log("Unsupported method.")},story:function(){console.log("Unsupported method.")}},time:function(){return new Date},version:1,format:{count:function(){var 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 t<1?0:new Intl.NumberFormat(e,{notation:a,compactDisplay:"short"}).format(t)},timeAgo:function(t){var e=Date.parse(t),a=Math.floor((new Date-e)/1e3),o=Math.floor(a/63072e3);return o<0?"0s":o>=1?o+"y":(o=Math.floor(a/604800))>=1?o+"w":(o=Math.floor(a/86400))>=1?o+"d":(o=Math.floor(a/3600))>=1?o+"h":(o=Math.floor(a/60))>=1?o+"m":Math.floor(a)+"s"},timeAhead:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=Date.parse(t),o=a-Date.parse(new Date),s=Math.floor(o/1e3),i=Math.floor(s/63072e3);return i>=1?i+(e?"y":" years"):(i=Math.floor(s/604800))>=1?i+(e?"w":" weeks"):(i=Math.floor(s/86400))>=1?i+(e?"d":" days"):(i=Math.floor(s/3600))>=1?i+(e?"h":" hours"):(i=Math.floor(s/60))>=1?i+(e?"m":" minutes"):Math.floor(s)+(e?"s":" seconds")},rewriteLinks:function(t){var e=t.innerText;return t.href.startsWith(window.location.origin)?t.href:e=1==e.startsWith("#")?"/discover/tags/"+e.substr(1)+"?src=rph":1==e.startsWith("@")?"/"+t.innerText+"?src=rpp":"/i/redirect?url="+encodeURIComponent(e)}},filters:[["1984","filter-1977"],["Azen","filter-aden"],["Astairo","filter-amaro"],["Grassbee","filter-ashby"],["Bookrun","filter-brannan"],["Borough","filter-brooklyn"],["Farms","filter-charmes"],["Hairsadone","filter-clarendon"],["Cleana ","filter-crema"],["Catpatch","filter-dogpatch"],["Earlyworm","filter-earlybird"],["Plaid","filter-gingham"],["Kyo","filter-ginza"],["Yefe","filter-hefe"],["Goddess","filter-helena"],["Yards","filter-hudson"],["Quill","filter-inkwell"],["Rankine","filter-kelvin"],["Juno","filter-juno"],["Mark","filter-lark"],["Chill","filter-lofi"],["Van","filter-ludwig"],["Apache","filter-maven"],["May","filter-mayfair"],["Ceres","filter-moon"],["Knoxville","filter-nashville"],["Felicity","filter-perpetua"],["Sandblast","filter-poprocket"],["Daisy","filter-reyes"],["Elevate","filter-rise"],["Nevada","filter-sierra"],["Futura","filter-skyline"],["Sleepy","filter-slumber"],["Steward","filter-stinson"],["Savoy","filter-sutro"],["Blaze","filter-toaster"],["Apricot","filter-valencia"],["Gloming","filter-vesper"],["Walter","filter-walden"],["Poplar","filter-willow"],["Xenon","filter-xpro-ii"]],filterCss:{"filter-1977":"sepia(.5) hue-rotate(-30deg) saturate(1.4)","filter-aden":"sepia(.2) brightness(1.15) saturate(1.4)","filter-amaro":"sepia(.35) contrast(1.1) brightness(1.2) saturate(1.3)","filter-ashby":"sepia(.5) contrast(1.2) saturate(1.8)","filter-brannan":"sepia(.4) contrast(1.25) brightness(1.1) saturate(.9) hue-rotate(-2deg)","filter-brooklyn":"sepia(.25) contrast(1.25) brightness(1.25) hue-rotate(5deg)","filter-charmes":"sepia(.25) contrast(1.25) brightness(1.25) saturate(1.35) hue-rotate(-5deg)","filter-clarendon":"sepia(.15) contrast(1.25) brightness(1.25) hue-rotate(5deg)","filter-crema":"sepia(.5) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-2deg)","filter-dogpatch":"sepia(.35) saturate(1.1) contrast(1.5)","filter-earlybird":"sepia(.25) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-5deg)","filter-gingham":"contrast(1.1) brightness(1.1)","filter-ginza":"sepia(.25) contrast(1.15) brightness(1.2) saturate(1.35) hue-rotate(-5deg)","filter-hefe":"sepia(.4) contrast(1.5) brightness(1.2) saturate(1.4) hue-rotate(-10deg)","filter-helena":"sepia(.5) contrast(1.05) brightness(1.05) saturate(1.35)","filter-hudson":"sepia(.25) contrast(1.2) brightness(1.2) saturate(1.05) hue-rotate(-15deg)","filter-inkwell":"brightness(1.25) contrast(.85) grayscale(1)","filter-kelvin":"sepia(.15) contrast(1.5) brightness(1.1) hue-rotate(-10deg)","filter-juno":"sepia(.35) contrast(1.15) brightness(1.15) saturate(1.8)","filter-lark":"sepia(.25) contrast(1.2) brightness(1.3) saturate(1.25)","filter-lofi":"saturate(1.1) contrast(1.5)","filter-ludwig":"sepia(.25) contrast(1.05) brightness(1.05) saturate(2)","filter-maven":"sepia(.35) contrast(1.05) brightness(1.05) saturate(1.75)","filter-mayfair":"contrast(1.1) brightness(1.15) saturate(1.1)","filter-moon":"brightness(1.4) contrast(.95) saturate(0) sepia(.35)","filter-nashville":"sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)","filter-perpetua":"contrast(1.1) brightness(1.25) saturate(1.1)","filter-poprocket":"sepia(.15) brightness(1.2)","filter-reyes":"sepia(.75) contrast(.75) brightness(1.25) saturate(1.4)","filter-rise":"sepia(.25) contrast(1.25) brightness(1.2) saturate(.9)","filter-sierra":"sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)","filter-skyline":"sepia(.15) contrast(1.25) brightness(1.25) saturate(1.2)","filter-slumber":"sepia(.35) contrast(1.25) saturate(1.25)","filter-stinson":"sepia(.35) contrast(1.25) brightness(1.1) saturate(1.25)","filter-sutro":"sepia(.4) contrast(1.2) brightness(.9) saturate(1.4) hue-rotate(-10deg)","filter-toaster":"sepia(.25) contrast(1.5) brightness(.95) hue-rotate(-15deg)","filter-valencia":"sepia(.25) contrast(1.1) brightness(1.1)","filter-vesper":"sepia(.35) contrast(1.15) brightness(1.2) saturate(1.3)","filter-walden":"sepia(.35) contrast(.8) brightness(1.25) saturate(1.4)","filter-willow":"brightness(1.2) contrast(.85) saturate(.05) sepia(.2)","filter-xpro-ii":"sepia(.45) contrast(1.25) brightness(1.75) saturate(1.3) hue-rotate(-5deg)"},emoji:["😂","💯","❤️","🙌","👏","👌","😍","😯","😢","😅","😁","🙂","😎","😀","🤣","😃","😄","😆","😉","😊","😋","😘","😗","😙","😚","🤗","🤩","🤔","🤨","😐","😑","😶","🙄","😏","😣","😥","😮","🤐","😪","😫","😴","😌","😛","😜","😝","🤤","😒","😓","😔","😕","🙃","🤑","😲","🙁","😖","😞","😟","😤","😭","😦","😧","😨","😩","🤯","😬","😰","😱","😳","🤪","😵","😡","😠","🤬","😷","🤒","🤕","🤢","🤮","🤧","😇","🤠","🤡","🤥","🤫","🤭","🧐","🤓","😈","👿","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🤲","👐","🤝","👍","👎","👊","✊","🤛","🤜","🤞","✌️","🤟","🤘","👈","👉","👆","👇","☝️","✋","🤚","🖐","🖖","👋","🤙","💪","🖕","✍️","🙏","💍","💄","💋","👄","👅","👂","👃","👣","👁","👀","🧠","🗣","👤","👥"],embed:{post:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"full",s=t+"/embed?";return s+=e?"caption=true&":"caption=false&",s+=a?"likes=true&":"likes=false&",'