diff --git a/public/js/activity.js b/public/js/activity.js index 77081c9ea..2a02860cb 100644 --- a/public/js/activity.js +++ b/public/js/activity.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[1768],{5364:(t,a,e)=>{"use strict";e.r(a),e.d(a,{default:()=>r});var o=e(19755);function n(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,a){if(!t)return;if("string"==typeof t)return s(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return s(t,a)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,o=new Array(a);e10?t.complete():axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.notificationMaxId}}).then((function(e){if(e.data.length){var o,s=e.data.filter((function(t){return!("share"==t.type&&!t.status)&&(!("comment"==t.type&&!t.status)&&(!("mention"==t.type&&!t.status)&&(!("favourite"==t.type&&!t.status)&&(!("follow"==t.type&&!t.account)&&!_.find(a.notifications,{id:t.id})))))})),r=s.map((function(t){return t.id}));a.notificationMaxId=Math.max.apply(Math,n(r)),(o=a.notifications).push.apply(o,n(s)),a.notificationCursor++,t.loaded()}else t.complete()}))},truncate:function(t){return t.length<=15?t:t.slice(0,15)+"..."},timeAgo:function(t){var a=Date.parse(t),e=Math.floor((new Date-a)/1e3),o=Math.floor(e/31536e3);return o>=1?o+"y":(o=Math.floor(e/604800))>=1?o+"w":(o=Math.floor(e/86400))>=1?o+"d":(o=Math.floor(e/3600))>=1?o+"h":(o=Math.floor(e/60))>=1?o+"m":Math.floor(e)+"s"},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},followProfile:function(t){var a=this,e=t.account.id;axios.post("/i/follow",{item:e}).then((function(t){a.notifications.map((function(t){t.account.id===e&&(t.relationship.following=!0)}))})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},viewContext:function(t){switch(t.type){case"follow":return t.account.url;case"mention":case"like":case"favourite":case"comment":return t.status.url;case"tagged":return t.tagged.post_url;case"direct":return"/account/direct/t/"+t.account.id}return"/"},getProfileUrl:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},getPostUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id}}}},69258:(t,a,e)=>{"use strict";e.r(a),e.d(a,{render:()=>o,staticRenderFns:()=>n});var o=function(){var t=this,a=t._self._c;return a("div",[a("div",{staticClass:"container"},[a("div",{staticClass:"row my-5"},[a("div",{staticClass:"col-12 col-md-8 offset-md-2"},[t._l(t.notifications,(function(e,o){return t.notifications.length>0?a("div",{staticClass:"media mb-3 align-items-center px-3 border-bottom pb-3"},[a("img",{staticClass:"mr-2 rounded-circle",staticStyle:{border:"1px solid #ccc"},attrs:{src:e.account.avatar,alt:"",width:"32px",height:"32px"}}),t._v(" "),a("div",{staticClass:"media-body font-weight-light"},["favourite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),"data-placement":"bottom","data-toggle":"tooltip",title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" liked your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),"data-placement":"bottom","data-toggle":"tooltip",title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"group:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"story:react"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" reacted to your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t")])]):"story:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t")])]):"mention"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),"data-placement":"bottom","data-toggle":"tooltip",title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(e.status)}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t")])]):"follow"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),"data-placement":"bottom","data-toggle":"tooltip",title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t")])]):"share"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),"data-placement":"bottom","data-toggle":"tooltip",title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" shared your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"modlog"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(t.truncate(e.account.username)))]),t._v(" updated a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t")])]):"tagged"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" tagged you in a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"direct"==e.type||"direct"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" sent a "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t")])]):"group.join.approved"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\tYour application to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" was approved!\n\t\t\t\t\t\t\t")])]):"group.join.rejected"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\tYour application to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" was rejected. You can re-apply to join in 6 months.\n\t\t\t\t\t\t\t")])]):t._e(),t._v(" "),a("div",{staticClass:"align-items-center"},[a("span",{staticClass:"small text-muted",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:e.created_at}},[t._v(t._s(t.timeAgo(e.created_at)))])])]),t._v(" "),a("div",[e.status&&e.status&&e.status.media_attachments&&e.status.media_attachments.length?a("div",[a("a",{attrs:{href:t.getPostUrl(e.status)}},[a("img",{attrs:{src:e.status.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):e.status&&e.status.parent&&e.status.parent.media_attachments&&e.status.parent.media_attachments.length?a("div",[a("a",{attrs:{href:e.status.parent.url}},[a("img",{attrs:{src:e.status.parent.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):a("div",["/"!=t.viewContext(e)?a("a",{staticClass:"btn btn-outline-primary py-0 font-weight-bold",attrs:{href:t.viewContext(e)}},[t._v("View")]):t._e()])])]):t._e()})),t._v(" "),t.notifications.length?a("div",[a("infinite-loading",{on:{infinite:t.infiniteNotifications}},[a("div",{staticClass:"font-weight-bold",attrs:{slot:"no-results"},slot:"no-results"}),t._v(" "),a("div",{staticClass:"font-weight-bold",attrs:{slot:"no-more"},slot:"no-more"})])],1):t._e(),t._v(" "),0==t.notifications.length?a("div",{staticClass:"text-lighter text-center py-3"},[t._m(0),t._v(" "),a("p",{staticClass:"mb-0 small font-weight-bold"},[t._v("0 Notifications!")])]):t._e()],2)])])])},n=[function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fas fa-inbox fa-3x"})])}]},78324:(t,a,e)=>{Vue.component("activity-component",e(567).default)},567:(t,a,e)=>{"use strict";e.r(a),e.d(a,{default:()=>r});var o=e(99429),n=e(32400),s={};for(const t in n)"default"!==t&&(s[t]=()=>n[t]);e.d(a,s);const r=(0,e(51900).default)(n.default,o.render,o.staticRenderFns,!1,null,null,null).exports},32400:(t,a,e)=>{"use strict";e.r(a),e.d(a,{default:()=>s});var o=e(5364),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);e.d(a,n);const s=o.default},99429:(t,a,e)=>{"use strict";e.r(a);var o=e(69258),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);e.d(a,n)}},t=>{t.O(0,[8898],(()=>{return a=78324,t(t.s=a);var a}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[1768],{5364:(t,a,e)=>{"use strict";e.r(a),e.d(a,{default:()=>r});var o=e(19755);function s(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,a){if(!t)return;if("string"==typeof t)return n(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return n(t,a)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,o=new Array(a);e10?t.complete():axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.notificationMaxId}}).then((function(e){if(e.data.length){var o,n=e.data.filter((function(t){return!("share"==t.type&&!t.status)&&(!("comment"==t.type&&!t.status)&&(!("mention"==t.type&&!t.status)&&(!("favourite"==t.type&&!t.status)&&(!("follow"==t.type&&!t.account)&&!_.find(a.notifications,{id:t.id})))))})),r=n.map((function(t){return t.id}));a.notificationMaxId=Math.max.apply(Math,s(r)),(o=a.notifications).push.apply(o,s(n)),a.notificationCursor++,t.loaded()}else t.complete()}))},truncate:function(t){return t.length<=15?t:t.slice(0,15)+"..."},timeAgo:function(t){var a=Date.parse(t),e=Math.floor((new Date-a)/1e3),o=Math.floor(e/31536e3);return o>=1?o+"y":(o=Math.floor(e/604800))>=1?o+"w":(o=Math.floor(e/86400))>=1?o+"d":(o=Math.floor(e/3600))>=1?o+"h":(o=Math.floor(e/60))>=1?o+"m":Math.floor(e)+"s"},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},viewContext:function(t){switch(t.type){case"follow":return t.account.url;case"mention":case"like":case"favourite":case"comment":return t.status.url;case"tagged":return t.tagged.post_url;case"direct":return"/account/direct/t/"+t.account.id}return"/"},getProfileUrl:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},getPostUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id}}}},57335:(t,a,e)=>{"use strict";e.r(a),e.d(a,{render:()=>o,staticRenderFns:()=>s});var o=function(){var t=this,a=t._self._c;return a("div",[a("div",{staticClass:"container"},[a("div",{staticClass:"row my-5"},[a("div",{staticClass:"col-12 col-md-8 offset-md-2"},[t._l(t.notifications,(function(e,o){return t.notifications.length>0?a("div",{staticClass:"media mb-3 align-items-center px-3 border-bottom pb-3"},[a("img",{staticClass:"mr-2 rounded-circle",staticStyle:{border:"1px solid #ccc"},attrs:{src:e.account.avatar,alt:"",width:"32px",height:"32px"}}),t._v(" "),a("div",{staticClass:"media-body font-weight-light"},["favourite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),"data-placement":"bottom","data-toggle":"tooltip",title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" liked your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),"data-placement":"bottom","data-toggle":"tooltip",title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"group:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"story:react"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" reacted to your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t")])]):"story:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t")])]):"mention"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),"data-placement":"bottom","data-toggle":"tooltip",title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(e.status)}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t")])]):"follow"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),"data-placement":"bottom","data-toggle":"tooltip",title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t")])]):"share"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),"data-placement":"bottom","data-toggle":"tooltip",title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" shared your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"modlog"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(t.truncate(e.account.username)))]),t._v(" updated a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t")])]):"tagged"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" tagged you in a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"direct"==e.type||"direct"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.username}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" sent a "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+e.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t")])]):"group.join.approved"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\tYour application to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" was approved!\n\t\t\t\t\t\t\t")])]):"group.join.rejected"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\tYour application to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" was rejected. You can re-apply to join in 6 months.\n\t\t\t\t\t\t\t")])]):t._e(),t._v(" "),a("div",{staticClass:"align-items-center"},[a("span",{staticClass:"small text-muted",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:e.created_at}},[t._v(t._s(t.timeAgo(e.created_at)))])])]),t._v(" "),a("div",[e.status&&e.status&&e.status.media_attachments&&e.status.media_attachments.length?a("div",[a("a",{attrs:{href:t.getPostUrl(e.status)}},[a("img",{attrs:{src:e.status.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):e.status&&e.status.parent&&e.status.parent.media_attachments&&e.status.parent.media_attachments.length?a("div",[a("a",{attrs:{href:e.status.parent.url}},[a("img",{attrs:{src:e.status.parent.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):a("div",["/"!=t.viewContext(e)?a("a",{staticClass:"btn btn-outline-primary py-0 font-weight-bold",attrs:{href:t.viewContext(e)}},[t._v("View")]):t._e()])])]):t._e()})),t._v(" "),t.notifications.length?a("div",[a("infinite-loading",{on:{infinite:t.infiniteNotifications}},[a("div",{staticClass:"font-weight-bold",attrs:{slot:"no-results"},slot:"no-results"}),t._v(" "),a("div",{staticClass:"font-weight-bold",attrs:{slot:"no-more"},slot:"no-more"})])],1):t._e(),t._v(" "),0==t.notifications.length?a("div",{staticClass:"text-lighter text-center py-3"},[t._m(0),t._v(" "),a("p",{staticClass:"mb-0 small font-weight-bold"},[t._v("0 Notifications!")])]):t._e()],2)])])])},s=[function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fas fa-inbox fa-3x"})])}]},78324:(t,a,e)=>{Vue.component("activity-component",e(567).default)},567:(t,a,e)=>{"use strict";e.r(a),e.d(a,{default:()=>r});var o=e(63783),s=e(32400),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const r=(0,e(51900).default)(s.default,o.render,o.staticRenderFns,!1,null,null,null).exports},32400:(t,a,e)=>{"use strict";e.r(a),e.d(a,{default:()=>n});var o=e(5364),s={};for(const t in o)"default"!==t&&(s[t]=()=>o[t]);e.d(a,s);const n=o.default},63783:(t,a,e)=>{"use strict";e.r(a);var o=e(57335),s={};for(const t in o)"default"!==t&&(s[t]=()=>o[t]);e.d(a,s)}},t=>{t.O(0,[8898],(()=>{return a=78324,t(t.s=a);var a}));t.O()}]); \ No newline at end of file diff --git a/public/js/discover~myhashtags.chunk.e466a09b04298c01.js b/public/js/discover~myhashtags.chunk.e466a09b04298c01.js new file mode 100644 index 000000000..548e55dd3 --- /dev/null +++ b/public/js/discover~myhashtags.chunk.e466a09b04298c01.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2530],{2274:(t,e,s)=>{s.r(e),s.d(e,{default:()=>d});var a=s(42755),i=s(88231),o=s(99247),n=s(8829),r=s(5327),l=s(31823),c=s(21917);const d={components:{drawer:a.default,sidebar:i.default,"context-menu":n.default,"likes-modal":r.default,"shares-modal":l.default,"report-modal":c.default,"status-card":o.default},data:function(){return{isLoaded:!0,isLoading:!0,profile:window._sharedData.user,tagIndex:0,tags:[],feed:[],tagsLoaded:!1,breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"My Hashtags",active:!0}],canLoadMore:!0,isFetchingMore:!1,endFeedReached:!1,postIndex:0,showMenu:!1,showLikesModal:!1,likesModalPost:{},showReportModal:!1,reportedStatus:{},reportedStatusId:0,showSharesModal:!1,sharesModalPost:{}}},mounted:function(){this.fetchHashtags()},methods:{fetchHashtags:function(){var t=this;axios.get("/api/local/discover/tag/list").then((function(e){t.tags=e.data,t.tagsLoaded=!0,t.tags.length?t.fetchTagFeed(t.tags[0]):t.isLoading=!1})).catch((function(e){t.isLoading=!1}))},fetchTagFeed:function(t){var e=this;this.isLoading=!0,axios.get("/api/v2/discover/tag",{params:{hashtag:t}}).then((function(t){e.feed=t.data.tags.map((function(t){return t.status})),e.isLoading=!1})).catch((function(t){e.isLoading=!1}))},toggleTag:function(t){this.tagIndex=t,this.fetchTagFeed(this.tags[t])},likeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1;var i=document.createElement("p");i.classList.add("text-left"),i.classList.add("mb-0"),i.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var o=document.createElement("div");o.appendChild(i),429===s.response.status&&swal({title:"Too many requests",content:o,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1}))},shareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(a){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(26535),i=s(74338),o=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":o.default,"post-header":i.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&!1===this.status.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},29022:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{s.r(e),s.d(e,{default:()=>l});var a=s(15235),i=s(80979),o=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.default,ProfileHoverCard:o.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modCWSuccess"),"success"),a.$emit("moderate","addcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modRemoveCWSuccess"),"success"),a.$emit("moderate","remcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","unlist"),swal(a.$t("common.success"),a.$t("menu.modUnlistSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","spammer"),swal(a.$t("common.success"),a.$t("menu.modMarkAsSpammerSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),i=s(48510),o=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":a.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(26535),i=s(22583);const o={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),i=s(48510),o=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},54965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(80979),i=s(20629);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},11188:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=s(20629),i=s(68296),o=s(76429);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function l(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:i.default,UpdateAvatar:o.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},66925:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},54025:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-my-hashtags-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("My Hashtags")]),t._v(" "),e("p",{staticClass:"font-default lead"},[t._v("Posts from hashtags you follow")]),t._v(" "),e("hr"),t._v(" "),t.isLoading?e("b-spinner"):t._e(),t._v(" "),t._l(t.feed,(function(s,a){return t.isLoading?t._e():e("status-card",{key:"ti1:"+a+":"+s.id,attrs:{profile:t.profile,status:s},on:{like:function(e){return t.likeStatus(a)},unlike:function(e){return t.unlikeStatus(a)},share:function(e){return t.shareStatus(a)},unshare:function(e){return t.unshareStatus(a)},menu:function(e){return t.openContextMenu(a)},"mod-tools":function(e){return t.handleModTools(a)},"likes-modal":function(e){return t.openLikesModal(a)},"shares-modal":function(e){return t.openSharesModal(a)},bookmark:function(e){return t.handleBookmark(a)}}})})),t._v(" "),!t.isLoading&&t.tagsLoaded&&0==t.feed.length?e("p",{staticClass:"lead"},[t._v("No hashtags found :(")]):t._e()],2),t._v(" "),e("div",{staticClass:"col-md-2 col-lg-3"},[e("div",{staticClass:"nav flex-column nav-pills font-default"},t._l(t.tags,(function(s,a){return e("a",{staticClass:"nav-link",class:{active:t.tagIndex==a},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTag(a)}}},[t._v("\n\t\t\t\t\t\t"+t._s(s)+"\n\t\t\t\t\t")])})),0)])])]):t._e(),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[]},67192:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},73023:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},18683:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},74212:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},86251:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},34108:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?e("span",[e("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):e("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},48087:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},30964:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},78061:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"align-self-start"},[e("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),e("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),e("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},49534:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".discover-my-hashtags-component .bg-stellar[data-v-84db52ca]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-my-hashtags-component .font-default[data-v-84db52ca]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-my-hashtags-component .active[data-v-84db52ca]{font-weight:700}",""]);const o=i},27101:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media (min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const o=i},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const o=i},6662:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const o=i},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const o=i},1644:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const o=i},195:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const o=i},4131:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(49534),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},89539:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(27101),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(95433),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},49011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(6662),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(93986),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},64111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(1644),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},7051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(195),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},33354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(20922),i=s(1809),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(53092);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"84db52ca",null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(76719),i=s(60378),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(41658);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(87661),i=s(1374),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(72682);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(18709),i=s(72214),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},76429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(5249),i=s(74778),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(15542),i=s(3646),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(39626);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78559),i=s(43354),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12430),i=s(23983),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(80360),i=s(59111),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(28476);const i=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(50282),i=s(6921),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(56253),i=s(40102),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12348),i=s(33012),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(73433),i=s(94747),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(23666),i=s(19651),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(70946),i=s(84021),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(30535),i=s(84185),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(62544);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},88231:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(7071),i=s(28058),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(11883);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},68296:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(48170),i=s(82834),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(89501);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},1809:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(2274),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(95217),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(89250),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(8671),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},74778:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(29022),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(19444),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(13143),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(3861),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(60658),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(36935),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(92606),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(51815),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(17810),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(2011),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(24489),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(54965),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},28058:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(11188),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},82834:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(66925),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},20922:(t,e,s)=>{s.r(e);var a=s(54025),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},76719:(t,e,s)=>{s.r(e);var a=s(67192),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},87661:(t,e,s)=>{s.r(e);var a=s(7231),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},18709:(t,e,s)=>{s.r(e);var a=s(97584),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5249:(t,e,s)=>{s.r(e);var a=s(73023),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},15542:(t,e,s)=>{s.r(e);var a=s(18683),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},78559:(t,e,s)=>{s.r(e);var a=s(54822),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},12430:(t,e,s)=>{s.r(e);var a=s(74212),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},80360:(t,e,s)=>{s.r(e);var a=s(86251),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},28476:(t,e,s)=>{s.r(e);var a=s(73954),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},50282:(t,e,s)=>{s.r(e);var a=s(92994),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},56253:(t,e,s)=>{s.r(e);var a=s(3103),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},12348:(t,e,s)=>{s.r(e);var a=s(34108),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},73433:(t,e,s)=>{s.r(e);var a=s(84027),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},23666:(t,e,s)=>{s.r(e);var a=s(93853),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},70946:(t,e,s)=>{s.r(e);var a=s(10454),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},30535:(t,e,s)=>{s.r(e);var a=s(48087),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},7071:(t,e,s)=>{s.r(e);var a=s(30964),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48170:(t,e,s)=>{s.r(e);var a=s(78061),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},53092:(t,e,s)=>{s.r(e);var a=s(4131),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},41658:(t,e,s)=>{s.r(e);var a=s(89539),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},72682:(t,e,s)=>{s.r(e);var a=s(2869),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},39626:(t,e,s)=>{s.r(e);var a=s(49011),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},62544:(t,e,s)=>{s.r(e);var a=s(51010),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11883:(t,e,s)=>{s.r(e);var a=s(64111),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},89501:(t,e,s)=>{s.r(e);var a=s(7051),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/discover~myhashtags.chunk.e5c0ccc2d836cf5d.js b/public/js/discover~myhashtags.chunk.e5c0ccc2d836cf5d.js deleted file mode 100644 index eab8dd27f..000000000 --- a/public/js/discover~myhashtags.chunk.e5c0ccc2d836cf5d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2530],{2274:(t,e,s)=>{s.r(e),s.d(e,{default:()=>d});var a=s(42755),i=s(88231),o=s(99247),n=s(8829),r=s(5327),l=s(31823),c=s(21917);const d={components:{drawer:a.default,sidebar:i.default,"context-menu":n.default,"likes-modal":r.default,"shares-modal":l.default,"report-modal":c.default,"status-card":o.default},data:function(){return{isLoaded:!0,isLoading:!0,profile:window._sharedData.user,tagIndex:0,tags:[],feed:[],tagsLoaded:!1,breadcrumbItems:[{text:"Discover",href:"/i/web/discover"},{text:"My Hashtags",active:!0}],canLoadMore:!0,isFetchingMore:!1,endFeedReached:!1,postIndex:0,showMenu:!1,showLikesModal:!1,likesModalPost:{},showReportModal:!1,reportedStatus:{},reportedStatusId:0,showSharesModal:!1,sharesModalPost:{}}},mounted:function(){this.fetchHashtags()},methods:{fetchHashtags:function(){var t=this;axios.get("/api/local/discover/tag/list").then((function(e){t.tags=e.data,t.tagsLoaded=!0,t.tags.length?t.fetchTagFeed(t.tags[0]):t.isLoading=!1})).catch((function(e){t.isLoading=!1}))},fetchTagFeed:function(t){var e=this;this.isLoading=!0,axios.get("/api/v2/discover/tag",{params:{hashtag:t}}).then((function(t){e.feed=t.data.tags.map((function(t){return t.status})),e.isLoading=!1})).catch((function(t){e.isLoading=!1}))},toggleTag:function(t){this.tagIndex=t,this.fetchTagFeed(this.tags[t])},likeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1;var i=document.createElement("p");i.classList.add("text-left"),i.classList.add("mb-0"),i.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var o=document.createElement("div");o.appendChild(i),429===s.response.status&&swal({title:"Too many requests",content:o,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1}))},shareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(a){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(26535),i=s(74338),o=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":o.default,"post-header":i.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&!1===this.status.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},29022:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{s.r(e),s.d(e,{default:()=>l});var a=s(15235),i=s(80979),o=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.default,ProfileHoverCard:o.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modCWSuccess"),"success"),a.$emit("moderate","addcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modRemoveCWSuccess"),"success"),a.$emit("moderate","remcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","unlist"),swal(a.$t("common.success"),a.$t("menu.modUnlistSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","spammer"),swal(a.$t("common.success"),a.$t("menu.modMarkAsSpammerSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),i=s(48510),o=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":a.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(26535),i=s(22583);const o={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),i=s(48510),o=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},54965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(80979),i=s(20629);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},11188:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=s(20629),i=s(68296),o=s(76429);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function l(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:i.default,UpdateAvatar:o.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},66925:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},54025:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-my-hashtags-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("My Hashtags")]),t._v(" "),e("p",{staticClass:"font-default lead"},[t._v("Posts from hashtags you follow")]),t._v(" "),e("hr"),t._v(" "),t.isLoading?e("b-spinner"):t._e(),t._v(" "),t._l(t.feed,(function(s,a){return t.isLoading?t._e():e("status-card",{key:"ti1:"+a+":"+s.id,attrs:{profile:t.profile,status:s},on:{like:function(e){return t.likeStatus(a)},unlike:function(e){return t.unlikeStatus(a)},share:function(e){return t.shareStatus(a)},unshare:function(e){return t.unshareStatus(a)},menu:function(e){return t.openContextMenu(a)},"mod-tools":function(e){return t.handleModTools(a)},"likes-modal":function(e){return t.openLikesModal(a)},"shares-modal":function(e){return t.openSharesModal(a)},bookmark:function(e){return t.handleBookmark(a)}}})})),t._v(" "),!t.isLoading&&t.tagsLoaded&&0==t.feed.length?e("p",{staticClass:"lead"},[t._v("No hashtags found :(")]):t._e()],2),t._v(" "),e("div",{staticClass:"col-md-2 col-lg-3"},[e("div",{staticClass:"nav flex-column nav-pills font-default"},t._l(t.tags,(function(s,a){return e("a",{staticClass:"nav-link",class:{active:t.tagIndex==a},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTag(a)}}},[t._v("\n\t\t\t\t\t\t"+t._s(s)+"\n\t\t\t\t\t")])})),0)])])]):t._e(),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[]},67192:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},73023:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},18683:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},74212:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},96037:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},34108:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?e("span",[e("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):e("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},48087:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},30964:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},78061:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"align-self-start"},[e("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),e("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),e("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},49534:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".discover-my-hashtags-component .bg-stellar[data-v-84db52ca]{background:#7474bf;background:linear-gradient(90deg,#348ac7,#7474bf)}.discover-my-hashtags-component .font-default[data-v-84db52ca]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.7px}.discover-my-hashtags-component .active[data-v-84db52ca]{font-weight:700}",""]);const o=i},27101:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media (min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const o=i},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const o=i},6662:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const o=i},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const o=i},1644:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const o=i},195:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const o=i},4131:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(49534),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},89539:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(27101),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(95433),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},49011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(6662),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(93986),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},64111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(1644),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},7051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(195),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},33354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(20922),i=s(1809),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(53092);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"84db52ca",null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(76719),i=s(60378),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(41658);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(87661),i=s(1374),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(72682);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(18709),i=s(72214),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},76429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(5249),i=s(74778),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(15542),i=s(3646),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(39626);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78559),i=s(43354),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12430),i=s(23983),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(87669),i=s(59111),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(28476);const i=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(50282),i=s(6921),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(56253),i=s(40102),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12348),i=s(33012),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(73433),i=s(94747),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(23666),i=s(19651),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(70946),i=s(84021),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(30535),i=s(84185),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(62544);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},88231:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(7071),i=s(28058),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(11883);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},68296:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(48170),i=s(82834),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(89501);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},1809:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(2274),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(95217),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(89250),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(8671),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},74778:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(29022),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(19444),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(13143),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(3861),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(60658),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(36935),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(92606),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(51815),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(17810),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(2011),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(24489),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(54965),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},28058:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(11188),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},82834:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(66925),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},20922:(t,e,s)=>{s.r(e);var a=s(54025),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},76719:(t,e,s)=>{s.r(e);var a=s(67192),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},87661:(t,e,s)=>{s.r(e);var a=s(7231),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},18709:(t,e,s)=>{s.r(e);var a=s(97584),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5249:(t,e,s)=>{s.r(e);var a=s(73023),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},15542:(t,e,s)=>{s.r(e);var a=s(18683),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},78559:(t,e,s)=>{s.r(e);var a=s(54822),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},12430:(t,e,s)=>{s.r(e);var a=s(74212),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},87669:(t,e,s)=>{s.r(e);var a=s(96037),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},28476:(t,e,s)=>{s.r(e);var a=s(73954),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},50282:(t,e,s)=>{s.r(e);var a=s(92994),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},56253:(t,e,s)=>{s.r(e);var a=s(3103),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},12348:(t,e,s)=>{s.r(e);var a=s(34108),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},73433:(t,e,s)=>{s.r(e);var a=s(84027),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},23666:(t,e,s)=>{s.r(e);var a=s(93853),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},70946:(t,e,s)=>{s.r(e);var a=s(10454),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},30535:(t,e,s)=>{s.r(e);var a=s(48087),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},7071:(t,e,s)=>{s.r(e);var a=s(30964),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48170:(t,e,s)=>{s.r(e);var a=s(78061),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},53092:(t,e,s)=>{s.r(e);var a=s(4131),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},41658:(t,e,s)=>{s.r(e);var a=s(89539),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},72682:(t,e,s)=>{s.r(e);var a=s(2869),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},39626:(t,e,s)=>{s.r(e);var a=s(49011),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},62544:(t,e,s)=>{s.r(e);var a=s(51010),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11883:(t,e,s)=>{s.r(e);var a=s(64111),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},89501:(t,e,s)=>{s.r(e);var a=s(7051),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/home.chunk.02577ae670229a49.js b/public/js/home.chunk.02577ae670229a49.js new file mode 100644 index 000000000..7cacd1254 --- /dev/null +++ b/public/js/home.chunk.02577ae670229a49.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2470],{41015:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(42755),o=s(88231),i=s(78375),n=s(55197),r=(s(73459),s(66915));const l={props:{scope:{type:String,default:"home"}},components:{drawer:a.default,sidebar:o.default,timeline:n.default,rightbar:i.default,"story-carousel":r.default},data:function(){return{isLoaded:!1,profile:void 0,recommended:[],trending:[],storiesEnabled:!1,shouldRefresh:!1}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){var t,e,s;this.profile=window._sharedData.user,this.isLoaded=!0,this.storiesEnabled=!(null===(t=window.App)||void 0===t||null===(e=t.config)||void 0===e||null===(s=e.features)||void 0===s||!s.hasOwnProperty("stories"))&&window.App.config.features.stories},updateProfile:function(t){this.profile=Object.assign(this.profile,t)}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(26535),o=s(74338),i=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":i.default,"post-header":o.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&!1===this.status.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},29022:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{s.r(e),s.d(e,{default:()=>a});const a={props:{small:{type:Boolean,default:!1}}}},40744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(22583);const o={props:{profile:{type:Object}},components:{"profile-card":a.default},data:function(){return{popularAccounts:[],newlyFollowed:0}},mounted:function(){this.fetchPopularAccounts()},methods:{fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/follow").then((function(t){e.newlyFollowed++,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count+1})}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/unfollow").then((function(t){e.newlyFollowed--,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count-1})}))}}}},19444:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(15235),o=s(80979),i=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:o.default,ProfileHoverCard:i.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(80979);const o={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(19755);const o={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,o=(t.account.username,t.id,""),i=this;switch(e){case"addcw":o=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modCWSuccess"),"success"),a.$emit("moderate","addcw"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"remcw":o=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modRemoveCWSuccess"),"success"),a.$emit("moderate","remcw"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"unlist":o=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","unlist"),swal(a.$t("common.success"),a.$t("menu.modUnlistSuccess"),"success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"spammer":o=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","spammer"),swal(a.$t("common.success"),a.$t("menu.modMarkAsSpammerSuccess"),"success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),o=s(48510),i=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":o.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(99347);const o={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(22583);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":a.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(26535),o=s(22583);const i={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),o=s(48510),i=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":o.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},54965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(80979),o=s(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 s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==i(a))return a;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:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},5540:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={components:{notifications:s(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=s(20629),o=s(68296),i=s(76429);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function l(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:o.default,UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},71753:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{profile:{type:Object}},data:function(){return{canShow:!1,stories:[]}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){e.data&&e.data.length&&(t.stories=e.data,t.canShow=!0)}))}}}},66925:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(73128),o=s(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 s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s{s.r(e),s.d(e,{default:()=>m});var a=s(45836),o=s(99247),i=s(78423),n=s(8829),r=s(5327),l=s(31823),c=s(21917),d=s(57166),u=s(44898);function p(t){return function(t){if(Array.isArray(t))return f(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 f(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return f(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 f(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s0&&void 0!==arguments[0]&&arguments[0],s="/api/pixelfed/v1/timelines/".concat(this.getScope());axios.get(s,{params:{max_id:this.max_id,limit:6}}).then((function(e){var s=e.data.map((function(e){return e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]),e.id}));t.isLoaded=!0,0!=e.data.length&&(t.ids=s,t.max_id=Math.min.apply(Math,p(s)),t.feed=e.data,6!==e.data.length&&(t.canLoadMore=!1,t.showLoadMore=!0))})).then((function(){e&&t.$nextTick((function(){window.scrollTo({top:0,left:0,behavior:"smooth"}),t.$emit("refreshed")}))}))},enterIntersect:function(){var t=this;if(!this.isFetchingMore){this.isFetchingMore=!0;var e="/api/pixelfed/v1/timelines/".concat(this.getScope());axios.get(e,{params:{max_id:this.max_id,limit:6}}).then((function(e){e.data.length||(t.endFeedReached=!0,t.canLoadMore=!1,t.isFetchingMore=!1),setTimeout((function(){e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.max_id>e.id&&(t.max_id=e.id),t.ids.push(e.id),t.feed.push(e),e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]))})),t.isFetchingMore=!1}),100)}))}},tryToLoadMore:function(){var t=this;this.loadMoreAttempts++,this.loadMoreAttempts>=3&&(this.showLoadMore=!1),this.showLoadMore=!1,this.canLoadMore=!0,this.loadMoreTimeout=setTimeout((function(){t.canLoadMore=!1,t.showLoadMore=!0}),5e3)},likeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1;var o=document.createElement("p");o.classList.add("text-left"),o.classList.add("mb-0"),o.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var i=document.createElement("div");i.appendChild(o),429===s.response.status&&swal({title:"Too many requests",content:i,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},handleModTools:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.openModMenu()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(a){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count+1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1})).catch((function(s){swal("Oops!","An error occured when attempting to follow this account.","error"),e.feed[t].relationship.following=!1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].relationship.following=!0}))},updateProfile:function(t){this.$emit("update-profile",t)},handleRefresh:function(){var t=this;this.isLoaded=!1,this.feed=[],this.ids=[],this.max_id=0,this.canLoadMore=!0,this.showLoadMore=!1,this.loadMoreTimeout=void 0,this.loadMoreAttempts=0,this.isFetchingMore=!1,this.endFeedReached=!1,this.postIndex=0,this.showMenu=!1,this.showLikesModal=!1,this.likesModalPost={},this.showReportModal=!1,this.reportedStatus={},this.reportedStatusId=0,this.showSharesModal=!1,this.sharesModalPost={},this.$nextTick((function(){t.fetchTimeline(!0)}))}},watch:{refresh:"handleRefresh"},beforeDestroy:function(){clearTimeout(this.loadMoreTimeout)}}},35842:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile},on:{refresh:function(e){t.shouldRefresh=!0}}})],1),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-6 px-0"},[t.storiesEnabled?e("story-carousel",{attrs:{profile:t.profile}}):t._e(),t._v(" "),e("timeline",{key:t.scope,attrs:{profile:t.profile,scope:t.scope,refresh:t.shouldRefresh},on:{"update-profile":t.updateProfile,refreshed:function(e){t.shouldRefresh=!1}}})],1),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar",{staticClass:"sticky-top sidebar"})],1)]),t._v(" "),e("drawer")],1):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[e("b-spinner")],1)])},o=[]},41262:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),e("div",{staticClass:"ph-col-6 big"})]),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"ph-picture"}),t._v(" "),e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12 big"}),t._v(" "),e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])}]},67192:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},o=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},o=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},o=[]},73023:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},o=[]},32770:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("img",{staticClass:"img-fluid",staticStyle:{"max-height":"300px",opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("This feed is empty")])])}]},50554:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},o=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},78580:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-onboarding"},[e("div",{staticClass:"card card-body shadow-sm mb-3 p-5",staticStyle:{"border-radius":"15px"}},[e("h1",{staticClass:"text-center mb-4"},[t._v("✨ "+t._s(t.$t("timeline.onboarding.welcome")))]),t._v(" "),e("p",{staticClass:"text-center mb-3",staticStyle:{"font-size":"22px"}},[t._v("\n\t\t\t"+t._s(t.$t("timeline.onboarding.thisIsYourHomeFeed"))+"\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v(t._s(t.$t("timeline.onboarding.letUsHelpYouFind")))]),t._v(" "),t.newlyFollowed?e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-primary btn-lg primary font-weight-bold rounded-pill px-4",attrs:{href:"/i/web",onclick:"location.reload()"}},[t._v("\n\t\t\t\t"+t._s(t.$t("timeline.onboarding.refreshFeed"))+"\n\t\t\t")])]):t._e()]),t._v(" "),e("div",{staticClass:"row"},t._l(t.popularAccounts,(function(s,a){return e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card shadow-sm border-0 rounded-px"},[e("div",{staticClass:"card-body p-2"},[e("profile-card",{key:"pfc"+a,staticClass:"w-100",attrs:{profile:s},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)])])})),0)])},o=[]},18683:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,o){return e("div",{on:{click:function(e){return t.lightbox(s,o)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[o].blurhash,src:t.getMediaSource(s,o)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},o=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},o=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},74212:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},o=[]},86251:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowCaption=s.concat([null])):i>-1&&(t.ctxEmbedShowCaption=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowLikes=s.concat([null])):i>-1&&(t.ctxEmbedShowLikes=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedCompactMode=s.concat([null])):i>-1&&(t.ctxEmbedCompactMode=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},o=[]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},34108:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?e("span",[e("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):e("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},o=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},o=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},o=[]},48087:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]},20832:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},o=[]},30964:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},o=[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"})])}]},61451:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-carousel-component"},[t.canShow?e("div",{staticClass:"d-flex pb-2",staticStyle:{"overflow-y":"auto","z-index":"3"}},[e("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 text-dark text-decoration-none",staticStyle:{"max-width":"120px"},attrs:{href:"/i/stories/new"}},[e("div",{staticClass:"story-wrapper text-white shadow-sm d-flex flex-column align-items-center justify-content-between mb-3",staticStyle:{width:"100%",height:"200px","border-radius":"15px"}},[e("p",{staticClass:"mb-0"}),t._v(" "),t._m(0),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("story.add")))])])]),t._v(" "),t._l(t.stories,(function(s,a){return e("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 story",staticStyle:{"max-width":"120px"},attrs:{href:s.url}},[s.latest&&"photo"==s.latest.type?e("div",{staticClass:"shadow-sm story-wrapper",style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url(".concat(s.latest.preview_url,")"),backgroundSize:"cover",backgroundPosition:"center"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t")])])]):e("div",{staticClass:"shadow-sm story-wrapper"},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t")])])])])}))],2):t._e()])},o=[function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fal fa-plus-circle fa-2x"})])}]},78061:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},o=[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")])])}]},51948:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,a){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},o=[]},91036:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-section-component"},[t.isLoaded?e("div",[t._l(t.feed,(function(s,a){return e("status",{key:"pf_feed:"+s.id+a,attrs:{status:s,profile:t.profile},on:{like:function(e){return t.likeStatus(a)},unlike:function(e){return t.unlikeStatus(a)},share:function(e){return t.shareStatus(a)},unshare:function(e){return t.unshareStatus(a)},menu:function(e){return t.openContextMenu(a)},"counter-change":function(e){return t.counterChange(a,e)},"likes-modal":function(e){return t.openLikesModal(a)},"shares-modal":function(e){return t.openSharesModal(a)},follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport,bookmark:function(e){return t.handleBookmark(a)},"mod-tools":function(e){return t.handleModTools(a)}}})})),t._v(" "),t.showLoadMore?e("div",{staticClass:"text-center"},[e("button",{staticClass:"btn btn-primary rounded-pill font-weight-bold",on:{click:t.tryToLoadMore}},[t._v("\n\t\t\t\tLoad more\n\t\t\t")])]):t._e(),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e(),t._v(" "),!t.isLoaded&&t.feed.length&&t.endFeedReached?e("div",{staticStyle:{"margin-bottom":"50vh"}},[t._m(0)]):t._e(),t._v(" "),"home"!=t.scope||t.feed.length?t._e():e("timeline-onboarding",{attrs:{profile:t.profile},on:{"update-profile":t.updateProfile}}),t._v(" "),t.isLoaded&&"home"!==t.scope&&!t.feed.length?e("empty-timeline"):t._e()],2):e("div",[e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder")],1),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]},12959:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".avatar[data-v-65d7313c]{border-radius:15px}.username[data-v-65d7313c]{margin-bottom:-6px}.btn-white[data-v-65d7313c]{background-color:#fff;border:1px solid #f3f4f6}.sidebar[data-v-65d7313c]{top:90px}",""]);const i=o},27101:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media (min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const i=o},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const i=o},21523:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".timeline-onboarding .profile-hover-card-inner{width:100%}.timeline-onboarding .profile-hover-card-inner .d-flex{max-width:100%!important}",""]);const i=o},6662:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const i=o},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const i=o},17738:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const i=o},1644:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const i=o},57059:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".story-carousel-component .story-wrapper{background:#b24592;background:linear-gradient(90deg,#b24592,#f15f79);border-radius:15px;display:block;height:200px;margin-bottom:1rem;position:relative;width:100%}.story-carousel-component .story-wrapper .username{color:#fff}.story-carousel-component .story-wrapper .avatar{border-radius:6px;margin-bottom:5px}",""]);const i=o},195:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const i=o},76812:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const i=o},13319:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(12959),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},89539:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(27101),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(95433),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},17378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(21523),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},49011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(6662),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(93986),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},92341:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(17738),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},64111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(1644),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},41874:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(57059),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},7051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(195),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},47781:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(76812),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},98489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(4398),o=s(67828),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(24010);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,"65d7313c",null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(8056);const o=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(76719),o=s(60378),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(41658);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(87661),o=s(1374),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(72682);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(18709),o=s(72214),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},76429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(5249),o=s(74778),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57166:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(63254);const o=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},73128:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(22356),o=s(163),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},44898:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(80229),o=s(77733),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(53042);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(15542),o=s(3646),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(39626);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78559),o=s(43354),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12430),o=s(23983),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(80360),o=s(59111),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(28476);const o=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(50282),o=s(6921),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(56253),o=s(40102),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12348),o=s(33012),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(73433),o=s(94747),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(23666),o=s(19651),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(70946),o=s(84021),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(30535),o=s(84185),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(62544);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},78375:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(79325),o=s(2678),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(86965);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(7071),o=s(28058),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(11883);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},66915:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(22726),o=s(98626),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(42474);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},68296:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(48170),o=s(82834),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(89501);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},73459:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(72362),o=s(67476),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(75574);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},55197:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(77870),o=s(2118),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},67828:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(41015),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(95217),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(89250),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(8671),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},74778:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(29022),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},163:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(54076),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},77733:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(40744),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(19444),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(13143),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(3861),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(60658),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(36935),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(92606),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(51815),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(17810),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(2011),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(24489),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(54965),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},2678:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(5540),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},28058:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(11188),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},98626:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(71753),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},82834:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(66925),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},67476:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(43762),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},2118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(8127),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},4398:(t,e,s)=>{s.r(e);var a=s(35842),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},8056:(t,e,s)=>{s.r(e);var a=s(41262),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},76719:(t,e,s)=>{s.r(e);var a=s(67192),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},87661:(t,e,s)=>{s.r(e);var a=s(7231),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},18709:(t,e,s)=>{s.r(e);var a=s(97584),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},5249:(t,e,s)=>{s.r(e);var a=s(73023),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},63254:(t,e,s)=>{s.r(e);var a=s(32770),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},22356:(t,e,s)=>{s.r(e);var a=s(50554),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},80229:(t,e,s)=>{s.r(e);var a=s(78580),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},15542:(t,e,s)=>{s.r(e);var a=s(18683),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},78559:(t,e,s)=>{s.r(e);var a=s(54822),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},12430:(t,e,s)=>{s.r(e);var a=s(74212),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},80360:(t,e,s)=>{s.r(e);var a=s(86251),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},28476:(t,e,s)=>{s.r(e);var a=s(73954),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},50282:(t,e,s)=>{s.r(e);var a=s(92994),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},56253:(t,e,s)=>{s.r(e);var a=s(3103),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},12348:(t,e,s)=>{s.r(e);var a=s(34108),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},73433:(t,e,s)=>{s.r(e);var a=s(84027),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},23666:(t,e,s)=>{s.r(e);var a=s(93853),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},70946:(t,e,s)=>{s.r(e);var a=s(10454),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},30535:(t,e,s)=>{s.r(e);var a=s(48087),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},79325:(t,e,s)=>{s.r(e);var a=s(20832),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},7071:(t,e,s)=>{s.r(e);var a=s(30964),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},22726:(t,e,s)=>{s.r(e);var a=s(61451),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},48170:(t,e,s)=>{s.r(e);var a=s(78061),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},72362:(t,e,s)=>{s.r(e);var a=s(51948),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},77870:(t,e,s)=>{s.r(e);var a=s(91036),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},24010:(t,e,s)=>{s.r(e);var a=s(13319),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},41658:(t,e,s)=>{s.r(e);var a=s(89539),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},72682:(t,e,s)=>{s.r(e);var a=s(2869),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},53042:(t,e,s)=>{s.r(e);var a=s(17378),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},39626:(t,e,s)=>{s.r(e);var a=s(49011),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},62544:(t,e,s)=>{s.r(e);var a=s(51010),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},86965:(t,e,s)=>{s.r(e);var a=s(92341),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},11883:(t,e,s)=>{s.r(e);var a=s(64111),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},42474:(t,e,s)=>{s.r(e);var a=s(41874),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},89501:(t,e,s)=>{s.r(e);var a=s(7051),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},75574:(t,e,s)=>{s.r(e);var a=s(47781),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)}}]); \ No newline at end of file diff --git a/public/js/home.chunk.4608ae7f0b7a9c08.js b/public/js/home.chunk.4608ae7f0b7a9c08.js deleted file mode 100644 index d9d502935..000000000 --- a/public/js/home.chunk.4608ae7f0b7a9c08.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2470],{41015:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(42755),o=s(88231),i=s(78375),n=s(55197),r=(s(73459),s(66915));const l={props:{scope:{type:String,default:"home"}},components:{drawer:a.default,sidebar:o.default,timeline:n.default,rightbar:i.default,"story-carousel":r.default},data:function(){return{isLoaded:!1,profile:void 0,recommended:[],trending:[],storiesEnabled:!1,shouldRefresh:!1}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){var t,e,s;this.profile=window._sharedData.user,this.isLoaded=!0,this.storiesEnabled=!(null===(t=window.App)||void 0===t||null===(e=t.config)||void 0===e||null===(s=e.features)||void 0===s||!s.hasOwnProperty("stories"))&&window.App.config.features.stories},updateProfile:function(t){this.profile=Object.assign(this.profile,t)}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(26535),o=s(74338),i=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":i.default,"post-header":o.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&!1===this.status.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},29022:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{s.r(e),s.d(e,{default:()=>a});const a={props:{small:{type:Boolean,default:!1}}}},40744:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(22583);const o={props:{profile:{type:Object}},components:{"profile-card":a.default},data:function(){return{popularAccounts:[],newlyFollowed:0}},mounted:function(){this.fetchPopularAccounts()},methods:{fetchPopularAccounts:function(){var t=this;axios.get("/api/pixelfed/discover/accounts/popular").then((function(e){t.popularAccounts=e.data}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/follow").then((function(t){e.newlyFollowed++,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count+1})}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.popularAccounts[t].id+"/unfollow").then((function(t){e.newlyFollowed--,e.$store.commit("updateRelationship",[t.data]),e.$emit("update-profile",{following_count:e.profile.following_count-1})}))}}}},19444:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(15235),o=s(80979),i=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:o.default,ProfileHoverCard:i.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(80979);const o={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(19755);const o={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,o=(t.account.username,t.id,""),i=this;switch(e){case"addcw":o=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modCWSuccess"),"success"),a.$emit("moderate","addcw"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"remcw":o=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modRemoveCWSuccess"),"success"),a.$emit("moderate","remcw"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"unlist":o=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","unlist"),swal(a.$t("common.success"),a.$t("menu.modUnlistSuccess"),"success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"spammer":o=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","spammer"),swal(a.$t("common.success"),a.$t("menu.modMarkAsSpammerSuccess"),"success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),o=s(48510),i=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":o.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(99347);const o={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(22583);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":a.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(26535),o=s(22583);const i={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":o.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),o=s(48510),i=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":o.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},54965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(80979),o=s(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 s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==i(a))return a;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:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},5540:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={components:{notifications:s(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=s(20629),o=s(68296),i=s(76429);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function l(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:o.default,UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},71753:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{profile:{type:Object}},data:function(){return{canShow:!1,stories:[]}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){e.data&&e.data.length&&(t.stories=e.data,t.canShow=!0)}))}}}},66925:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(73128),o=s(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 s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s{s.r(e),s.d(e,{default:()=>h});var a=s(45836),o=s(99247),i=s(78423),n=s(8829),r=s(5327),l=s(31823),c=s(21917),d=s(57166),u=s(44898);function p(t){return function(t){if(Array.isArray(t))return f(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 f(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return f(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 f(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s0&&void 0!==arguments[0]&&arguments[0],s="/api/pixelfed/v1/timelines/".concat(this.getScope());axios.get(s,{params:{max_id:this.max_id,limit:6}}).then((function(e){var s=e.data.map((function(e){return e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]),e.id}));t.isLoaded=!0,0!=e.data.length&&(t.ids=s,t.max_id=Math.min.apply(Math,p(s)),t.feed=e.data,6!==e.data.length&&(t.canLoadMore=!1,t.showLoadMore=!0))})).then((function(){e&&t.$nextTick((function(){window.scrollTo({top:0,left:0,behavior:"smooth"}),t.$emit("refreshed")}))}))},enterIntersect:function(){var t=this;if(!this.isFetchingMore){this.isFetchingMore=!0;var e="/api/pixelfed/v1/timelines/".concat(this.getScope());axios.get(e,{params:{max_id:this.max_id,limit:6}}).then((function(e){e.data.length||(t.endFeedReached=!0,t.canLoadMore=!1,t.isFetchingMore=!1),setTimeout((function(){e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.max_id>e.id&&(t.max_id=e.id),t.ids.push(e.id),t.feed.push(e),e&&e.hasOwnProperty("relationship")&&t.$store.commit("updateRelationship",[e.relationship]))})),t.isFetchingMore=!1}),100)}))}},tryToLoadMore:function(){var t=this;this.loadMoreAttempts++,this.loadMoreAttempts>=3&&(this.showLoadMore=!1),this.showLoadMore=!1,this.canLoadMore=!0,this.loadMoreTimeout=setTimeout((function(){t.canLoadMore=!1,t.showLoadMore=!0}),5e3)},likeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1;var o=document.createElement("p");o.classList.add("text-left"),o.classList.add("mb-0"),o.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var i=document.createElement("div");i.appendChild(o),429===s.response.status&&swal({title:"Too many requests",content:i,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},handleModTools:function(t){var e=this;this.postIndex=t,this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.openModMenu()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},deletePost:function(){this.feed.splice(this.postIndex,1)},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},handleBookmark:function(t){var e=this,s=this.feed[t];axios.post("/i/bookmark",{item:s.id}).then((function(a){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count+1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1})).catch((function(s){swal("Oops!","An error occured when attempting to follow this account.","error"),e.feed[t].relationship.following=!1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].relationship.following=!0}))},updateProfile:function(t){this.$emit("update-profile",t)},handleRefresh:function(){var t=this;this.isLoaded=!1,this.feed=[],this.ids=[],this.max_id=0,this.canLoadMore=!0,this.showLoadMore=!1,this.loadMoreTimeout=void 0,this.loadMoreAttempts=0,this.isFetchingMore=!1,this.endFeedReached=!1,this.postIndex=0,this.showMenu=!1,this.showLikesModal=!1,this.likesModalPost={},this.showReportModal=!1,this.reportedStatus={},this.reportedStatusId=0,this.showSharesModal=!1,this.sharesModalPost={},this.$nextTick((function(){t.fetchTimeline(!0)}))}},watch:{refresh:"handleRefresh"},beforeDestroy:function(){clearTimeout(this.loadMoreTimeout)}}},35842:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile},on:{refresh:function(e){t.shouldRefresh=!0}}})],1),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-6 px-0"},[t.storiesEnabled?e("story-carousel",{attrs:{profile:t.profile}}):t._e(),t._v(" "),e("timeline",{key:t.scope,attrs:{profile:t.profile,scope:t.scope,refresh:t.shouldRefresh},on:{"update-profile":t.updateProfile,refreshed:function(e){t.shouldRefresh=!1}}})],1),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar",{staticClass:"sticky-top sidebar"})],1)]),t._v(" "),e("drawer")],1):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[e("b-spinner")],1)])},o=[]},41262:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),e("div",{staticClass:"ph-col-6 big"})]),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"ph-picture"}),t._v(" "),e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12 big"}),t._v(" "),e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])}]},67192:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},o=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},o=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},o=[]},73023:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},o=[]},32770:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("img",{staticClass:"img-fluid",staticStyle:{"max-height":"300px",opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("This feed is empty")])])}]},50554:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},o=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},78580:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-onboarding"},[e("div",{staticClass:"card card-body shadow-sm mb-3 p-5",staticStyle:{"border-radius":"15px"}},[e("h1",{staticClass:"text-center mb-4"},[t._v("✨ "+t._s(t.$t("timeline.onboarding.welcome")))]),t._v(" "),e("p",{staticClass:"text-center mb-3",staticStyle:{"font-size":"22px"}},[t._v("\n\t\t\t"+t._s(t.$t("timeline.onboarding.thisIsYourHomeFeed"))+"\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v(t._s(t.$t("timeline.onboarding.letUsHelpYouFind")))]),t._v(" "),t.newlyFollowed?e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-primary btn-lg primary font-weight-bold rounded-pill px-4",attrs:{href:"/i/web",onclick:"location.reload()"}},[t._v("\n\t\t\t\t"+t._s(t.$t("timeline.onboarding.refreshFeed"))+"\n\t\t\t")])]):t._e()]),t._v(" "),e("div",{staticClass:"row"},t._l(t.popularAccounts,(function(s,a){return e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card shadow-sm border-0 rounded-px"},[e("div",{staticClass:"card-body p-2"},[e("profile-card",{key:"pfc"+a,staticClass:"w-100",attrs:{profile:s},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)])])})),0)])},o=[]},18683:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,o){return e("div",{on:{click:function(e){return t.lightbox(s,o)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[o].blurhash,src:t.getMediaSource(s,o)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},o=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},o=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},74212:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},o=[]},96037:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowCaption=s.concat([null])):i>-1&&(t.ctxEmbedShowCaption=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowLikes=s.concat([null])):i>-1&&(t.ctxEmbedShowLikes=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedCompactMode=s.concat([null])):i>-1&&(t.ctxEmbedCompactMode=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},o=[]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},34108:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?e("span",[e("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):e("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},o=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},o=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},o=[]},48087:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]},20832:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},o=[]},30964:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},o=[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"})])}]},61451:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-carousel-component"},[t.canShow?e("div",{staticClass:"d-flex pb-2",staticStyle:{"overflow-y":"auto","z-index":"3"}},[e("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 text-dark text-decoration-none",staticStyle:{"max-width":"120px"},attrs:{href:"/i/stories/new"}},[e("div",{staticClass:"story-wrapper text-white shadow-sm d-flex flex-column align-items-center justify-content-between mb-3",staticStyle:{width:"100%",height:"200px","border-radius":"15px"}},[e("p",{staticClass:"mb-0"}),t._v(" "),t._m(0),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("story.add")))])])]),t._v(" "),t._l(t.stories,(function(s,a){return e("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 story",staticStyle:{"max-width":"120px"},attrs:{href:s.url}},[s.latest&&"photo"==s.latest.type?e("div",{staticClass:"shadow-sm story-wrapper",style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url(".concat(s.latest.preview_url,")"),backgroundSize:"cover",backgroundPosition:"center"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t")])])]):e("div",{staticClass:"shadow-sm story-wrapper"},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t")])])])])}))],2):t._e()])},o=[function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fal fa-plus-circle fa-2x"})])}]},78061:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},o=[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")])])}]},51948:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,a){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},o=[]},91036:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-section-component"},[t.isLoaded?e("div",[t._l(t.feed,(function(s,a){return e("status",{key:"pf_feed:"+s.id+a,attrs:{status:s,profile:t.profile},on:{like:function(e){return t.likeStatus(a)},unlike:function(e){return t.unlikeStatus(a)},share:function(e){return t.shareStatus(a)},unshare:function(e){return t.unshareStatus(a)},menu:function(e){return t.openContextMenu(a)},"counter-change":function(e){return t.counterChange(a,e)},"likes-modal":function(e){return t.openLikesModal(a)},"shares-modal":function(e){return t.openSharesModal(a)},follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport,bookmark:function(e){return t.handleBookmark(a)},"mod-tools":function(e){return t.handleModTools(a)}}})})),t._v(" "),t.showLoadMore?e("div",{staticClass:"text-center"},[e("button",{staticClass:"btn btn-primary rounded-pill font-weight-bold",on:{click:t.tryToLoadMore}},[t._v("\n\t\t\t\tLoad more\n\t\t\t")])]):t._e(),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e(),t._v(" "),!t.isLoaded&&t.feed.length&&t.endFeedReached?e("div",{staticStyle:{"margin-bottom":"50vh"}},[t._m(0)]):t._e(),t._v(" "),"home"!=t.scope||t.feed.length?t._e():e("timeline-onboarding",{attrs:{profile:t.profile},on:{"update-profile":t.updateProfile}}),t._v(" "),t.isLoaded&&"home"!==t.scope&&!t.feed.length?e("empty-timeline"):t._e()],2):e("div",[e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder")],1),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]},12959:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".avatar[data-v-65d7313c]{border-radius:15px}.username[data-v-65d7313c]{margin-bottom:-6px}.btn-white[data-v-65d7313c]{background-color:#fff;border:1px solid #f3f4f6}.sidebar[data-v-65d7313c]{top:90px}",""]);const i=o},27101:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media (min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const i=o},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const i=o},21523:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".timeline-onboarding .profile-hover-card-inner{width:100%}.timeline-onboarding .profile-hover-card-inner .d-flex{max-width:100%!important}",""]);const i=o},6662:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const i=o},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const i=o},17738:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const i=o},1644:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const i=o},57059:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".story-carousel-component .story-wrapper{background:#b24592;background:linear-gradient(90deg,#b24592,#f15f79);border-radius:15px;display:block;height:200px;margin-bottom:1rem;position:relative;width:100%}.story-carousel-component .story-wrapper .username{color:#fff}.story-carousel-component .story-wrapper .avatar{border-radius:6px;margin-bottom:5px}",""]);const i=o},195:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const i=o},76812:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(1519),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const i=o},13319:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(12959),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},89539:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(27101),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(95433),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},17378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(21523),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},49011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(6662),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(93986),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},92341:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(17738),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},64111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(1644),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},41874:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(57059),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},7051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(195),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},47781:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),o=s.n(a),i=s(76812),n={insert:"head",singleton:!1};o()(i.default,n);const r=i.default.locals||{}},98489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(4398),o=s(67828),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(24010);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,"65d7313c",null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(8056);const o=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(76719),o=s(60378),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(41658);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(87661),o=s(1374),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(72682);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(18709),o=s(72214),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},76429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(5249),o=s(74778),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57166:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(63254);const o=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},73128:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(22356),o=s(163),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},44898:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(80229),o=s(77733),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(53042);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(15542),o=s(3646),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(39626);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78559),o=s(43354),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12430),o=s(23983),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(87669),o=s(59111),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(28476);const o=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(50282),o=s(6921),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(56253),o=s(40102),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12348),o=s(33012),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(73433),o=s(94747),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(23666),o=s(19651),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(70946),o=s(84021),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(30535),o=s(84185),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(62544);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},78375:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(79325),o=s(2678),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(86965);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(7071),o=s(28058),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(11883);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},66915:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(22726),o=s(98626),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(42474);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},68296:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(48170),o=s(82834),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(89501);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},73459:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(72362),o=s(67476),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(75574);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},55197:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(77870),o=s(2118),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=(0,s(51900).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},67828:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(41015),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(95217),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(89250),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(8671),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},74778:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(29022),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},163:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(54076),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},77733:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(40744),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(19444),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(13143),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(3861),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(60658),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(36935),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(92606),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(51815),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(17810),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(2011),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(24489),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(54965),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},2678:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(5540),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},28058:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(11188),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},98626:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(71753),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},82834:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(66925),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},67476:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(43762),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},2118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(8127),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},4398:(t,e,s)=>{s.r(e);var a=s(35842),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},8056:(t,e,s)=>{s.r(e);var a=s(41262),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},76719:(t,e,s)=>{s.r(e);var a=s(67192),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},87661:(t,e,s)=>{s.r(e);var a=s(7231),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},18709:(t,e,s)=>{s.r(e);var a=s(97584),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},5249:(t,e,s)=>{s.r(e);var a=s(73023),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},63254:(t,e,s)=>{s.r(e);var a=s(32770),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},22356:(t,e,s)=>{s.r(e);var a=s(50554),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},80229:(t,e,s)=>{s.r(e);var a=s(78580),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},15542:(t,e,s)=>{s.r(e);var a=s(18683),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},78559:(t,e,s)=>{s.r(e);var a=s(54822),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},12430:(t,e,s)=>{s.r(e);var a=s(74212),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},87669:(t,e,s)=>{s.r(e);var a=s(96037),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},28476:(t,e,s)=>{s.r(e);var a=s(73954),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},50282:(t,e,s)=>{s.r(e);var a=s(92994),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},56253:(t,e,s)=>{s.r(e);var a=s(3103),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},12348:(t,e,s)=>{s.r(e);var a=s(34108),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},73433:(t,e,s)=>{s.r(e);var a=s(84027),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},23666:(t,e,s)=>{s.r(e);var a=s(93853),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},70946:(t,e,s)=>{s.r(e);var a=s(10454),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},30535:(t,e,s)=>{s.r(e);var a=s(48087),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},79325:(t,e,s)=>{s.r(e);var a=s(20832),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},7071:(t,e,s)=>{s.r(e);var a=s(30964),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},22726:(t,e,s)=>{s.r(e);var a=s(61451),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},48170:(t,e,s)=>{s.r(e);var a=s(78061),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},72362:(t,e,s)=>{s.r(e);var a=s(51948),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},77870:(t,e,s)=>{s.r(e);var a=s(91036),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},24010:(t,e,s)=>{s.r(e);var a=s(13319),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},41658:(t,e,s)=>{s.r(e);var a=s(89539),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},72682:(t,e,s)=>{s.r(e);var a=s(2869),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},53042:(t,e,s)=>{s.r(e);var a=s(17378),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},39626:(t,e,s)=>{s.r(e);var a=s(49011),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},62544:(t,e,s)=>{s.r(e);var a=s(51010),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},86965:(t,e,s)=>{s.r(e);var a=s(92341),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},11883:(t,e,s)=>{s.r(e);var a=s(64111),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},42474:(t,e,s)=>{s.r(e);var a=s(41874),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},89501:(t,e,s)=>{s.r(e);var a=s(7051),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},75574:(t,e,s)=>{s.r(e);var a=s(47781),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)}}]); \ No newline at end of file diff --git a/public/js/manifest.js b/public/js/manifest.js index 711af5325..3d446e1db 100644 --- a/public/js/manifest.js +++ b/public/js/manifest.js @@ -1 +1 @@ -(()=>{"use strict";var e,r,t,n={},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return n[e].call(t.exports,t,t.exports,a),t.loaded=!0,t.exports}a.m=n,e=[],a.O=(r,t,n,o)=>{if(!t){var c=1/0;for(l=0;l=o)&&Object.keys(a.O).every((e=>a.O[e](t[i])))?t.splice(i--,1):(d=!1,o0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[t,n,o]},a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((r,t)=>(a.f[t](e,r),r)),[])),a.u=e=>"js/"+{1084:"profile~followers.bundle",1983:"kb.bundle",2470:"home.chunk",2521:"about.bundle",2530:"discover~myhashtags.chunk",2586:"compose.chunk",2732:"dms~message.chunk",3351:"discover~settings.chunk",3365:"dms.chunk",3623:"discover~findfriends.chunk",4028:"error404.bundle",4509:"static~privacy.bundle",4958:"discover.chunk",4965:"discover~memories.chunk",5865:"post.chunk",6053:"notifications.chunk",6869:"profile.chunk",7004:"help.bundle",7019:"discover~hashtag.bundle",8021:"contact.bundle",8250:"i18n.bundle",8517:"daci.chunk",8600:"changelog.bundle",8625:"profile~following.bundle",8900:"discover~serverfeed.chunk",9144:"static~tos.bundle"}[e]+"."+{1084:"54e01681585449b4",1983:"275433a4dc3ffda8",2470:"4608ae7f0b7a9c08",2521:"bad10a127433fdef",2530:"e5c0ccc2d836cf5d",2586:"377e944cece35cfa",2732:"a69815bfbd4d4598",3351:"1e950f423cfffdee",3365:"4fb5b1ec270b18a1",3623:"bc529a26035305c1",4028:"8aa1c24f3ce999a6",4509:"26054b5ae4c0bed4",4958:"185909b64f3f8f1d",4965:"a2a2d7bc32632a7c",5865:"08ed66fc33eb3409",6053:"d0d53f16d9998dd2",6869:"c12c225ed4796ac4",7004:"bed48f9410486673",7019:"31c30c11f6e84825",8021:"14773b169db68356",8250:"d69fe365e8c72323",8517:"48177e534fb8cf13",8600:"099f13cf06b3200a",8625:"f9d69ec593f3d011",8900:"deb26bf532866578",9144:"478ba7e3a3536a1b"}[e]+".js",a.miniCssF=e=>({138:"css/spa",703:"css/admin",1242:"css/appdark",6170:"css/app",8737:"css/portfolio",9994:"css/landing"}[e]+".css"),a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="pixelfed:",a.l=(e,n,o,c)=>{if(r[e])r[e].push(n);else{var d,i;if(void 0!==o)for(var s=document.getElementsByTagName("script"),l=0;l{d.onerror=d.onload=null,clearTimeout(b);var o=r[e];if(delete r[e],d.parentNode&&d.parentNode.removeChild(d),o&&o.forEach((e=>e(n))),t)return t(n)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=u.bind(null,d.onerror),d.onload=u.bind(null,d.onload),i&&document.head.appendChild(d)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={8929:0,1242:0,6170:0,8737:0,703:0,9994:0,138:0};a.f.j=(r,t)=>{var n=a.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1242|138|6170|703|8737|8929|9994)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var c=a.p+a.u(r),d=new Error;a.l(c,(t=>{if(a.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;d.message="Loading chunk "+r+" failed.\n("+o+": "+c+")",d.name="ChunkLoadError",d.type=o,d.request=c,n[1](d)}}),"chunk-"+r,r)}},a.O.j=r=>0===e[r];var r=(r,t)=>{var n,o,[c,d,i]=t,s=0;if(c.some((r=>0!==e[r]))){for(n in d)a.o(d,n)&&(a.m[n]=d[n]);if(i)var l=i(a)}for(r&&r(t);s{"use strict";var e,r,t,n={},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return n[e].call(t.exports,t,t.exports,a),t.loaded=!0,t.exports}a.m=n,e=[],a.O=(r,t,n,o)=>{if(!t){var c=1/0;for(l=0;l=o)&&Object.keys(a.O).every((e=>a.O[e](t[i])))?t.splice(i--,1):(d=!1,o0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[t,n,o]},a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((r,t)=>(a.f[t](e,r),r)),[])),a.u=e=>"js/"+{1084:"profile~followers.bundle",1983:"kb.bundle",2470:"home.chunk",2521:"about.bundle",2530:"discover~myhashtags.chunk",2586:"compose.chunk",2732:"dms~message.chunk",3351:"discover~settings.chunk",3365:"dms.chunk",3623:"discover~findfriends.chunk",4028:"error404.bundle",4509:"static~privacy.bundle",4958:"discover.chunk",4965:"discover~memories.chunk",5865:"post.chunk",6053:"notifications.chunk",6869:"profile.chunk",7004:"help.bundle",7019:"discover~hashtag.bundle",8021:"contact.bundle",8250:"i18n.bundle",8517:"daci.chunk",8600:"changelog.bundle",8625:"profile~following.bundle",8900:"discover~serverfeed.chunk",9144:"static~tos.bundle"}[e]+"."+{1084:"54e01681585449b4",1983:"275433a4dc3ffda8",2470:"02577ae670229a49",2521:"bad10a127433fdef",2530:"e466a09b04298c01",2586:"377e944cece35cfa",2732:"a69815bfbd4d4598",3351:"1e950f423cfffdee",3365:"4fb5b1ec270b18a1",3623:"bc529a26035305c1",4028:"8aa1c24f3ce999a6",4509:"26054b5ae4c0bed4",4958:"185909b64f3f8f1d",4965:"a2a2d7bc32632a7c",5865:"bad88be5fc04f10b",6053:"ee310da155305164",6869:"d6cf0345664c2864",7004:"bed48f9410486673",7019:"31c30c11f6e84825",8021:"14773b169db68356",8250:"d69fe365e8c72323",8517:"48177e534fb8cf13",8600:"099f13cf06b3200a",8625:"f9d69ec593f3d011",8900:"deb26bf532866578",9144:"478ba7e3a3536a1b"}[e]+".js",a.miniCssF=e=>({138:"css/spa",703:"css/admin",1242:"css/appdark",6170:"css/app",8737:"css/portfolio",9994:"css/landing"}[e]+".css"),a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},t="pixelfed:",a.l=(e,n,o,c)=>{if(r[e])r[e].push(n);else{var d,i;if(void 0!==o)for(var s=document.getElementsByTagName("script"),l=0;l{d.onerror=d.onload=null,clearTimeout(b);var o=r[e];if(delete r[e],d.parentNode&&d.parentNode.removeChild(d),o&&o.forEach((e=>e(n))),t)return t(n)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=u.bind(null,d.onerror),d.onload=u.bind(null,d.onload),i&&document.head.appendChild(d)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.p="/",(()=>{var e={8929:0,1242:0,6170:0,8737:0,703:0,9994:0,138:0};a.f.j=(r,t)=>{var n=a.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1242|138|6170|703|8737|8929|9994)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var c=a.p+a.u(r),d=new Error;a.l(c,(t=>{if(a.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;d.message="Loading chunk "+r+" failed.\n("+o+": "+c+")",d.name="ChunkLoadError",d.type=o,d.request=c,n[1](d)}}),"chunk-"+r,r)}},a.O.j=r=>0===e[r];var r=(r,t)=>{var n,o,[c,d,i]=t,s=0;if(c.some((r=>0!==e[r]))){for(n in d)a.o(d,n)&&(a.m[n]=d[n]);if(i)var l=i(a)}for(r&&r(t);s{a.r(e),a.d(e,{default:()=>d});var i=a(42755),s=a(88231),n=a(18303),r=a(73128),o=a(78423);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,i=new Array(e);a10?0==this.filteredFeed.length&&(this.filteredEmpty=!0):isFinite(this.max_id)&&isFinite(this.filteredMaxId)?(this.filteredIsIntersecting=!0,axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.filteredMaxId,limit:40}}).then((function(e){var a,i=e.data.map((function(t){return t.id})),s=Math.min.apply(Math,l(i));s1&&void 0!==arguments[1]?arguments[1]:40;return _.truncate(t,{length:e})}}}},89250:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},29022:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,a){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var a=0;a{a.r(e),a.d(e,{default:()=>i});const i={props:{small:{type:Boolean,default:!1}}}},11188:(t,e,a)=>{a.r(e),a.d(e,{default:()=>c});var i=a(20629),s=a(68296),n=a(76429);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function l(t,e,a){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:s.default,UpdateAvatar:n.default},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return i.length?''.concat(i[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"}})}}}}},13315:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={props:{n:{type:Object}},data:function(){return{profile:window._sharedData.user}},methods:{truncate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return t.length<=e?t:t.slice(0,e)+"..."},timeAgo:function(t){var e=Date.parse(t),a=Math.floor((new Date-e)/1e3),i=Math.floor(a/31536e3);return i>=1?i+"y":(i=Math.floor(a/604800))>=1?i+"w":(i=Math.floor(a/86400))>=1?i+"d":(i=Math.floor(a/3600))>=1?i+"h":(i=Math.floor(a/60))>=1?i+"m":Math.floor(a)+"s"},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},followProfile:function(t){var e=this,a=t.account.id;axios.post("/i/follow",{item:a}).then((function(t){e.notifications.map((function(t){t.account.id===a&&(t.relationship.following=!0)}))})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},viewContext:function(t){switch(t.type){case"follow":return this.getProfileUrl(t.account);case"mention":return t.status.url;case"like":case"favourite":case"comment":return this.getPostUrl(t.status);case"tagged":return t.tagged.post_url;case"direct":return"/account/direct/t/"+t.account.id}return"/"},displayProfileUrl:function(t){return"/i/web/profile/".concat(t.id)},displayPostUrl:function(t){return"/i/web/post/".concat(t.id)},getProfileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},getPostUrl:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})}}}},66925:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},67605:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper notification-metro-component"},[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-9 col-lg-9 col-xl-5 offset-xl-1"},[0===t.tabIndex?[e("h1",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNotifications\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small mt-n2"},[t._v(" ")])]:10===t.tabIndex?[e("div",{staticClass:"d-flex align-items-center mb-3"},[e("a",{staticClass:"text-muted",staticStyle:{opacity:"0.3"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.tabIndex=0}}},[e("i",{staticClass:"far fa-chevron-circle-left fa-2x mr-3",attrs:{title:"Go back to notifications"}})]),t._v(" "),e("h1",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tFollow Requests\n\t\t\t\t\t\t")])])]:[e("h1",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\t"+t._s(t.tabs[t.tabIndex].name)+"\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-lighter mt-n2"},[t._v(t._s(t.tabs[t.tabIndex].description))])],t._v(" "),10!=t.tabIndex&&t.notificationsLoaded&&t.notifications.length?e("ul",{staticClass:"notification-filters nav nav-tabs nav-fill mb-3"},t._l(t.tabs,(function(a,i){return e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:t.tabIndex===i},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(i)}}},[e("i",{staticClass:"mr-1 nav-link-icon",class:[a.icon]}),t._v(" "),e("span",{staticClass:"d-none d-xl-inline-block"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t")])])])})),0):t._e(),t._v(" "),t.tabSwitching?e("div",[e("placeholder")],1):e("div",[0===t.tabIndex?e("div",[t.followRequests&&t.followRequests.hasOwnProperty("accounts")&&t.followRequests.accounts.length?e("div",{staticClass:"card card-body shadow-none border border-warning rounded-pill mb-3 py-2"},[e("div",{staticClass:"media align-items-center"},[e("i",{staticClass:"far fa-exclamation-circle mr-3 text-warning"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[e("strong",[t._v(t._s(t.followRequests.count)+" follow "+t._s(t.followRequests.count>1?"requests":"request"))])])]),t._v(" "),e("a",{staticClass:"ml-2 small d-flex font-weight-bold primary text-uppercase mb-0",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showFollowRequests()}}},[t._v("\n\t\t\t\t\t\t\t\t\tView"),e("span",{staticClass:"d-none d-md-block"},[t._v(" Follow Requests")])])])]):t._e(),t._v(" "),t.notificationsLoaded?e("div",[t._l(t.notifications,(function(t,a){return e("notification",{key:"notification:".concat(a,":").concat(t.id),attrs:{n:t}})})),t._v(" "),t.notifications&&t.notificationsLoaded&&!t.notifications.length?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10 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("notifications.noneFound")))])])])]):t._e(),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder")],1)],1):t._e()],2):e("div",[e("placeholder")],1)]):10===t.tabIndex?e("div",[t.followRequests&&t.followRequests.accounts&&t.followRequests.accounts.length?e("div",{staticClass:"list-group"},t._l(t.followRequests.accounts,(function(a,i){return e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"media align-items-center"},[e("router-link",{staticClass:"primary",attrs:{to:"/i/web/profile/".concat(a.account.id)}},[e("img",{staticClass:"rounded-lg shadow mr-3",attrs:{src:a.avatar,width:"80",height:"80",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body mr-3"},[e("p",{staticClass:"font-weight-bold mb-0 text-break",staticStyle:{"font-size":"17px"}},[e("router-link",{staticClass:"primary",attrs:{to:"/i/web/profile/".concat(a.account.id)}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(a.username)+"\n\t\t\t\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("p",{staticClass:"mb-1 text-muted text-break",staticStyle:{"font-size":"11px"}},[t._v(t._s(t.truncate(a.account.note_text,100)))]),t._v(" "),e("div",{staticClass:"d-flex text-lighter",staticStyle:{"font-size":"11px"}},[e("span",{staticClass:"mr-3"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.account.statuses_count))]),t._v(" "),e("span",[t._v("Posts")])]),t._v(" "),e("span",[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.account.followers_count))]),t._v(" "),e("span",[t._v("Followers")])])])]),t._v(" "),e("div",{staticClass:"d-flex flex-column d-md-block"},[e("button",{staticClass:"btn btn-outline-success py-1 btn-sm font-weight-bold rounded-pill mr-2 mb-1",on:{click:function(e){return e.preventDefault(),t.handleFollowRequest("accept",i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tAccept\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter py-1 btn-sm font-weight-bold rounded-pill mb-1",on:{click:function(e){return e.preventDefault(),t.handleFollowRequest("reject",i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tReject\n\t\t\t\t\t\t\t\t\t\t")])])],1)])})),0):t._e()]):e("div",[t.filteredLoaded?e("div",[t._m(0),t._v(" "),t.filteredFeed.length?e("div",t._l(t.filteredFeed,(function(t,a){return e("notification",{key:"notification:filtered:".concat(a,":").concat(t.id),attrs:{n:t}})})),1):e("div",[t.filteredEmpty?e("div",[e("p",{staticClass:"font-weight-bold"},[t._v("No results found")])]):e("placeholder")],1),t._v(" "),t.canLoadMoreFiltered?e("div",[e("intersect",{on:{enter:t.enterFilteredIntersect}},[e("placeholder")],1)],1):t._e()]):e("div",[e("placeholder")],1)])])],2)]),t._v(" "),e("drawer")],1):t._e()])},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body bg-transparent shadow-none border p-2 mb-3 rounded-pill text-lighter"},[e("div",{staticClass:"media align-items-center small"},[e("i",{staticClass:"far fa-exclamation-triangle mx-2"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Filtering results may not include older notifications")])])])])}]},7231:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},s=[]},73023:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},s=[]},50554:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},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"})])])}]},30964:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},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"})])}]},42620:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"media mb-2 align-items-center px-3 shadow-sm py-2 bg-white",staticStyle:{"border-radius":"15px"}},[e("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:t.n.account.avatar,alt:"",width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]),t._v(" "),e("div",{staticClass:"media-body font-weight-light"},["favourite"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.liked"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.displayPostUrl(t.n.status)},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v("post")]),t._v(".\n\t\t\t")])]):"comment"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.commented"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.displayPostUrl(t.n.status)},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v("post")]),t._v(".\n\t\t\t")])]):"story:react"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.reacted"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+t.n.account.id}},[t._v("story")]),t._v(".\n\t\t\t")])]):"story:comment"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.commented"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+t.n.account.id}},[t._v(t._s(t.$t("notifications.story")))]),t._v(".\n\t\t\t")])]):"mention"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(t.n.status)}},[t._v(t._s(t.$t("notifications.mentioned")))]),t._v(" "+t._s(t.$t("notifications.you"))+".\n\t\t\t")])]):"follow"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.followed"))+" "+t._s(t.$t("notifications.you"))+".\n\t\t\t")])]):"share"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.shared"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.displayPostUrl(t.n.status)},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v(t._s(t.$t("notifications.post")))]),t._v(".\n\t\t\t")])]):"modlog"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v(t._s(t.truncate(t.n.account.username)))]),t._v(" "+t._s(t.$t("notifications.updatedA"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.n.modlog.url}},[t._v(t._s(t.$t("notifications.modlog")))]),t._v(".\n\t\t\t")])]):"tagged"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.tagged"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.n.tagged.post_url}},[t._v(t._s(t.$t("notifications.post")))]),t._v(".\n\t\t\t")])]):"direct"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.sentA"))+" "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+t.n.account.id}},[t._v(t._s(t.$t("notifications.dm")))]),t._v(".\n\t\t\t")],1)]):"group.join.approved"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.n.group.url,title:t.n.group.name}},[t._v(t._s(t.truncate(t.n.group.name)))]),t._v(" "+t._s(t.$t("notifications.applicationApproved"))+"\n\t\t\t")])]):"group.join.rejected"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.n.group.url,title:t.n.group.name}},[t._v(t._s(t.truncate(t.n.group.name)))]),t._v(" "+t._s(t.$t("notifications.applicationRejected"))+"\n\t\t\t")])]):e("div",[e("p",{staticClass:"my-0 d-flex justify-content-between align-items-center"},[e("span",{staticClass:"font-weight-bold"},[t._v("Notification")]),t._v(" "),e("span",{staticStyle:{"font-size":"8px"}},[t._v("e_"+t._s(t.n.type)+"::"+t._s(t.n.id))])])]),t._v(" "),e("div",{staticClass:"align-items-center"},[e("span",{staticClass:"small text-muted",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:t.n.created_at}},[t._v(t._s(t.timeAgo(t.n.created_at)))])])]),t._v(" "),e("div",[t.n.status&&t.n.status&&t.n.status.media_attachments&&t.n.status.media_attachments.length?e("div",[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[e("img",{attrs:{src:t.n.status.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):t.n.status&&t.n.status.parent&&t.n.status.parent.media_attachments&&t.n.status.parent.media_attachments.length?e("div",[e("a",{attrs:{href:t.n.status.parent.url}},[e("img",{attrs:{src:t.n.status.parent.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):t._e()])])},s=[]},78061:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},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")])])}]},39624:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(1519),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".notification-metro-component .notification-filters .nav-link[data-v-0a315271]{font-size:12px}.notification-metro-component .notification-filters .nav-link.active[data-v-0a315271]{font-weight:700}.notification-metro-component .notification-filters .nav-link-icon[data-v-0a315271]:not(.active){opacity:.5}.notification-metro-component .notification-filters .nav-link[data-v-0a315271]:not(.active){color:#9ca3af}",""]);const n=s},95433:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(1519),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=s},1644:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(1519),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=s},195:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(1519),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const n=s},28758:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(39624),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},2869:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(95433),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},64111:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(1644),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},7051:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(195),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},73209:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(38638),s=a(52980),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(32900);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,"0a315271",null).exports},42755:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(87661),s=a(1374),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(72682);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},76429:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(5249),s=a(74778),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},73128:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(22356),s=a(163),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},88231:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(7071),s=a(28058),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(11883);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},18303:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(34874),s=a(47524),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},68296:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(48170),s=a(82834),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(89501);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},52980:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(65294),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},1374:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(89250),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},74778:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(29022),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},163:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(54076),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},28058:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(11188),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},47524:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(13315),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},82834:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(66925),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},38638:(t,e,a)=>{a.r(e);var i=a(67605),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},87661:(t,e,a)=>{a.r(e);var i=a(7231),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},5249:(t,e,a)=>{a.r(e);var i=a(73023),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},22356:(t,e,a)=>{a.r(e);var i=a(50554),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},7071:(t,e,a)=>{a.r(e);var i=a(30964),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},34874:(t,e,a)=>{a.r(e);var i=a(42620),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},48170:(t,e,a)=>{a.r(e);var i=a(78061),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},32900:(t,e,a)=>{a.r(e);var i=a(28758),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},72682:(t,e,a)=>{a.r(e);var i=a(2869),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},11883:(t,e,a)=>{a.r(e);var i=a(64111),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},89501:(t,e,a)=>{a.r(e);var i=a(7051),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)}}]); \ No newline at end of file diff --git a/public/js/notifications.chunk.ee310da155305164.js b/public/js/notifications.chunk.ee310da155305164.js new file mode 100644 index 000000000..78ef17ef1 --- /dev/null +++ b/public/js/notifications.chunk.ee310da155305164.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6053],{65294:(t,e,a)=>{a.r(e),a.d(e,{default:()=>d});var i=a(42755),s=a(88231),n=a(18303),r=a(73128),o=a(78423);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,i=new Array(e);a10?0==this.filteredFeed.length&&(this.filteredEmpty=!0):isFinite(this.max_id)&&isFinite(this.filteredMaxId)?(this.filteredIsIntersecting=!0,axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.filteredMaxId,limit:40}}).then((function(e){var a,i=e.data.map((function(t){return t.id})),s=Math.min.apply(Math,l(i));s1&&void 0!==arguments[1]?arguments[1]:40;return _.truncate(t,{length:e})}}}},89250:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},29022:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,a){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var a=0;a{a.r(e),a.d(e,{default:()=>i});const i={props:{small:{type:Boolean,default:!1}}}},11188:(t,e,a)=>{a.r(e),a.d(e,{default:()=>c});var i=a(20629),s=a(68296),n=a(76429);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function l(t,e,a){return(e=function(t){var e=function(t,e){if("object"!==r(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,e||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===r(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:s.default,UpdateAvatar:n.default},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),i=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return i.length?''.concat(i[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"}})}}}}},13315:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={props:{n:{type:Object}},data:function(){return{profile:window._sharedData.user}},methods:{truncate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return t.length<=e?t:t.slice(0,e)+"..."},timeAgo:function(t){var e=Date.parse(t),a=Math.floor((new Date-e)/1e3),i=Math.floor(a/31536e3);return i>=1?i+"y":(i=Math.floor(a/604800))>=1?i+"w":(i=Math.floor(a/86400))>=1?i+"d":(i=Math.floor(a/3600))>=1?i+"h":(i=Math.floor(a/60))>=1?i+"m":Math.floor(a)+"s"},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},viewContext:function(t){switch(t.type){case"follow":return this.getProfileUrl(t.account);case"mention":return t.status.url;case"like":case"favourite":case"comment":return this.getPostUrl(t.status);case"tagged":return t.tagged.post_url;case"direct":return"/account/direct/t/"+t.account.id}return"/"},displayProfileUrl:function(t){return"/i/web/profile/".concat(t.id)},displayPostUrl:function(t){return"/i/web/post/".concat(t.id)},getProfileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},getPostUrl:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})}}}},66925:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},67605:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper notification-metro-component"},[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-9 col-lg-9 col-xl-5 offset-xl-1"},[0===t.tabIndex?[e("h1",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNotifications\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small mt-n2"},[t._v(" ")])]:10===t.tabIndex?[e("div",{staticClass:"d-flex align-items-center mb-3"},[e("a",{staticClass:"text-muted",staticStyle:{opacity:"0.3"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.tabIndex=0}}},[e("i",{staticClass:"far fa-chevron-circle-left fa-2x mr-3",attrs:{title:"Go back to notifications"}})]),t._v(" "),e("h1",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tFollow Requests\n\t\t\t\t\t\t")])])]:[e("h1",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\t"+t._s(t.tabs[t.tabIndex].name)+"\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-lighter mt-n2"},[t._v(t._s(t.tabs[t.tabIndex].description))])],t._v(" "),10!=t.tabIndex&&t.notificationsLoaded&&t.notifications.length?e("ul",{staticClass:"notification-filters nav nav-tabs nav-fill mb-3"},t._l(t.tabs,(function(a,i){return e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:t.tabIndex===i},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(i)}}},[e("i",{staticClass:"mr-1 nav-link-icon",class:[a.icon]}),t._v(" "),e("span",{staticClass:"d-none d-xl-inline-block"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t")])])])})),0):t._e(),t._v(" "),t.tabSwitching?e("div",[e("placeholder")],1):e("div",[0===t.tabIndex?e("div",[t.followRequests&&t.followRequests.hasOwnProperty("accounts")&&t.followRequests.accounts.length?e("div",{staticClass:"card card-body shadow-none border border-warning rounded-pill mb-3 py-2"},[e("div",{staticClass:"media align-items-center"},[e("i",{staticClass:"far fa-exclamation-circle mr-3 text-warning"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[e("strong",[t._v(t._s(t.followRequests.count)+" follow "+t._s(t.followRequests.count>1?"requests":"request"))])])]),t._v(" "),e("a",{staticClass:"ml-2 small d-flex font-weight-bold primary text-uppercase mb-0",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showFollowRequests()}}},[t._v("\n\t\t\t\t\t\t\t\t\tView"),e("span",{staticClass:"d-none d-md-block"},[t._v(" Follow Requests")])])])]):t._e(),t._v(" "),t.notificationsLoaded?e("div",[t._l(t.notifications,(function(t,a){return e("notification",{key:"notification:".concat(a,":").concat(t.id),attrs:{n:t}})})),t._v(" "),t.notifications&&t.notificationsLoaded&&!t.notifications.length?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10 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("notifications.noneFound")))])])])]):t._e(),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder")],1)],1):t._e()],2):e("div",[e("placeholder")],1)]):10===t.tabIndex?e("div",[t.followRequests&&t.followRequests.accounts&&t.followRequests.accounts.length?e("div",{staticClass:"list-group"},t._l(t.followRequests.accounts,(function(a,i){return e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"media align-items-center"},[e("router-link",{staticClass:"primary",attrs:{to:"/i/web/profile/".concat(a.account.id)}},[e("img",{staticClass:"rounded-lg shadow mr-3",attrs:{src:a.avatar,width:"80",height:"80",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body mr-3"},[e("p",{staticClass:"font-weight-bold mb-0 text-break",staticStyle:{"font-size":"17px"}},[e("router-link",{staticClass:"primary",attrs:{to:"/i/web/profile/".concat(a.account.id)}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(a.username)+"\n\t\t\t\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("p",{staticClass:"mb-1 text-muted text-break",staticStyle:{"font-size":"11px"}},[t._v(t._s(t.truncate(a.account.note_text,100)))]),t._v(" "),e("div",{staticClass:"d-flex text-lighter",staticStyle:{"font-size":"11px"}},[e("span",{staticClass:"mr-3"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.account.statuses_count))]),t._v(" "),e("span",[t._v("Posts")])]),t._v(" "),e("span",[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.account.followers_count))]),t._v(" "),e("span",[t._v("Followers")])])])]),t._v(" "),e("div",{staticClass:"d-flex flex-column d-md-block"},[e("button",{staticClass:"btn btn-outline-success py-1 btn-sm font-weight-bold rounded-pill mr-2 mb-1",on:{click:function(e){return e.preventDefault(),t.handleFollowRequest("accept",i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tAccept\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter py-1 btn-sm font-weight-bold rounded-pill mb-1",on:{click:function(e){return e.preventDefault(),t.handleFollowRequest("reject",i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tReject\n\t\t\t\t\t\t\t\t\t\t")])])],1)])})),0):t._e()]):e("div",[t.filteredLoaded?e("div",[t._m(0),t._v(" "),t.filteredFeed.length?e("div",t._l(t.filteredFeed,(function(t,a){return e("notification",{key:"notification:filtered:".concat(a,":").concat(t.id),attrs:{n:t}})})),1):e("div",[t.filteredEmpty?e("div",[e("p",{staticClass:"font-weight-bold"},[t._v("No results found")])]):e("placeholder")],1),t._v(" "),t.canLoadMoreFiltered?e("div",[e("intersect",{on:{enter:t.enterFilteredIntersect}},[e("placeholder")],1)],1):t._e()]):e("div",[e("placeholder")],1)])])],2)]),t._v(" "),e("drawer")],1):t._e()])},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body bg-transparent shadow-none border p-2 mb-3 rounded-pill text-lighter"},[e("div",{staticClass:"media align-items-center small"},[e("i",{staticClass:"far fa-exclamation-triangle mx-2"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Filtering results may not include older notifications")])])])])}]},7231:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},s=[]},73023:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},s=[]},50554:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},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"})])])}]},30964:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},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"})])}]},23833:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"media mb-2 align-items-center px-3 shadow-sm py-2 bg-white",staticStyle:{"border-radius":"15px"}},[e("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],attrs:{href:"#",title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:t.n.account.avatar,alt:"",width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]),t._v(" "),e("div",{staticClass:"media-body font-weight-light"},["favourite"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.liked"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.displayPostUrl(t.n.status)},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v("post")]),t._v(".\n\t\t\t")])]):"comment"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.commented"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.displayPostUrl(t.n.status)},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v("post")]),t._v(".\n\t\t\t")])]):"story:react"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.reacted"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+t.n.account.id}},[t._v("story")]),t._v(".\n\t\t\t")])]):"story:comment"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.commented"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+t.n.account.id}},[t._v(t._s(t.$t("notifications.story")))]),t._v(".\n\t\t\t")])]):"mention"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(t.n.status)}},[t._v(t._s(t.$t("notifications.mentioned")))]),t._v(" "+t._s(t.$t("notifications.you"))+".\n\t\t\t")])]):"follow"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.followed"))+" "+t._s(t.$t("notifications.you"))+".\n\t\t\t")])]):"share"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.shared"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.displayPostUrl(t.n.status)},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[t._v(t._s(t.$t("notifications.post")))]),t._v(".\n\t\t\t")])]):"modlog"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v(t._s(t.truncate(t.n.account.username)))]),t._v(" "+t._s(t.$t("notifications.updatedA"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.n.modlog.url}},[t._v(t._s(t.$t("notifications.modlog")))]),t._v(".\n\t\t\t")])]):"tagged"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.tagged"))+" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.n.tagged.post_url}},[t._v(t._s(t.$t("notifications.post")))]),t._v(".\n\t\t\t")])]):"direct"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.displayProfileUrl(t.n.account),title:t.n.account.acct},on:{click:function(e){return e.preventDefault(),t.getProfileUrl(t.n.account)}}},[t._v("@"+t._s(t.n.account.acct))]),t._v(" "+t._s(t.$t("notifications.sentA"))+" "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+t.n.account.id}},[t._v(t._s(t.$t("notifications.dm")))]),t._v(".\n\t\t\t")],1)]):"group.join.approved"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.n.group.url,title:t.n.group.name}},[t._v(t._s(t.truncate(t.n.group.name)))]),t._v(" "+t._s(t.$t("notifications.applicationApproved"))+"\n\t\t\t")])]):"group.join.rejected"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),e("a",{staticClass:"font-weight-bold text-dark text-break",attrs:{href:t.n.group.url,title:t.n.group.name}},[t._v(t._s(t.truncate(t.n.group.name)))]),t._v(" "+t._s(t.$t("notifications.applicationRejected"))+"\n\t\t\t")])]):e("div",[e("p",{staticClass:"my-0 d-flex justify-content-between align-items-center"},[e("span",{staticClass:"font-weight-bold"},[t._v("Notification")]),t._v(" "),e("span",{staticStyle:{"font-size":"8px"}},[t._v("e_"+t._s(t.n.type)+"::"+t._s(t.n.id))])])]),t._v(" "),e("div",{staticClass:"align-items-center"},[e("span",{staticClass:"small text-muted",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:t.n.created_at}},[t._v(t._s(t.timeAgo(t.n.created_at)))])])]),t._v(" "),e("div",[t.n.status&&t.n.status&&t.n.status.media_attachments&&t.n.status.media_attachments.length?e("div",[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[e("img",{attrs:{src:t.n.status.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):t.n.status&&t.n.status.parent&&t.n.status.parent.media_attachments&&t.n.status.parent.media_attachments.length?e("div",[e("a",{attrs:{href:t.n.status.parent.url}},[e("img",{attrs:{src:t.n.status.parent.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):t._e()])])},s=[]},78061:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},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")])])}]},39624:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(1519),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".notification-metro-component .notification-filters .nav-link[data-v-0a315271]{font-size:12px}.notification-metro-component .notification-filters .nav-link.active[data-v-0a315271]{font-weight:700}.notification-metro-component .notification-filters .nav-link-icon[data-v-0a315271]:not(.active){opacity:.5}.notification-metro-component .notification-filters .nav-link[data-v-0a315271]:not(.active){color:#9ca3af}",""]);const n=s},95433:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(1519),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=s},1644:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(1519),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=s},195:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(1519),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const n=s},28758:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(39624),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},2869:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(95433),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},64111:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(1644),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},7051:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(93379),s=a.n(i),n=a(195),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},73209:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(38638),s=a(52980),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(32900);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,"0a315271",null).exports},42755:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(87661),s=a(1374),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(72682);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},76429:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(5249),s=a(74778),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},73128:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(22356),s=a(163),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},88231:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(7071),s=a(28058),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(11883);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},18303:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(10126),s=a(47524),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},68296:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(48170),s=a(82834),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(89501);const r=(0,a(51900).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},52980:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(65294),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},1374:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(89250),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},74778:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(29022),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},163:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(54076),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},28058:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(11188),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},47524:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(13315),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},82834:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(66925),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},38638:(t,e,a)=>{a.r(e);var i=a(67605),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},87661:(t,e,a)=>{a.r(e);var i=a(7231),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},5249:(t,e,a)=>{a.r(e);var i=a(73023),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},22356:(t,e,a)=>{a.r(e);var i=a(50554),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},7071:(t,e,a)=>{a.r(e);var i=a(30964),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},10126:(t,e,a)=>{a.r(e);var i=a(23833),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},48170:(t,e,a)=>{a.r(e);var i=a(78061),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},32900:(t,e,a)=>{a.r(e);var i=a(28758),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},72682:(t,e,a)=>{a.r(e);var i=a(2869),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},11883:(t,e,a)=>{a.r(e);var i=a(64111),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},89501:(t,e,a)=>{a.r(e);var i=a(7051),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)}}]); \ No newline at end of file diff --git a/public/js/post.chunk.08ed66fc33eb3409.js b/public/js/post.chunk.08ed66fc33eb3409.js deleted file mode 100644 index 907a9aa09..000000000 --- a/public/js/post.chunk.08ed66fc33eb3409.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[5865],{60:(t,e,s)=>{s.r(e),s.d(e,{default:()=>p});var a=s(42755),i=s(78375),o=s(88231),n=s(99247),r=s(8829),l=s(9656),c=s(5327),d=s(31823),u=s(21917);const p={props:{cachedStatus:{type:Object},cachedProfile:{type:Object}},components:{drawer:a.default,sidebar:o.default,status:n.default,"context-menu":r.default,"media-container":l.default,"likes-modal":c.default,"shares-modal":d.default,rightbar:i.default,"report-modal":u.default},data:function(){return{isLoaded:!1,user:void 0,profile:void 0,post:void 0,relationship:{},media:void 0,mediaIndex:0,showLikesModal:!1,isReply:!1,reply:{},showSharesModal:!1}},beforeMount:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.cachedStatus&&this.cachedProfile?(this.post=this.cachedStatus,this.media=this.post.media_attachments,this.profile=this.post.account,this.user=this.cachedProfile,this.post.in_reply_to_id?this.fetchReply():(this.isReply=!1,this.fetchRelationship())):this.fetchSelf()},fetchSelf:function(){this.user=window._sharedData.user,this.fetchPost()},fetchPost:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.$route.params.id).then((function(e){e.data&&e.data.hasOwnProperty("id")||t.$router.push("/i/web/404"),t.post=e.data,t.media=t.post.media_attachments,t.profile=t.post.account,t.post.in_reply_to_id?t.fetchReply():t.fetchRelationship()})).catch((function(e){switch(e.response.status){case 403:case 404:t.$router.push("/i/web/404")}}))},fetchReply:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.post.in_reply_to_id).then((function(e){t.reply=e.data,t.isReply=!0,t.fetchRelationship()})).catch((function(e){t.fetchRelationship()}))},fetchRelationship:function(){var t=this;if(this.profile.id==this.user.id)return this.relationship={},void this.fetchState();axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.fetchState()}))},fetchState:function(){var t=this;axios.get("/api/v2/statuses/"+this.post.id+"/state").then((function(e){t.post.favourited=e.data.liked,t.post.reblogged=e.data.shared,t.post.bookmarked=e.data.bookmarked,!t.post.favourites_count&&t.post.favourited&&(t.post.favourites_count=1),t.isLoaded=!0})).catch((function(e){t.isLoaded=!1}))},goBack:function(){this.$router.push("/i/web")},likeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e+1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/favourite").then((function(t){})).catch((function(s){t.post.favourites_count=e,t.post.favourited=!1}))},unlikeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e-1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/unfavourite").then((function(t){})).catch((function(s){t.post.favourites_count=e,t.post.favourited=!1}))},shareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e+1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/reblog").then((function(t){})).catch((function(s){t.post.reblogs_count=e,t.post.reblogged=!1}))},unshareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e-1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/unreblog").then((function(t){})).catch((function(s){t.post.reblogs_count=e,t.post.reblogged=!1}))},openContextMenu:function(){var t=this;this.$nextTick((function(){t.$refs.contextMenu.open()}))},openLikesModal:function(){var t=this;this.showLikesModal=!0,this.$nextTick((function(){t.$refs.likesModal.open()}))},openSharesModal:function(){var t=this;this.showSharesModal=!0,this.$nextTick((function(){t.$refs.sharesModal.open()}))},deletePost:function(){this.$router.push("/i/web")},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.user}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.user}})},handleBookmark:function(){var t=this;axios.post("/i/bookmark",{item:this.post.id}).then((function(e){t.post.bookmarked=!t.post.bookmarked})).catch((function(e){t.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},handleReport:function(){var t=this;this.$nextTick((function(){t.$refs.reportModal.open()}))},counterChange:function(t){switch(t){case"comment-increment":this.post.reply_count=this.post.reply_count+1;break;case"comment-decrement":this.post.reply_count=this.post.reply_count-1}}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(26535),i=s(74338),o=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":o.default,"post-header":i.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&!1===this.status.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},29022:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{s.r(e),s.d(e,{default:()=>a});const a={props:{small:{type:Boolean,default:!1}}}},19444:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(15235),i=s(80979),o=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.default,ProfileHoverCard:o.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modCWSuccess"),"success"),a.$emit("moderate","addcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modRemoveCWSuccess"),"success"),a.$emit("moderate","remcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","unlist"),swal(a.$t("common.success"),a.$t("menu.modUnlistSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","spammer"),swal(a.$t("common.success"),a.$t("menu.modMarkAsSpammerSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),i=s(48510),o=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},2568:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{post:{type:Object},profile:{type:Object},user:{type:Object},media:{type:Array},showArrows:{type:Boolean,default:!0}},data:function(){return{loading:!1,shortcuts:void 0,sensitive:!1,mediaIndex:0}},mounted:function(){this.initShortcuts()},beforeDestroy:function(){document.removeEventListener("keyup",this.shortcuts)},methods:{navPrev:function(){var t=this;if(0==this.mediaIndex)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,max_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=t.media.length-1,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var s=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,s)})).catch((function(e){t.mediaIndex=t.media.length-1,t.loading=!1}));this.mediaIndex--},navNext:function(){var t=this;if(this.mediaIndex==this.media.length-1)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,min_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=0,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var s=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,s)})).catch((function(e){t.mediaIndex=0,t.loading=!1}));this.mediaIndex++},initShortcuts:function(){var t=this;this.shortcuts=document.addEventListener("keyup",(function(e){"ArrowLeft"===e.key&&t.navPrev(),"ArrowRight"===e.key&&t.navNext()}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":a.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(26535),i=s(22583);const o={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),i=s(48510),o=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},54965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(80979),i=s(20629);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},5540:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={components:{notifications:s(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=s(20629),i=s(68296),o=s(76429);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function l(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:i.default,UpdateAvatar:o.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},66925:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(73128),i=s(78423);function o(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-timeline-component web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[e("sidebar",{attrs:{user:t.user}})],1),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-6"},[t.isReply?e("div",{staticClass:"p-3 rounded-top mb-n3",staticStyle:{"background-color":"var(--card-header-accent)"}},[e("p",[e("i",{staticClass:"fal fa-reply mr-1"}),t._v(" In reply to\n\t\t\t\t\t\t\t"),t._v(" "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/i/web/profile/"+t.reply.account.id},on:{click:function(e){return e.preventDefault(),t.goToProfile(t.reply.account)}}},[t._v("\n\t\t\t\t\t\t\t\t@"+t._s(t.reply.account.acct)+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-primary font-weight-bold btn-sm px-3 float-right rounded-pill",on:{click:function(e){return e.preventDefault(),t.goToPost(t.reply)}}},[t._v("\n\t\t\t\t\t\t\t\tView Post\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),e("status",{key:t.post.id,attrs:{status:t.post,profile:t.user},on:{menu:function(e){return t.openContextMenu()},like:function(e){return t.likeStatus()},unlike:function(e){return t.unlikeStatus()},"likes-modal":function(e){return t.openLikesModal()},"shares-modal":function(e){return t.openSharesModal()},bookmark:function(e){return t.handleBookmark()},share:function(e){return t.shareStatus()},unshare:function(e){return t.unshareStatus()},"counter-change":t.counterChange}})],1),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar")],1)])]):t._e(),t._v(" "),t.isLoaded?e("context-menu",{ref:"contextMenu",attrs:{status:t.post,profile:t.user},on:{"report-modal":function(e){return t.handleReport()},delete:function(e){return t.deletePost()}}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.post,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.post,profile:t.profile}}):t._e(),t._v(" "),t.post?e("report-modal",{ref:"reportModal",attrs:{status:t.post}}):t._e(),t._v(" "),e("drawer")],1)},i=[]},67192:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},73023:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},50554:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},18683:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},74212:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},96037:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},2279:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"feed-media-container bg-black"},[e("div",{staticClass:"text-muted",staticStyle:{"max-height":"400px"}},[e("div",["photo"===t.post.pf_type?e("div",[1==t.post.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.post.spoiler_text?t.post.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper"},[e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash,src:t.post.media_attachments[0].url}}),t._v(" "),!t.post.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.post.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):t._e()])])])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},34108:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?e("span",[e("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):e("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},48087:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},20832:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},i=[]},30964:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},78061:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"align-self-start"},[e("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),e("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),e("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},51948:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,a){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},i=[]},27101:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media (min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const o=i},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const o=i},6662:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const o=i},33820:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".feed-media-container .blurhash-wrapper img{background-color:#000;border-radius:15px;max-height:400px;-o-object-fit:contain;object-fit:contain}.feed-media-container .blurhash-wrapper canvas{border-radius:15px;max-height:400px}.feed-media-container .content-label-wrapper{position:relative}.feed-media-container .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:15px;display:flex;flex-direction:column;height:400px;justify-content:center;left:0;margin:0;position:absolute;top:0;width:100%;z-index:2}",""]);const o=i},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const o=i},17738:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const o=i},1644:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const o=i},195:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const o=i},76812:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const o=i},89539:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(27101),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(95433),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},49011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(6662),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},45912:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(33820),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(93986),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},92341:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(17738),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},64111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(1644),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},7051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(195),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},47781:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(76812),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},12118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(19383),i=s(77064),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(76719),i=s(60378),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(41658);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(87661),i=s(1374),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(72682);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(18709),i=s(72214),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},76429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(5249),i=s(74778),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},73128:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(22356),i=s(163),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(15542),i=s(3646),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(39626);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78559),i=s(43354),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12430),i=s(23983),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(87669),i=s(59111),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(28476);const i=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(50282),i=s(6921),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},9656:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(83902),i=s(75921),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(79545);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(56253),i=s(40102),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12348),i=s(33012),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(73433),i=s(94747),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(23666),i=s(19651),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(70946),i=s(84021),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(30535),i=s(84185),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(62544);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},78375:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(79325),i=s(2678),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(86965);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(7071),i=s(28058),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(11883);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},68296:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(48170),i=s(82834),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(89501);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},73459:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(72362),i=s(67476),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(75574);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},77064:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(60),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(95217),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(89250),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(8671),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},74778:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(29022),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},163:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(54076),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(19444),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(13143),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(3861),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(60658),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(36935),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},75921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(2568),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(92606),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(51815),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(17810),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(2011),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(24489),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(54965),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},2678:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(5540),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},28058:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(11188),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},82834:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(66925),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},67476:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(43762),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},19383:(t,e,s)=>{s.r(e);var a=s(35816),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},76719:(t,e,s)=>{s.r(e);var a=s(67192),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},87661:(t,e,s)=>{s.r(e);var a=s(7231),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},18709:(t,e,s)=>{s.r(e);var a=s(97584),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5249:(t,e,s)=>{s.r(e);var a=s(73023),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},22356:(t,e,s)=>{s.r(e);var a=s(50554),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},15542:(t,e,s)=>{s.r(e);var a=s(18683),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},78559:(t,e,s)=>{s.r(e);var a=s(54822),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},12430:(t,e,s)=>{s.r(e);var a=s(74212),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},87669:(t,e,s)=>{s.r(e);var a=s(96037),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},28476:(t,e,s)=>{s.r(e);var a=s(73954),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},50282:(t,e,s)=>{s.r(e);var a=s(92994),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},83902:(t,e,s)=>{s.r(e);var a=s(2279),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},56253:(t,e,s)=>{s.r(e);var a=s(3103),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},12348:(t,e,s)=>{s.r(e);var a=s(34108),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},73433:(t,e,s)=>{s.r(e);var a=s(84027),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},23666:(t,e,s)=>{s.r(e);var a=s(93853),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},70946:(t,e,s)=>{s.r(e);var a=s(10454),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},30535:(t,e,s)=>{s.r(e);var a=s(48087),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},79325:(t,e,s)=>{s.r(e);var a=s(20832),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},7071:(t,e,s)=>{s.r(e);var a=s(30964),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48170:(t,e,s)=>{s.r(e);var a=s(78061),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},72362:(t,e,s)=>{s.r(e);var a=s(51948),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},41658:(t,e,s)=>{s.r(e);var a=s(89539),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},72682:(t,e,s)=>{s.r(e);var a=s(2869),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},39626:(t,e,s)=>{s.r(e);var a=s(49011),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},79545:(t,e,s)=>{s.r(e);var a=s(45912),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},62544:(t,e,s)=>{s.r(e);var a=s(51010),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86965:(t,e,s)=>{s.r(e);var a=s(92341),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11883:(t,e,s)=>{s.r(e);var a=s(64111),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},89501:(t,e,s)=>{s.r(e);var a=s(7051),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},75574:(t,e,s)=>{s.r(e);var a=s(47781),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/post.chunk.bad88be5fc04f10b.js b/public/js/post.chunk.bad88be5fc04f10b.js new file mode 100644 index 000000000..90fe14746 --- /dev/null +++ b/public/js/post.chunk.bad88be5fc04f10b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[5865],{60:(t,e,s)=>{s.r(e),s.d(e,{default:()=>p});var a=s(42755),i=s(78375),o=s(88231),n=s(99247),r=s(8829),l=s(9656),c=s(5327),d=s(31823),u=s(21917);const p={props:{cachedStatus:{type:Object},cachedProfile:{type:Object}},components:{drawer:a.default,sidebar:o.default,status:n.default,"context-menu":r.default,"media-container":l.default,"likes-modal":c.default,"shares-modal":d.default,rightbar:i.default,"report-modal":u.default},data:function(){return{isLoaded:!1,user:void 0,profile:void 0,post:void 0,relationship:{},media:void 0,mediaIndex:0,showLikesModal:!1,isReply:!1,reply:{},showSharesModal:!1}},beforeMount:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.cachedStatus&&this.cachedProfile?(this.post=this.cachedStatus,this.media=this.post.media_attachments,this.profile=this.post.account,this.user=this.cachedProfile,this.post.in_reply_to_id?this.fetchReply():(this.isReply=!1,this.fetchRelationship())):this.fetchSelf()},fetchSelf:function(){this.user=window._sharedData.user,this.fetchPost()},fetchPost:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.$route.params.id).then((function(e){e.data&&e.data.hasOwnProperty("id")||t.$router.push("/i/web/404"),t.post=e.data,t.media=t.post.media_attachments,t.profile=t.post.account,t.post.in_reply_to_id?t.fetchReply():t.fetchRelationship()})).catch((function(e){switch(e.response.status){case 403:case 404:t.$router.push("/i/web/404")}}))},fetchReply:function(){var t=this;axios.get("/api/pixelfed/v1/statuses/"+this.post.in_reply_to_id).then((function(e){t.reply=e.data,t.isReply=!0,t.fetchRelationship()})).catch((function(e){t.fetchRelationship()}))},fetchRelationship:function(){var t=this;if(this.profile.id==this.user.id)return this.relationship={},void this.fetchState();axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.fetchState()}))},fetchState:function(){var t=this;axios.get("/api/v2/statuses/"+this.post.id+"/state").then((function(e){t.post.favourited=e.data.liked,t.post.reblogged=e.data.shared,t.post.bookmarked=e.data.bookmarked,!t.post.favourites_count&&t.post.favourited&&(t.post.favourites_count=1),t.isLoaded=!0})).catch((function(e){t.isLoaded=!1}))},goBack:function(){this.$router.push("/i/web")},likeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e+1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/favourite").then((function(t){})).catch((function(s){t.post.favourites_count=e,t.post.favourited=!1}))},unlikeStatus:function(){var t=this,e=this.post.favourites_count;this.post.favourites_count=e-1,this.post.favourited=!this.post.favourited,axios.post("/api/v1/statuses/"+this.post.id+"/unfavourite").then((function(t){})).catch((function(s){t.post.favourites_count=e,t.post.favourited=!1}))},shareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e+1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/reblog").then((function(t){})).catch((function(s){t.post.reblogs_count=e,t.post.reblogged=!1}))},unshareStatus:function(){var t=this,e=this.post.reblogs_count;this.post.reblogs_count=e-1,this.post.reblogged=!this.post.reblogged,axios.post("/api/v1/statuses/"+this.post.id+"/unreblog").then((function(t){})).catch((function(s){t.post.reblogs_count=e,t.post.reblogged=!1}))},openContextMenu:function(){var t=this;this.$nextTick((function(){t.$refs.contextMenu.open()}))},openLikesModal:function(){var t=this;this.showLikesModal=!0,this.$nextTick((function(){t.$refs.likesModal.open()}))},openSharesModal:function(){var t=this;this.showSharesModal=!0,this.$nextTick((function(){t.$refs.sharesModal.open()}))},deletePost:function(){this.$router.push("/i/web")},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.user}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.user}})},handleBookmark:function(){var t=this;axios.post("/i/bookmark",{item:this.post.id}).then((function(e){t.post.bookmarked=!t.post.bookmarked})).catch((function(e){t.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))},handleReport:function(){var t=this;this.$nextTick((function(){t.$refs.reportModal.open()}))},counterChange:function(t){switch(t){case"comment-increment":this.post.reply_count=this.post.reply_count+1;break;case"comment-decrement":this.post.reply_count=this.post.reply_count-1}}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(26535),i=s(74338),o=s(37846),n=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":o.default,"post-header":i.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&!1===this.status.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},29022:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{s.r(e),s.d(e,{default:()=>a});const a={props:{small:{type:Boolean,default:!1}}}},19444:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(15235),i=s(80979),o=s(22583),n=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.default,ProfileHoverCard:o.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modCWSuccess"),"success"),a.$emit("moderate","addcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modRemoveCWSuccess"),"success"),a.$emit("moderate","remcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","unlist"),swal(a.$t("common.success"),a.$t("menu.modUnlistSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","spammer"),swal(a.$t("common.success"),a.$t("menu.modMarkAsSpammerSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),i=s(48510),o=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},2568:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{post:{type:Object},profile:{type:Object},user:{type:Object},media:{type:Array},showArrows:{type:Boolean,default:!0}},data:function(){return{loading:!1,shortcuts:void 0,sensitive:!1,mediaIndex:0}},mounted:function(){this.initShortcuts()},beforeDestroy:function(){document.removeEventListener("keyup",this.shortcuts)},methods:{navPrev:function(){var t=this;if(0==this.mediaIndex)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,max_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=t.media.length-1,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var s=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,s)})).catch((function(e){t.mediaIndex=t.media.length-1,t.loading=!1}));this.mediaIndex--},navNext:function(){var t=this;if(this.mediaIndex==this.media.length-1)return this.loading=!0,void axios.get("/api/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:1,min_id:this.post.id}}).then((function(e){if(!e.data.length)return t.mediaIndex=0,void(t.loading=!1);t.$emit("navigate",e.data[0]),t.mediaIndex=0;var s=window.location.origin+"/@".concat(t.post.account.username,"/post/").concat(t.post.id);history.pushState(null,null,s)})).catch((function(e){t.mediaIndex=0,t.loading=!1}));this.mediaIndex++},initShortcuts:function(){var t=this;this.shortcuts=document.addEventListener("keyup",(function(e){"ArrowLeft"===e.key&&t.navPrev(),"ArrowRight"===e.key&&t.navNext()}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":a.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(26535),i=s(22583);const o={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78423),i=s(48510),o=s(10831);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},54965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var a=s(80979),i=s(20629);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},5540:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={components:{notifications:s(73459).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},11188:(t,e,s)=>{s.r(e),s.d(e,{default:()=>c});var a=s(20629),i=s(68296),o=s(76429);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function l(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const c={props:{user:{type:Object,default:function(){return{avatar:"/storage/avatars/default.jpg",username:!1,display_name:"",following_count:0,followers_count:0}}},links:{type:Array,default:function(){return[{name:"Discover",path:"/i/web/discover",icon:"fas fa-compass"},{name:"Groups",path:"/i/web/groups",icon:"far fa-user-friends"},{name:"Videos",path:"/i/web/videos",icon:"far fa-video"}]}}},components:{ComposeSimple:i.default,UpdateAvatar:o.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},66925:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:{},step:"firstLoad"}},mounted:function(){this.user=window._sharedData.user},methods:{toggleStep:function(t){this.step=t}}}},43762:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(73128),i=s(78423);function o(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-timeline-component web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[e("sidebar",{attrs:{user:t.user}})],1),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-6"},[t.isReply?e("div",{staticClass:"p-3 rounded-top mb-n3",staticStyle:{"background-color":"var(--card-header-accent)"}},[e("p",[e("i",{staticClass:"fal fa-reply mr-1"}),t._v(" In reply to\n\t\t\t\t\t\t\t"),t._v(" "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/i/web/profile/"+t.reply.account.id},on:{click:function(e){return e.preventDefault(),t.goToProfile(t.reply.account)}}},[t._v("\n\t\t\t\t\t\t\t\t@"+t._s(t.reply.account.acct)+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-primary font-weight-bold btn-sm px-3 float-right rounded-pill",on:{click:function(e){return e.preventDefault(),t.goToPost(t.reply)}}},[t._v("\n\t\t\t\t\t\t\t\tView Post\n\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),e("status",{key:t.post.id,attrs:{status:t.post,profile:t.user},on:{menu:function(e){return t.openContextMenu()},like:function(e){return t.likeStatus()},unlike:function(e){return t.unlikeStatus()},"likes-modal":function(e){return t.openLikesModal()},"shares-modal":function(e){return t.openSharesModal()},bookmark:function(e){return t.handleBookmark()},share:function(e){return t.shareStatus()},unshare:function(e){return t.unshareStatus()},"counter-change":t.counterChange}})],1),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar")],1)])]):t._e(),t._v(" "),t.isLoaded?e("context-menu",{ref:"contextMenu",attrs:{status:t.post,profile:t.user},on:{"report-modal":function(e){return t.handleReport()},delete:function(e){return t.deletePost()}}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.post,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.post,profile:t.profile}}):t._e(),t._v(" "),t.post?e("report-modal",{ref:"reportModal",attrs:{status:t.post}}):t._e(),t._v(" "),e("drawer")],1)},i=[]},67192:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},73023:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},50554:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},18683:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},74212:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},86251:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},2279:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"feed-media-container bg-black"},[e("div",{staticClass:"text-muted",staticStyle:{"max-height":"400px"}},[e("div",["photo"===t.post.pf_type?e("div",[1==t.post.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.post.spoiler_text?t.post.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper"},[e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash,src:t.post.media_attachments[0].url}}),t._v(" "),!t.post.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.post.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):t._e()])])])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},34108:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?e("span",[e("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):e("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},48087:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t"+t._s(t.profile.display_name?t.profile.display_name:t.profile.username)+"\n\t\t\t")])]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},20832:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},i=[]},30964:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},78061:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-simple-component"},["firstLoad"==t.step?e("div",{staticClass:"step-segment bg-primary text-white flex-column justify-content-between"},[t._m(0),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"text-center mt-4"},[e("button",{staticClass:"btn btn-outline-light btn-lg px-5 rounded-pill",on:{click:function(e){return t.toggleStep("start")}}},[t._v("Next")])])]):"start"==t.step?e("div",{staticClass:"step-segment flex-column justify-content-between"},[t._m(2),t._v(" "),t._m(3)]):"error"==t.step?e("div",{staticClass:"step-segment"},[e("p",{staticClass:"text-center"},[t._v("We encountered an error. Please try again later.")])]):e("div",{staticClass:"step-segment"},[e("b-spinner")],1)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"align-self-start"},[e("p",{staticClass:"text-light small",staticStyle:{opacity:"0.5"}},[t._v("\n\t\t\t\tWant to use the old version? "),e("a",{staticClass:"text-light",attrs:{href:"/i/compose"}},[t._v("Click here")])])])},function(){var t=this._self._c;return t("div",{staticClass:"text-left"},[t("h1",{staticClass:"display-4"},[this._v("Welcome to ComposeUI v6!")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Caption")]),t._v(" "),e("textarea",{staticClass:"form-control"})])])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 border d-flex justify-content-center align-items-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Click here or drag media here")])])}]},51948:(t,e,s)=>{s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,a){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},i=[]},27101:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media (min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const o=i},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const o=i},6662:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const o=i},33820:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".feed-media-container .blurhash-wrapper img{background-color:#000;border-radius:15px;max-height:400px;-o-object-fit:contain;object-fit:contain}.feed-media-container .blurhash-wrapper canvas{border-radius:15px;max-height:400px}.feed-media-container .content-label-wrapper{position:relative}.feed-media-container .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:15px;display:flex;flex-direction:column;height:400px;justify-content:center;left:0;margin:0;position:absolute;top:0;width:100%;z-index:2}",""]);const o=i},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const o=i},17738:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const o=i},1644:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const o=i},195:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".compose-simple-component{height:600px;overflow:auto;width:100%}.compose-simple-component .step-segment{align-items:center;display:flex;height:100%;justify-content:center;padding:30px;width:100%}.compose-simple-component .step-segment h1.display-4{font-weight:700;letter-spacing:-.05em;line-height:.9}",""]);const o=i},76812:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const o=i},89539:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(27101),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(95433),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},49011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(6662),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},45912:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(33820),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(93986),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},92341:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(17738),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},64111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(1644),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},7051:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(195),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},47781:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(76812),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},12118:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(19383),i=s(77064),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(76719),i=s(60378),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(41658);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(87661),i=s(1374),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(72682);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(18709),i=s(72214),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},76429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(5249),i=s(74778),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},73128:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(22356),i=s(163),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(15542),i=s(3646),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(39626);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(78559),i=s(43354),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12430),i=s(23983),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(80360),i=s(59111),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var a=s(28476);const i=(0,s(51900).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(50282),i=s(6921),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},9656:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(83902),i=s(75921),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(79545);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(56253),i=s(40102),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(12348),i=s(33012),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(73433),i=s(94747),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(23666),i=s(19651),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(70946),i=s(84021),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(30535),i=s(84185),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(62544);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},78375:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(79325),i=s(2678),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(86965);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"c5fe4fd2",null).exports},88231:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(7071),i=s(28058),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(11883);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},68296:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(48170),i=s(82834),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(89501);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},73459:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var a=s(72362),i=s(67476),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(75574);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},77064:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(60),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(95217),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(89250),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(8671),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},74778:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(29022),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},163:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(54076),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(19444),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(13143),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(3861),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(60658),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(36935),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},75921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(2568),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(92606),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(51815),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(17810),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(2011),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(24489),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(54965),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},2678:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(5540),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},28058:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(11188),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},82834:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(66925),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},67476:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});var a=s(43762),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},19383:(t,e,s)=>{s.r(e);var a=s(35816),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},76719:(t,e,s)=>{s.r(e);var a=s(67192),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},87661:(t,e,s)=>{s.r(e);var a=s(7231),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},18709:(t,e,s)=>{s.r(e);var a=s(97584),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5249:(t,e,s)=>{s.r(e);var a=s(73023),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},22356:(t,e,s)=>{s.r(e);var a=s(50554),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},15542:(t,e,s)=>{s.r(e);var a=s(18683),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},78559:(t,e,s)=>{s.r(e);var a=s(54822),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},12430:(t,e,s)=>{s.r(e);var a=s(74212),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},80360:(t,e,s)=>{s.r(e);var a=s(86251),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},28476:(t,e,s)=>{s.r(e);var a=s(73954),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},50282:(t,e,s)=>{s.r(e);var a=s(92994),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},83902:(t,e,s)=>{s.r(e);var a=s(2279),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},56253:(t,e,s)=>{s.r(e);var a=s(3103),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},12348:(t,e,s)=>{s.r(e);var a=s(34108),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},73433:(t,e,s)=>{s.r(e);var a=s(84027),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},23666:(t,e,s)=>{s.r(e);var a=s(93853),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},70946:(t,e,s)=>{s.r(e);var a=s(10454),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},30535:(t,e,s)=>{s.r(e);var a=s(48087),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},79325:(t,e,s)=>{s.r(e);var a=s(20832),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},7071:(t,e,s)=>{s.r(e);var a=s(30964),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48170:(t,e,s)=>{s.r(e);var a=s(78061),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},72362:(t,e,s)=>{s.r(e);var a=s(51948),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},41658:(t,e,s)=>{s.r(e);var a=s(89539),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},72682:(t,e,s)=>{s.r(e);var a=s(2869),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},39626:(t,e,s)=>{s.r(e);var a=s(49011),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},79545:(t,e,s)=>{s.r(e);var a=s(45912),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},62544:(t,e,s)=>{s.r(e);var a=s(51010),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86965:(t,e,s)=>{s.r(e);var a=s(92341),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11883:(t,e,s)=>{s.r(e);var a=s(64111),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},89501:(t,e,s)=>{s.r(e);var a=s(7051),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},75574:(t,e,s)=>{s.r(e);var a=s(47781),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/profile.chunk.c12c225ed4796ac4.js b/public/js/profile.chunk.c12c225ed4796ac4.js deleted file mode 100644 index d5beb494d..000000000 --- a/public/js/profile.chunk.c12c225ed4796ac4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6869],{71618:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(42755),i=s(89965),n=s(85748),a=s(32303),r=s(24721);const l={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{drawer:o.default,"profile-feed":i.default,"profile-sidebar":n.default,"profile-followers":a.default,"profile-following":r.default},data:function(){return{isLoaded:!1,curUser:void 0,tab:"index",profile:void 0,relationship:void 0}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.tab="index",this.isLoaded=!1,this.relationship=void 0,this.owner=!1,this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchRelationship()):(this.curUser=window._sharedData.user,this.fetchProfile())},getTabComponentName:function(){return"index"===this.tab?"profile-feed":"profile-".concat(this.tab)},fetchProfile:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/"+e).then((function(e){t.profile=e.data,e.data.id==t.curUser.id?(t.owner=!0,t.fetchRelationship()):(t.owner=!1,t.fetchRelationship())})).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}))},toggleTab:function(t){this.tab=t},goBack:function(){this.$router.go(-1)},unfollow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/unfollow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship=e.data,t.profile.locked&&location.reload(),t.profile.followers_count--})).catch((function(e){swal("Oops!","An error occured when attempting to unfollow this account.","error"),t.relationship.following=!0}))},follow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/follow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship=e.data,t.profile.locked&&(t.relationship.requested=!0),t.profile.followers_count++})).catch((function(e){swal("Oops!","An error occured when attempting to follow this account.","error"),t.relationship.following=!1}))},updateRelationship:function(t){this.relationship=t}}}},52291:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(43985);const i={props:{hash:{type:String,required:!0},width:{type:[Number,String],default:32},height:{type:[Number,String],default:32},punch:{type:Number,default:1}},mounted:function(){this.draw()},updated:function(){console.log("updated")},beforeDestroy:function(){console.log("beforeDestroy")},methods:{parseNumber:function(t){return"number"==typeof t?t:parseInt(t,10)},draw:function(){var t=this.parseNumber(this.width),e=this.parseNumber(this.height),s=this.parseNumber(this.punch),i=(0,o.decode)(this.hash,t,e,s),n=this.$refs.canvas.getContext("2d"),a=n.createImageData(t,e);a.data.set(i),n.putImageData(a,0,0)}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(26535),i=s(74338),n=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"post-content":n.default,"post-header":i.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&!1===this.status.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},19444:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78423),i=s(48510),n=s(10831);const a={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,o.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":o.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(26535),i=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=e.getAttribute("href"),s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78423),i=s(48510),n=s(10831);const a={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},84797:(t,e,s)=>{s.r(e),s.d(e,{default:()=>h});var o=s(78423),i=s(99247),n=s(45836),a=s(90086),r=s(8829),l=s(5327),c=s(31823),d=s(21917),u=s(10831);function f(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return p(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s0})),o=s.map((function(t){return t.id}));t.ids=o,t.max_id=Math.min.apply(Math,f(o)),s.forEach((function(e){t.feed.push(e)})),setTimeout((function(){t.canLoadMore=e.data.length>1,t.feedLoaded=!0}),500)}))},enterIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:9,only_media:!0,max_id:this.max_id}}).then((function(e){e.data&&e.data.length||(t.canLoadMore=!1);var s=e.data.filter((function(t){return t.media_attachments.length>0})).filter((function(e){return-1==t.ids.indexOf(e.id)}));if(!s||!s.length)return t.canLoadMore=!1,void(t.isIntersecting=!1);s.forEach((function(e){e.id=1})).catch((function(e){t.canLoadMore=!1})))},toggleLayout:function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&event.currentTarget.blur(),this.layoutIndex=t,this.isIntersecting=!1},toggleTab:function(t){switch(event.currentTarget.blur(),t){case 1:this.isIntersecting=!1,this.tabIndex=1;break;case 2:this.fetchCollections();break;case 3:this.fetchFavourites();break;case"bookmarks":this.fetchBookmarks();break;case"archives":this.fetchArchives()}},fetchCollections:function(){var t=this;this.collectionsLoaded&&(this.tabIndex=2),axios.get("/api/local/profile/collections/"+this.profile.id).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.tabIndex=2,t.collectionsPage++,t.canLoadMoreCollections=9===e.data.length}))},enterCollectionsIntersect:function(){var t=this;this.isCollectionsIntersecting||(this.isCollectionsIntersecting=!0,axios.get("/api/local/profile/collections/"+this.profile.id,{params:{limit:9,page:this.collectionsPage}}).then((function(e){var s;e.data&&e.data.length||(t.canLoadMoreCollections=!1),t.collectionsLoaded=!0,(s=t.collections).push.apply(s,f(e.data)),t.collectionsPage++,t.canLoadMoreCollections=e.data.length>0,t.isCollectionsIntersecting=!1})).catch((function(e){t.canLoadMoreCollections=!1,t.isCollectionsIntersecting=!1})))},fetchFavourites:function(){var t=this;this.tabIndex=0,axios.get("/api/pixelfed/v1/favourites").then((function(e){t.tabIndex=3,t.favourites=e.data,t.favouritesPage++,t.favouritesLoaded=!0,0!=e.data.length&&(t.canLoadMoreFavourites=!0)}))},enterFavouritesIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/favourites",{params:{page:this.favouritesPage}}).then((function(e){var s;(s=t.favourites).push.apply(s,f(e.data)),t.favouritesPage++,t.canLoadMoreFavourites=0!=e.data.length,t.isIntersecting=!1})).catch((function(e){t.canLoadMoreFavourites=!1})))},fetchBookmarks:function(){var t=this;this.tabIndex=0,axios.get("/api/v1/bookmarks",{params:{_pe:1}}).then((function(e){if(t.tabIndex="bookmarks",t.bookmarks=e.data,e.headers&&e.headers.link){var s=(0,u.parseLinkHeader)(e.headers.link);s.next?(t.bookmarksPage=s.next.cursor,t.canLoadMoreBookmarks=!0):t.canLoadMoreBookmarks=!1}t.bookmarksLoaded=!0}))},enterBookmarksIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/v1/bookmarks",{params:{_pe:1,cursor:this.bookmarksPage}}).then((function(e){var s;if((s=t.bookmarks).push.apply(s,f(e.data)),e.headers&&e.headers.link){var o=(0,u.parseLinkHeader)(e.headers.link);o.next?(t.bookmarksPage=o.next.cursor,t.canLoadMoreBookmarks=!0):t.canLoadMoreBookmarks=!1}t.isIntersecting=!1})).catch((function(e){t.canLoadMoreBookmarks=!1})))},fetchArchives:function(){var t=this;this.tabIndex=0,axios.get("/api/pixelfed/v2/statuses/archives").then((function(e){t.tabIndex="archives",t.archives=e.data,t.archivesPage++,t.archivesLoaded=!0,0!=e.data.length&&(t.canLoadMoreArchives=!0)}))},formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return"/i/web/post/"+t.id},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].url},timeago:function(t){return App.util.format.timeAgo(t)},likeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1}))},unlikeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;switch(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"feed"){case"feed":this.postIndex=t,this.contextMenuPost=this.feed[t];break;case"archive":this.postIndex=t,this.contextMenuPost=this.archives[t]}this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},deletePost:function(){this.feed.splice(this.postIndex,1)},handleArchived:function(t){this.feed.splice(this.postIndex,1)},handleUnarchived:function(t){this.feed=[],this.fetchFeed()},enterArchivesIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v2/statuses/archives",{params:{page:this.archivesPage}}).then((function(e){var s;(s=t.archives).push.apply(s,f(e.data)),t.archivesPage++,t.canLoadMoreArchives=0!=e.data.length,t.isIntersecting=!1})).catch((function(e){t.canLoadMoreArchives=!1})))},handleBookmark:function(t){var e=this;if(window.confirm("Are you sure you want to unbookmark this post?")){var s=this.bookmarks[t];axios.post("/i/bookmark",{item:s.id}).then((function(o){e.bookmarks=e.bookmarks.map((function(t){return t.id==s.id&&(t.bookmarked=!1,delete t.bookmarked_at),t})),e.bookmarks.splice(t,1)})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))}}}}},55998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>p});var o=s(78423),i=s(48510),n=s(22583),a=s(20629),r=s(10831);function l(t){return l="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},l(t)}function c(t){return function(t){if(Array.isArray(t))return d(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 d(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return d(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),o=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):t}))}return s},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},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,s)=>{s.r(e),s.d(e,{default:()=>p});var o=s(78423),i=s(48510),n=s(22583),a=s(20629),r=s(10831);function l(t){return l="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},l(t)}function c(t){return function(t){if(Array.isArray(t))return d(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 d(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return d(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),o=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):t}))}return s},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},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,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(80979),i=s(20629);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function a(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var o=s.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:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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 s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},44078:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(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 s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var o=s.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:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object},relationship:{type:Object,default:function(){return{following:!1,followed_by:!1}}},user:{type:Object}},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},formatCount:function(t){return App.util.format.count(t)},goBack:function(){this.$emit("back")},showFullBio:function(){this.$refs.fullBio.show()},toggleTab:function(t){event.currentTarget.blur(),["followers","following"].includes(t)?this.$router.push("/i/web/profile/"+this.profile.id+"/"+t):this.$emit("toggletab",t)},getJoinedDate:function(){var t=new Date(this.profile.created_at),e=new Intl.DateTimeFormat("en-US",{month:"long"}).format(t),s=t.getFullYear();return"".concat(e," ").concat(s)},follow:function(){event.currentTarget.blur(),this.$emit("follow")},unfollow:function(){event.currentTarget.blur(),this.$emit("unfollow")},setBio:function(){var t=this;if(this.profile.note.length)if(this.profile.local){var e=this.profile.hasOwnProperty("note_text")?this.profile.note_text:this.profile.note.replace(/(<([^>]+)>)/gi,"");this.renderedBio=window.pftxt.autoLink(e,{usernameUrlBase:"/i/web/profile/@",hashtagUrlBase:"/i/web/hashtag/"})}else{if("

"===this.profile.note)return void(this.renderedBio=null);var s=this.profile.note,o=document.createElement("div");o.innerHTML=s,o.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)})),o.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.renderedBio=o.outerHTML}},getAvatar:function(){return this.profile.id==this.user.id?window._sharedData.user.avatar:this.profile.avatar},copyTextToClipboard:function(t){App.util.clipboard(t)},goToOldProfile:function(){this.profile.local?location.href=this.profile.url+"?fs=1":location.href="/i/web/profile/_/"+this.profile.id},handleMute:function(){var t=this,e=this.relationship.muting?"unmuted":"muted",s=1==this.relationship.muting?"/i/unmute":"/i/mute";axios.post(s,{type:"user",item:this.profile.id}).then((function(s){t.$emit("updateRelationship",s.data),swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){var e,s;422===t.response.status?swal({title:"Error",text:null===(e=t.response)||void 0===e||null===(s=e.data)||void 0===s?void 0:s.error,icon:"error",buttons:{review:{text:"Review muted accounts",value:"review",className:"btn-primary"},cancel:!0}}).then((function(t){t&&"review"==t&&(location.href="/settings/privacy/muted-users")})):swal("Error","Something went wrong. Please try again later.","error")}))},handleBlock:function(){var t=this,e=this.relationship.blocking?"unblock":"block",s=1==this.relationship.blocking?"/i/unblock":"/i/block";axios.post(s,{type:"user",item:this.profile.id}).then((function(s){t.$emit("updateRelationship",s.data),swal("Success","You have successfully "+e+"ed "+t.profile.acct,"success")})).catch((function(t){var e,s;422===t.response.status?swal({title:"Error",text:null===(e=t.response)||void 0===e||null===(s=e.data)||void 0===s?void 0:s.error,icon:"error",buttons:{review:{text:"Review blocked accounts",value:"review",className:"btn-primary"},cancel:!0}}).then((function(t){t&&"review"==t&&(location.href="/settings/privacy/blocked-users")})):swal("Error","Something went wrong. Please try again later.","error")}))},cancelFollowRequest:function(){window.confirm("Are you sure you want to cancel your follow request?")&&(event.currentTarget.blur(),this.$emit("unfollow"))}}}},14583:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});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-md-3 d-md-block px-md-3 px-xl-5"},[e("profile-sidebar",{attrs:{profile:t.profile,relationship:t.relationship,user:t.curUser},on:{back:t.goBack,toggletab:t.toggleTab,updateRelationship:t.updateRelationship,follow:t.follow,unfollow:t.unfollow}})],1),t._v(" "),e("div",{staticClass:"col-md-8 px-md-5"},[e(t.getTabComponentName(),{key:t.getTabComponentName()+t.profile.id,tag:"component",attrs:{profile:t.profile,relationship:t.relationship}})],1)]),t._v(" "),e("drawer")],1):t._e()])},i=[]},76551:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this;return(0,t._self._c)("canvas",{ref:"canvas",attrs:{width:t.parseNumber(t.width),height:t.parseNumber(t.height)}})},i=[]},41262:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),e("div",{staticClass:"ph-col-6 big"})]),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"ph-picture"}),t._v(" "),e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12 big"}),t._v(" "),e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])}]},67192:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});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)])])])])},i=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},18683:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,o){return e("div",{key:"cd:"+s.id+":"+o,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===o?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(o,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+o),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===o?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===o?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===o?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[o].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[o].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[o].replies},on:{"counter-change":function(e){return t.replyCounterChange(o,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":function(e){return t.replyCounterChange(o,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,o){return e("div",{key:"cd:"+s.id+":"+o},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+o),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},74212:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},96037:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,o){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},34108:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?e("span",[e("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):e("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});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)}})])},i=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,o){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},78007:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-feed-component"},[e("div",{staticClass:"profile-feed-component-nav d-flex justify-content-center justify-content-md-between align-items-center mb-4"},[e("div",{staticClass:"d-none d-md-block border-bottom flex-grow-1 profile-nav-btns"},[e("div",{staticClass:"btn-group"},[e("button",{staticClass:"btn btn-link",class:[1===t.tabIndex?"active":""],on:{click:function(e){return t.toggleTab(1)}}},[t._v("\n\t\t\t\t\tPosts\n\t\t\t\t")]),t._v(" "),t.isOwner?e("button",{staticClass:"btn btn-link",class:["archives"===t.tabIndex?"active":""],on:{click:function(e){return t.toggleTab("archives")}}},[t._v("\n\t\t\t\t\tArchives\n\t\t\t\t")]):t._e(),t._v(" "),t.isOwner?e("button",{staticClass:"btn btn-link",class:["bookmarks"===t.tabIndex?"active":""],on:{click:function(e){return t.toggleTab("bookmarks")}}},[t._v("\n\t\t\t\t\tBookmarks\n\t\t\t\t")]):t._e(),t._v(" "),t.canViewCollections?e("button",{staticClass:"btn btn-link",class:[2===t.tabIndex?"active":""],on:{click:function(e){return t.toggleTab(2)}}},[t._v("\n\t\t\t\t\tCollections\n\t\t\t\t")]):t._e(),t._v(" "),t.isOwner?e("button",{staticClass:"btn btn-link",class:[3===t.tabIndex?"active":""],on:{click:function(e){return t.toggleTab(3)}}},[t._v("\n\t\t\t\t\tLikes\n\t\t\t\t")]):t._e()])]),t._v(" "),1===t.tabIndex?e("div",{staticClass:"btn-group layout-sort-toggle"},[e("button",{staticClass:"btn btn-sm",class:[0===t.layoutIndex?"btn-dark":"btn-light"],on:{click:function(e){return t.toggleLayout(0,!0)}}},[e("i",{staticClass:"far fa-th fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-sm",class:[1===t.layoutIndex?"btn-dark":"btn-light"],on:{click:function(e){return t.toggleLayout(1,!0)}}},[e("i",{staticClass:"fas fa-th-large fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-sm",class:[2===t.layoutIndex?"btn-dark":"btn-light"],on:{click:function(e){return t.toggleLayout(2,!0)}}},[e("i",{staticClass:"far fa-bars fa-lg"})])]):t._e()]),t._v(" "),0==t.tabIndex?e("div",{staticClass:"d-flex justify-content-center mt-5"},[e("b-spinner")],1):1==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[0===t.layoutIndex?e("div",{staticClass:"row"},[t._l(t.feed,(function(s,o){return e("div",{key:"tlob:"+o+s.id,staticClass:"col-4 p-1"},[s.hasOwnProperty("pf_type")&&"video"==s.pf_type?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[s.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].preview_url}})],1),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("div",{staticClass:"text-white m-auto"},[e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.favourites_count)))])]),t._v(" "),e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reply_count)))])]),t._v(" "),e("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reblogs_count)))])])])])]),t._v(" "),t._m(1,!0),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t")])]):e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[s.sensitive?e("div",{staticClass:"square-content"},[t._m(2,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].url}})],1),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("div",{staticClass:"text-white m-auto"},[e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.favourites_count)))])]),t._v(" "),e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reply_count)))])]),t._v(" "),e("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reblogs_count)))])])])])]),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"col-4 ph-wrapper"},[e("div",{staticClass:"ph-item"},[e("div",{staticClass:"ph-picture big"})])])]):t._e()],2):1===t.layoutIndex?e("div",{staticClass:"row"},[e("masonry",{attrs:{cols:{default:3,800:2},gutter:{default:"5px"}}},[t._l(t.feed,(function(s,o){return e("div",{key:"tlog:"+o+s.id,staticClass:"p-1"},[s.hasOwnProperty("pf_type")&&"video"==s.pf_type?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content"},[e("blur-hash-image",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].preview_url}})],1)]),t._v(" "),e("span",{staticClass:"badge badge-light video-overlay-badge"},[e("i",{staticClass:"far fa-video fa-2x"})]),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t")])]):s.sensitive?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content"},[e("div",{staticClass:"info-overlay-text-label rounded"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])]),t._v(" "),e("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1)])]):e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("img",{staticClass:"img-fluid w-100 rounded-lg",attrs:{src:t.previewUrl(s),onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"p-1 ph-wrapper"},[e("div",{staticClass:"ph-item"},[e("div",{staticClass:"ph-picture big"})])])]):t._e()],2)],1):2===t.layoutIndex?e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.feed,(function(s,o){return e("status-card",{key:"prs"+s.id+":"+o,attrs:{profile:t.user,status:s},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"shares-modal":function(e){return t.openSharesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"col-12 col-md-10"},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)]):t._e()],1):t._e(),t._v(" "),t.feedLoaded&&!t.feed.length?e("div",[e("div",{staticClass:"row 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("profile.emptyPosts")))])])])]):t._e()]):"private"===t.tabIndex?e("div",{staticClass:"row 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-secure-feed.svg"}}),t._v(" "),e("p",{staticClass:"h3 text-dark font-weight-bold mt-3 py-3"},[t._v("This profile is private")]),t._v(" "),e("div",{staticClass:"lead text-muted px-3"},[t._v("\n\t\t\t\tOnly approved followers can see "),e("span",{staticClass:"font-weight-bold text-dark text-break"},[t._v("@"+t._s(t.profile.acct))]),t._v("'s "),e("br"),t._v("\n\t\t\t\tposts. To request access, click "),e("span",{staticClass:"font-weight-bold"},[t._v("Follow")]),t._v(".\n\t\t\t")])])]):2==t.tabIndex?e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"list-group"},t._l(t.collections,(function(s,o){return e("a",{staticClass:"list-group-item text-decoration-none text-dark",attrs:{href:s.url}},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:s.thumb,width:"65",height:"65",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"lead mb-0"},[t._v(t._s(s.title?s.title:"Untitled"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(s.description||"No description available"))]),t._v(" "),e("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[e("span",[t._v(t._s(s.post_count)+" posts")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),"public"===s.visibility?e("span",{staticClass:"text-dark"},[t._v("Public")]):"private"===s.visibility?e("span",{staticClass:"text-dark"},[e("i",{staticClass:"far fa-lock fa-sm"}),t._v(" Followers Only")]):"draft"===s.visibility?e("span",{staticClass:"primary"},[e("i",{staticClass:"far fa-lock fa-sm"}),t._v(" Draft")]):t._e(),t._v(" "),e("span",[t._v("·")]),t._v(" "),s.published_at?e("span",[t._v("Created "+t._s(t.timeago(s.published_at))+" ago")]):e("span",{staticClass:"text-warning"},[t._v("UNPUBLISHED")])])])])])})),0)]),t._v(" "),t.collectionsLoaded&&!t.collections.length?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("profile.emptyCollections")))])]):t._e(),t._v(" "),t.canLoadMoreCollections?e("div",{staticClass:"col-12 col-md-8"},[e("intersect",{on:{enter:t.enterCollectionsIntersect}},[e("div",{staticClass:"d-flex justify-content-center mt-5"},[e("b-spinner",{attrs:{small:""}})],1)])],1):t._e()]):3==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.favourites,(function(s,o){return e("status-card",{key:"prs"+s.id+":"+o,attrs:{profile:t.user,status:s},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMoreFavourites?e("div",{staticClass:"col-12 col-md-10"},[e("intersect",{on:{enter:t.enterFavouritesIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.favourites&&t.favourites.length?t._e():e("div",{staticClass:"row justify-content-center"},[t._m(3)])]):"bookmarks"==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.bookmarks,(function(s,o){return e("status-card",{key:"prs"+s.id+":"+o,attrs:{profile:t.user,"new-reactions":!0,status:s},on:{menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},bookmark:function(e){return t.handleBookmark(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),e("div",{staticClass:"col-12 col-md-10"},[t.canLoadMoreBookmarks?e("intersect",{on:{enter:t.enterBookmarksIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1):t._e()],1)]),t._v(" "),t.bookmarks&&t.bookmarks.length?t._e():e("div",{staticClass:"row justify-content-center"},[t._m(4)])]):"archives"==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.archives,(function(s,o){return e("status-card",{key:"prarc"+s.id+":"+o,attrs:{profile:t.user,"new-reactions":!0,"reaction-bar":!1,status:s},on:{menu:function(e){return t.openContextMenu(o,"archive")}}})})),1),t._v(" "),t.canLoadMoreArchives?e("div",{staticClass:"col-12 col-md-10"},[e("intersect",{on:{enter:t.enterArchivesIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.archives&&t.archives.length?t._e():e("div",{staticClass:"row justify-content-center"},[t._m(5)])]):t._e(),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.contextMenuPost,profile:t.user},on:{moderate:t.commitModeration,delete:t.deletePost,archived:t.handleArchived,unarchived:t.handleUnarchived,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this._self._c;return t("span",{staticClass:"badge badge-light video-overlay-badge"},[t("i",{staticClass:"far fa-video fa-2x"})])},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"})])])])},function(){var t=this,e=t._self._c;return 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("We can't seem to find any posts you have liked")])])},function(){var t=this,e=t._self._c;return 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("We can't seem to find any posts you have bookmarked")])])},function(){var t=this,e=t._self._c;return 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("We can't seem to find any posts you have bookmarked")])])}]},14226:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});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(s,o){return e("div",{staticClass:"list-group-item"},[e("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+s.id,href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",draggable:"false",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(s))}})]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-muted small text-break"},[t._v("@"+t._s(s.acct))])])])]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+s.id,triggers:"hover",placement:"left",delay:"1000","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:s}})],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)])])])},i=[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")])])}]},24786:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});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(s,o){return e("div",{staticClass:"list-group-item"},[e("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+s.id,href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",draggable:"false",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(s))}})]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-muted small text-break"},[t._v("@"+t._s(s.acct))])])])]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+s.id,triggers:"hover",placement:"left",delay:"1000","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:s}})],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)])])])},i=[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,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});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")])])])])},i=[]},84478:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-sidebar-component"},[e("div",[e("div",{staticClass:"d-block d-md-none"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.profile.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?e("span",[t._v("@"+t._s(t.profile.acct))]):e("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?e("span",[e("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),e("div",{staticClass:"stats"},[e("div",{staticClass:"stats-posts",on:{click:function(e){return t.toggleTab("index")}}},[e("div",{staticClass:"posts-count"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.posts"))+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"stats-followers",on:{click:function(e){return t.toggleTab("followers")}}},[e("div",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"stats-following",on:{click:function(e){return t.toggleTab("following")}}},[e("div",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"d-none d-md-flex justify-content-between align-items-center"},[e("button",{staticClass:"btn btn-link",on:{click:function(e){return t.goBack()}}},[e("i",{staticClass:"far fa-chevron-left fa-lg text-lighter"})]),t._v(" "),e("div",[e("img",{staticClass:"avatar img-fluid shadow border",attrs:{src:t.getAvatar(),onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),t.profile.is_admin?e("p",{staticClass:"text-right",staticStyle:{"margin-top":"-30px"}},[e("span",{staticClass:"admin-label"},[t._v("Admin")])]):t._e()]),t._v(" "),e("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[e("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),t.profile.local?e("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]):t._e(),t._v(" "),e("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?e("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?e("div",[e("b-dropdown-divider"),t._v(" "),e("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[e("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t")])],1):e("div",[t.profile.local?t._e():e("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")]),t._v(" "),e("b-dropdown-item",{attrs:{href:"/i/web/direct/thread/"+t.profile.id,"link-class":"font-weight-bold"}},[t._v("Direct Message")])],1),t._v(" "),t.profile.id!==t.user.id?e("div",[e("b-dropdown-divider"),t._v(" "),e("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t\t")]),t._v(" "),e("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t\t")]),t._v(" "),e("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1),t._v(" "),e("div",{staticClass:"d-none d-md-block text-center"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?e("span",[t._v("@"+t._s(t.profile.acct))]):e("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?e("span",[e("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),t.user.id!=t.profile.id&&(t.relationship.followed_by||t.relationship.muting||t.relationship.blocking)?e("p",{staticClass:"mt-n3 text-center"},[t.relationship.followed_by?e("span",{staticClass:"badge badge-primary p-1"},[t._v("Follows you")]):t._e(),t._v(" "),t.relationship.muting?e("span",{staticClass:"badge badge-dark p-1 ml-1"},[t._v("Muted")]):t._e(),t._v(" "),t.relationship.blocking?e("span",{staticClass:"badge badge-danger p-1 ml-1"},[t._v("Blocked")]):t._e()]):t._e()]),t._v(" "),e("div",{staticClass:"d-none d-md-block stats py-2"},[e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("index")}}},[e("strong",{attrs:{title:t.profile.statuses_count}},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("span",[t._v(t._s(t.$t("profile.posts")))])]),t._v(" "),e("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("followers")}}},[e("strong",{attrs:{title:t.profile.followers_count}},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("span",[t._v(t._s(t.$t("profile.followers")))])]),t._v(" "),e("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("following")}}},[e("strong",{attrs:{title:t.profile.following_count}},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("span",[t._v(t._s(t.$t("profile.following")))])])])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center mb-3 mb-md-0"},[t.user.id===t.profile.id?e("div",{staticStyle:{"flex-grow":"1"}},[e("a",{staticClass:"btn btn-light font-weight-bold btn-block follow-btn",attrs:{href:"/settings/home"}},[t._v(t._s(t.$t("profile.editProfile")))]),t._v(" "),t.profile.locked?t._e():e("a",{staticClass:"btn btn-light font-weight-bold btn-block follow-btn mt-md-n4",attrs:{href:"/i/web/my-portfolio"}},[t._v("\n My Portfolio\n "),e("span",{staticClass:"badge badge-success ml-1"},[t._v("NEW")])])]):t.profile.locked?e("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following||t.relationship.requested?t.relationship.requested?e("div",[e("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("profile.followRequested"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small font-weight-bold text-center mt-n4"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.cancelFollowRequest()}}},[t._v("Cancel Follow Request")])])]):t.relationship.following?e("button",{staticClass:"btn btn-primary font-weight-bold btn-block unfollow-btn",on:{click:t.unfollow}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t")]):t._e():[e("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:t.relationship.blocking},on:{click:t.follow}},[t._v("\n\t\t\t\t\t\t\tRequest Follow\n\t\t\t\t\t\t")]),t._v(" "),t.relationship.blocking?e("p",{staticClass:"mt-n4 text-lighter",staticStyle:{"font-size":"11px"}},[t._v("You need to unblock this account before you can request to follow.")]):t._e()]],2):e("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following?e("button",{staticClass:"btn btn-primary font-weight-bold btn-block unfollow-btn",on:{click:t.unfollow}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t")]):[e("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:t.relationship.blocking},on:{click:t.follow}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t\t\t")]),t._v(" "),t.relationship.blocking?e("p",{staticClass:"mt-n4 text-lighter",staticStyle:{"font-size":"11px"}},[t._v("You need to unblock this account before you can follow.")]):t._e()]],2),t._v(" "),e("div",{staticClass:"d-block d-md-none ml-3"},[e("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[e("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),t.profile.local?e("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]):t._e(),t._v(" "),e("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?e("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?e("div",[e("b-dropdown-divider"),t._v(" "),e("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[e("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t\t")])],1):e("div",[t.profile.local?t._e():e("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")]),t._v(" "),e("b-dropdown-item",{attrs:{href:"/i/web/direct/thread/"+t.profile.id,"link-class":"font-weight-bold"}},[t._v("Direct Message")])],1),t._v(" "),t.profile.id!==t.user.id?e("div",[e("b-dropdown-divider"),t._v(" "),e("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1)]),t._v(" "),t.profile.note&&t.renderedBio&&t.renderedBio.length?e("div",{staticClass:"bio-wrapper card shadow-none"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"bio-body"},[e("div",{domProps:{innerHTML:t._s(t.renderedBio)}})])])]):t._e(),t._v(" "),e("div",{staticClass:"d-none d-md-block card card-body shadow-none py-2"},[t.profile.website?e("p",{staticClass:"small"},[t._m(0),t._v(" "),e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.profile.website}},[t._v(t._s(t.profile.website))])])]):t._e(),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._m(1),t._v(" "),t.profile.local?e("span",[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\n\t\t\t\t\t\t"),e("span",{staticClass:"float-right primary"},[e("i",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"far fa-info-circle",attrs:{title:"This user is from a remote server and may have created their account before this date"}})])])])]),t._v(" "),e("div",{staticClass:"d-none d-md-flex sidebar-sitelinks"},[e("a",{attrs:{href:"/site/about"}},[t._v(t._s(t.$t("navmenu.about")))]),t._v(" "),e("router-link",{attrs:{to:"/i/web/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("router-link",{attrs:{to:"/i/web/language"}},[t._v(t._s(t.$t("navmenu.language")))]),t._v(" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))])],1),t._v(" "),t._m(2)]),t._v(" "),e("b-modal",{ref:"fullBio",attrs:{centered:"","hide-footer":"","ok-only":"","ok-title":"Close","ok-variant":"light",scrollable:!0,"body-class":"p-md-5",title:"Bio"}},[e("div",{domProps:{innerHTML:t._s(t.profile.note)}})])],1)},i=[function(){var t=this._self._c;return t("span",{staticClass:"text-lighter mr-2"},[t("i",{staticClass:"far fa-link"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-lighter mr-2"},[t("i",{staticClass:"far fa-clock"})])},function(){var t=this._self._c;return t("div",{staticClass:"d-none d-md-block sidebar-attribution"},[t("a",{staticClass:"font-weight-bold",attrs:{href:"https://pixelfed.org"}},[this._v("Powered by Pixelfed")])])}]},94493:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-timeline-component[data-v-796a296e]{margin-bottom:10rem}",""]);const n=i},27101:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media (min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},6662:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},9782:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-feed-component{margin-top:0}.profile-feed-component .ph-wrapper{padding:.25rem}.profile-feed-component .ph-wrapper .ph-item{background-color:transparent;border:none;margin:0;padding:0}.profile-feed-component .ph-wrapper .ph-item .ph-picture{border-radius:5px;height:auto;padding-bottom:100%}.profile-feed-component .ph-wrapper .ph-item>*{margin-bottom:0}.profile-feed-component .info-overlay-text-field{font-size:13.5px;margin-bottom:2px}@media (min-width:768px){.profile-feed-component .info-overlay-text-field{font-size:20px;margin-bottom:15px}}.profile-feed-component .video-overlay-badge{color:var(--dark);opacity:.6;padding-bottom:1px;position:absolute;right:10px;top:10px}.profile-feed-component .timestamp-overlay-badge{bottom:10px;opacity:.6;position:absolute;right:10px}.profile-feed-component .profile-nav-btns{margin-right:1rem}.profile-feed-component .profile-nav-btns .btn-group{min-height:45px}.profile-feed-component .profile-nav-btns .btn-link{border-radius:0;color:var(--text-lighter);font-size:14px;font-weight:700;margin-right:1rem}.profile-feed-component .profile-nav-btns .btn-link:hover{color:var(--text-muted);text-decoration:none}.profile-feed-component .profile-nav-btns .btn-link.active{border-bottom:1px solid var(--dark);color:var(--dark);transition:border-bottom .25s ease-in-out}.profile-feed-component .layout-sort-toggle .btn{border:none}.profile-feed-component .layout-sort-toggle .btn.btn-light{opacity:.4}",""]);const n=i},16035:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-followers-component .list-group-item{border:none}.profile-followers-component .list-group-item:not(:last-child){border-bottom:1px solid rgba(0,0,0,.125)}.profile-followers-component .scroll-card{-ms-overflow-style:none;max-height:calc(100vh - 250px);overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none}.profile-followers-component .scroll-card::-webkit-scrollbar{display:none}.profile-followers-component .spacer-btn{opacity:0;pointer-events:none}",""]);const n=i},36856:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-following-component .list-group-item{border:none}.profile-following-component .list-group-item:not(:last-child){border-bottom:1px solid rgba(0,0,0,.125)}.profile-following-component .scroll-card{-ms-overflow-style:none;max-height:calc(100vh - 250px);overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none}.profile-following-component .scroll-card::-webkit-scrollbar{display:none}.profile-following-component .spacer-btn{opacity:0;pointer-events:none}",""]);const n=i},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},97429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.profile-sidebar-component{margin-bottom:1rem}.profile-sidebar-component .avatar{border-radius:15px;margin-bottom:1rem;width:140px}.profile-sidebar-component .display-name{font-size:20px;font-size:15px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-sidebar-component .display-name,.profile-sidebar-component .username{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.profile-sidebar-component .username{color:var(--primary);font-size:14px;font-weight:600}.profile-sidebar-component .username.remote{font-size:11px}.profile-sidebar-component .stats{margin-bottom:1rem}.profile-sidebar-component .stats .stat-item{flex:0 0 33%;margin:0;max-width:33%;padding:0;text-align:center;text-decoration:none}.profile-sidebar-component .stats .stat-item strong{color:var(--body-color);display:block;font-size:18px;line-height:.9}.profile-sidebar-component .stats .stat-item span{color:#b8c2cc;display:block;font-size:12px}@media (min-width:768px){.profile-sidebar-component .follow-btn{margin-bottom:2rem}}.profile-sidebar-component .follow-btn.btn-primary{background-color:var(--primary)}.profile-sidebar-component .follow-btn.btn-light{border-color:var(--input-border)}.profile-sidebar-component .unfollow-btn{background-color:rgba(59,130,246,.7)}@media (min-width:768px){.profile-sidebar-component .unfollow-btn{margin-bottom:2rem}}.profile-sidebar-component .bio-wrapper{margin-bottom:1rem}.profile-sidebar-component .bio-wrapper .bio-body{display:block;font-size:12px!important;position:relative;white-space:pre-wrap}.profile-sidebar-component .bio-wrapper .bio-body .username{font-size:12px!important}.profile-sidebar-component .bio-wrapper .bio-body.long{max-height:80px;overflow:hidden}.profile-sidebar-component .bio-wrapper .bio-body.long:after{background:linear-gradient(180deg,transparent,hsla(0,0%,100%,.9) 60%,#fff 90%);content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:2}.profile-sidebar-component .bio-wrapper .bio-body p{margin-bottom:0!important}.profile-sidebar-component .bio-wrapper .bio-more{position:relative;z-index:3}.profile-sidebar-component .admin-label{background:#fee2e2;border:1px solid #fca5a5;border-radius:8px;color:#b91c1c;display:inline-block;font-size:12px;font-weight:600;padding:1px 5px;text-transform:capitalize}.profile-sidebar-component .sidebar-sitelinks{justify-content:space-between;margin-top:1rem;padding:0}.profile-sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.profile-sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.profile-sidebar-component .sidebar-attribution{color:#b8c2cc!important;font-size:12px;margin-top:.5rem}.profile-sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.profile-sidebar-component .user-card{align-items:center}.profile-sidebar-component .user-card .avatar{border:1px solid #e5e7eb;border-radius:15px;height:80px;margin-right:.8rem;width:80px}@media (min-width:390px){.profile-sidebar-component .user-card .avatar{height:100px;width:100px}}.profile-sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.profile-sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.profile-sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.profile-sidebar-component .user-card .username{font-size:13px;font-weight:600;line-height:12px;margin:4px 0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}@media (min-width:390px){.profile-sidebar-component .user-card .username{font-size:16px;margin:8px 0}}.profile-sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:20px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}@media (min-width:390px){.profile-sidebar-component .user-card .display-name{font-size:24px}}.profile-sidebar-component .user-card .stats{display:flex;flex-direction:row;font-size:16px;justify-content:space-between;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-sidebar-component .user-card .stats .followers-count,.profile-sidebar-component .user-card .stats .following-count,.profile-sidebar-component .user-card .stats .posts-count{display:flex;font-weight:800}.profile-sidebar-component .user-card .stats .stats-label{color:#94a3b8;font-size:11px;margin-top:-5px}',""]);const n=i},37535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(94493),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},89539:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(27101),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(95433),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},49011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(6662),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},94608:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(9782),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},85969:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(16035),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},68691:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(36856),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(93986),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},15473:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(97429),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},70595:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(25032),i=s(73498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(84421);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"796a296e",null).exports},90086:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(43580),i=s(51373),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(8056);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(76719),i=s(60378),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(41658);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(87661),i=s(1374),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(72682);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(18709),i=s(72214),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(15542),i=s(3646),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(39626);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78559),i=s(43354),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12430),i=s(23983),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(87669),i=s(59111),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(28476);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50282),i=s(6921),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(56253),i=s(40102),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12348),i=s(33012),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(73433),i=s(94747),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(23666),i=s(19651),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(70946),i=s(84021),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},89965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(28648),i=s(55013),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(46526);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},32303:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(68906),i=s(31631),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(8696);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},24721:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(14001),i=s(51979),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(97765);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(30535),i=s(84185),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(62544);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},85748:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(67417),i=s(79760),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(20351);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},73498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(71618),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},51373:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(52291),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(95217),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(89250),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(8671),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(19444),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(13143),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(3861),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(60658),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36935),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(92606),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(51815),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(17810),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(2011),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(24489),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55013:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(84797),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},31631:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(55998),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},51979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(92829),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(54965),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},79760:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(44078),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},25032:(t,e,s)=>{s.r(e);var o=s(14583),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},43580:(t,e,s)=>{s.r(e);var o=s(76551),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},8056:(t,e,s)=>{s.r(e);var o=s(41262),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},76719:(t,e,s)=>{s.r(e);var o=s(67192),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},87661:(t,e,s)=>{s.r(e);var o=s(7231),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},18709:(t,e,s)=>{s.r(e);var o=s(97584),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},15542:(t,e,s)=>{s.r(e);var o=s(18683),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},78559:(t,e,s)=>{s.r(e);var o=s(54822),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12430:(t,e,s)=>{s.r(e);var o=s(74212),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},87669:(t,e,s)=>{s.r(e);var o=s(96037),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28476:(t,e,s)=>{s.r(e);var o=s(73954),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50282:(t,e,s)=>{s.r(e);var o=s(92994),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},56253:(t,e,s)=>{s.r(e);var o=s(3103),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12348:(t,e,s)=>{s.r(e);var o=s(34108),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},73433:(t,e,s)=>{s.r(e);var o=s(84027),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},23666:(t,e,s)=>{s.r(e);var o=s(93853),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},70946:(t,e,s)=>{s.r(e);var o=s(10454),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28648:(t,e,s)=>{s.r(e);var o=s(78007),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},68906:(t,e,s)=>{s.r(e);var o=s(14226),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},14001:(t,e,s)=>{s.r(e);var o=s(24786),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},30535:(t,e,s)=>{s.r(e);var o=s(48087),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},67417:(t,e,s)=>{s.r(e);var o=s(84478),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},84421:(t,e,s)=>{s.r(e);var o=s(37535),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},41658:(t,e,s)=>{s.r(e);var o=s(89539),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},72682:(t,e,s)=>{s.r(e);var o=s(2869),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},39626:(t,e,s)=>{s.r(e);var o=s(49011),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},46526:(t,e,s)=>{s.r(e);var o=s(94608),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},8696:(t,e,s)=>{s.r(e);var o=s(85969),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},97765:(t,e,s)=>{s.r(e);var o=s(68691),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},62544:(t,e,s)=>{s.r(e);var o=s(51010),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},20351:(t,e,s)=>{s.r(e);var o=s(15473),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/profile.chunk.d6cf0345664c2864.js b/public/js/profile.chunk.d6cf0345664c2864.js new file mode 100644 index 000000000..66d44d310 --- /dev/null +++ b/public/js/profile.chunk.d6cf0345664c2864.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6869],{71618:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(42755),i=s(89965),n=s(85748),a=s(32303),r=s(24721);const l={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{drawer:o.default,"profile-feed":i.default,"profile-sidebar":n.default,"profile-followers":a.default,"profile-following":r.default},data:function(){return{isLoaded:!1,curUser:void 0,tab:"index",profile:void 0,relationship:void 0}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){this.tab="index",this.isLoaded=!1,this.relationship=void 0,this.owner=!1,this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchRelationship()):(this.curUser=window._sharedData.user,this.fetchProfile())},getTabComponentName:function(){return"index"===this.tab?"profile-feed":"profile-".concat(this.tab)},fetchProfile:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/"+e).then((function(e){t.profile=e.data,e.data.id==t.curUser.id?(t.owner=!0,t.fetchRelationship()):(t.owner=!1,t.fetchRelationship())})).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}))},toggleTab:function(t){this.tab=t},goBack:function(){this.$router.go(-1)},unfollow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/unfollow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship=e.data,t.profile.locked&&location.reload(),t.profile.followers_count--})).catch((function(e){swal("Oops!","An error occured when attempting to unfollow this account.","error"),t.relationship.following=!0}))},follow:function(){var t=this;axios.post("/api/v1/accounts/"+this.profile.id+"/follow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.relationship=e.data,t.profile.locked&&(t.relationship.requested=!0),t.profile.followers_count++})).catch((function(e){swal("Oops!","An error occured when attempting to follow this account.","error"),t.relationship.following=!1}))},updateRelationship:function(t){this.relationship=t}}}},52291:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(43985);const i={props:{hash:{type:String,required:!0},width:{type:[Number,String],default:32},height:{type:[Number,String],default:32},punch:{type:Number,default:1}},mounted:function(){this.draw()},updated:function(){console.log("updated")},beforeDestroy:function(){console.log("beforeDestroy")},methods:{parseNumber:function(t){return"number"==typeof t?t:parseInt(t,10)},draw:function(){var t=this.parseNumber(this.width),e=this.parseNumber(this.height),s=this.parseNumber(this.punch),i=(0,o.decode)(this.hash,t,e,s),n=this.$refs.canvas.getContext("2d"),a=n.createImageData(t,e);a.data.set(i),n.putImageData(a,0,0)}}}},95217:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(26535),i=s(74338),n=s(37846),a=s(81104);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"post-content":n.default,"post-header":i.default,"post-reactions":a.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.status.media_attachments||!this.status.media_attachments.length)&&this.status.media_attachments.filter((function(t){return t.hasOwnProperty("license")&&t.license&&t.license.hasOwnProperty("id")})).map((function(t){return t.license}))[0],this.admin=window._sharedData.user.is_admin,this.owner=this.status.account.id==window._sharedData.user.id,this.status.reply_count&&this.autoloadComments&&!1===this.status.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}}},watch:{status:{deep:!0,immediate:!0,handler:function(t,e){this.isBookmarking=!1}}},methods:{openMenu:function(){this.$emit("menu")},like:function(){this.$emit("like")},unlike:function(){this.$emit("unlike")},showLikes:function(){this.$emit("likes-modal")},showShares:function(){this.$emit("shares-modal")},showComments:function(){this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},89250:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={data:function(){return{user:window._sharedData.user}}}},8671:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},19444:(t,e,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(15235),i=s(80979),n=s(22583),a=s(38287),r=s(4268);const l={props:{status:{type:Object}},components:{VueTribute:o.default,ReadMore:i.default,ProfileHoverCard:n.default,CommentReplyForm:r.default,CommentReplies:a.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},13143:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(80979);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:o.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,o=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=o?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(o?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},3861:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},60658:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(o){o?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var o=this,i=(t.account.username,t.id,""),n=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modCWSuccess"),"success"),o.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(o.$t("common.success"),o.$t("menu.modRemoveCWSuccess"),"success"),o.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","unlist"),swal(o.$t("common.success"),o.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){o.$emit("moderate","spammer"),swal(o.$t("common.success"),o.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(o.$t("common.error"),o.$t("common.errorMsg"),"error")}))}))}},shareStatus:function(t,e){var s=this;0!=o("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged})).catch((function(t){swal(s.$t("common.error"),s.$t("common.errorMsg"),"error")})))},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&0!=window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.archivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))}}}},36935:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78423),i=s(48510),n=s(10831);const a={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},92606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(99347);const i={props:["status"],components:{"read-more":s(80979).default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,o.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},51815:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(22583);const i={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1}},components:{"profile-hover-card":o.default},data:function(){return{menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},17810:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(26535),i=s(22583);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":o.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},2011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var o=document.createElement("a");o.href=e.getAttribute("href"),s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},24489:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78423),i=s(48510),n=s(10831);const a={props:{status:{type:Object},profile:{type:Object}},components:{intersect:o.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},84797:(t,e,s)=>{s.r(e),s.d(e,{default:()=>h});var o=s(78423),i=s(99247),n=s(45836),a=s(90086),r=s(8829),l=s(5327),c=s(31823),d=s(21917),u=s(10831);function f(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return p(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return p(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s0})),o=s.map((function(t){return t.id}));t.ids=o,t.max_id=Math.min.apply(Math,f(o)),s.forEach((function(e){t.feed.push(e)})),setTimeout((function(){t.canLoadMore=e.data.length>1,t.feedLoaded=!0}),500)}))},enterIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/accounts/"+this.profile.id+"/statuses",{params:{limit:9,only_media:!0,max_id:this.max_id}}).then((function(e){e.data&&e.data.length||(t.canLoadMore=!1);var s=e.data.filter((function(t){return t.media_attachments.length>0})).filter((function(e){return-1==t.ids.indexOf(e.id)}));if(!s||!s.length)return t.canLoadMore=!1,void(t.isIntersecting=!1);s.forEach((function(e){e.id=1})).catch((function(e){t.canLoadMore=!1})))},toggleLayout:function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&event.currentTarget.blur(),this.layoutIndex=t,this.isIntersecting=!1},toggleTab:function(t){switch(event.currentTarget.blur(),t){case 1:this.isIntersecting=!1,this.tabIndex=1;break;case 2:this.fetchCollections();break;case 3:this.fetchFavourites();break;case"bookmarks":this.fetchBookmarks();break;case"archives":this.fetchArchives()}},fetchCollections:function(){var t=this;this.collectionsLoaded&&(this.tabIndex=2),axios.get("/api/local/profile/collections/"+this.profile.id).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.tabIndex=2,t.collectionsPage++,t.canLoadMoreCollections=9===e.data.length}))},enterCollectionsIntersect:function(){var t=this;this.isCollectionsIntersecting||(this.isCollectionsIntersecting=!0,axios.get("/api/local/profile/collections/"+this.profile.id,{params:{limit:9,page:this.collectionsPage}}).then((function(e){var s;e.data&&e.data.length||(t.canLoadMoreCollections=!1),t.collectionsLoaded=!0,(s=t.collections).push.apply(s,f(e.data)),t.collectionsPage++,t.canLoadMoreCollections=e.data.length>0,t.isCollectionsIntersecting=!1})).catch((function(e){t.canLoadMoreCollections=!1,t.isCollectionsIntersecting=!1})))},fetchFavourites:function(){var t=this;this.tabIndex=0,axios.get("/api/pixelfed/v1/favourites").then((function(e){t.tabIndex=3,t.favourites=e.data,t.favouritesPage++,t.favouritesLoaded=!0,0!=e.data.length&&(t.canLoadMoreFavourites=!0)}))},enterFavouritesIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v1/favourites",{params:{page:this.favouritesPage}}).then((function(e){var s;(s=t.favourites).push.apply(s,f(e.data)),t.favouritesPage++,t.canLoadMoreFavourites=0!=e.data.length,t.isIntersecting=!1})).catch((function(e){t.canLoadMoreFavourites=!1})))},fetchBookmarks:function(){var t=this;this.tabIndex=0,axios.get("/api/v1/bookmarks",{params:{_pe:1}}).then((function(e){if(t.tabIndex="bookmarks",t.bookmarks=e.data,e.headers&&e.headers.link){var s=(0,u.parseLinkHeader)(e.headers.link);s.next?(t.bookmarksPage=s.next.cursor,t.canLoadMoreBookmarks=!0):t.canLoadMoreBookmarks=!1}t.bookmarksLoaded=!0}))},enterBookmarksIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/v1/bookmarks",{params:{_pe:1,cursor:this.bookmarksPage}}).then((function(e){var s;if((s=t.bookmarks).push.apply(s,f(e.data)),e.headers&&e.headers.link){var o=(0,u.parseLinkHeader)(e.headers.link);o.next?(t.bookmarksPage=o.next.cursor,t.canLoadMoreBookmarks=!0):t.canLoadMoreBookmarks=!1}t.isIntersecting=!1})).catch((function(e){t.canLoadMoreBookmarks=!1})))},fetchArchives:function(){var t=this;this.tabIndex=0,axios.get("/api/pixelfed/v2/statuses/archives").then((function(e){t.tabIndex="archives",t.archives=e.data,t.archivesPage++,t.archivesLoaded=!0,0!=e.data.length&&(t.canLoadMoreArchives=!0)}))},formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return"/i/web/post/"+t.id},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].url},timeago:function(t){return App.util.format.timeAgo(t)},likeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1}))},unlikeStatus:function(t){var e=this,s=this.feed[t],o=(s.favourited,s.favourites_count);this.feed[t].favourites_count=o-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").catch((function(s){e.feed[t].favourites_count=o,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;switch(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"feed"){case"feed":this.postIndex=t,this.contextMenuPost=this.feed[t];break;case"archive":this.postIndex=t,this.contextMenuPost=this.archives[t]}this.showMenu=!0,this.$nextTick((function(){e.$refs.contextMenu.open()}))},openLikesModal:function(t){var e=this;this.postIndex=t,this.likesModalPost=this.feed[this.postIndex],this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t,this.sharesModalPost=this.feed[this.postIndex],this.showSharesModal=!0,this.$nextTick((function(){e.$refs.sharesModal.open()}))},commitModeration:function(t){var e=this.postIndex;switch(t){case"addcw":this.feed[e].sensitive=!0;break;case"remcw":this.feed[e].sensitive=!1;break;case"unlist":this.feed.splice(e,1);break;case"spammer":var s=this.feed[e].account.id;this.feed=this.feed.filter((function(t){return t.account.id!=s}))}},counterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],o=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=o-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").catch((function(s){e.feed[t].reblogs_count=o,e.feed[t].reblogged=!1}))},handleReport:function(t){var e=this;this.reportedStatusId=t.id,this.$nextTick((function(){e.reportedStatus=t,e.$refs.reportModal.open()}))},deletePost:function(){this.feed.splice(this.postIndex,1)},handleArchived:function(t){this.feed.splice(this.postIndex,1)},handleUnarchived:function(t){this.feed=[],this.fetchFeed()},enterArchivesIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/pixelfed/v2/statuses/archives",{params:{page:this.archivesPage}}).then((function(e){var s;(s=t.archives).push.apply(s,f(e.data)),t.archivesPage++,t.canLoadMoreArchives=0!=e.data.length,t.isIntersecting=!1})).catch((function(e){t.canLoadMoreArchives=!1})))},handleBookmark:function(t){var e=this;if(window.confirm("Are you sure you want to unbookmark this post?")){var s=this.bookmarks[t];axios.post("/i/bookmark",{item:s.id}).then((function(o){e.bookmarks=e.bookmarks.map((function(t){return t.id==s.id&&(t.bookmarked=!1,delete t.bookmarked_at),t})),e.bookmarks.splice(t,1)})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))}}}}},55998:(t,e,s)=>{s.r(e),s.d(e,{default:()=>p});var o=s(78423),i=s(48510),n=s(22583),a=s(20629),r=s(10831);function l(t){return l="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},l(t)}function c(t){return function(t){if(Array.isArray(t))return d(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 d(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return d(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),o=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):t}))}return s},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},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,s)=>{s.r(e),s.d(e,{default:()=>p});var o=s(78423),i=s(48510),n=s(22583),a=s(20629),r=s(10831);function l(t){return l="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},l(t)}function c(t){return function(t){if(Array.isArray(t))return d(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 d(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return d(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),o=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):t}))}return s},goToProfile:function(t){this.$router.push({path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},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,s)=>{s.r(e),s.d(e,{default:()=>l});var o=s(80979),i=s(20629);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function a(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function r(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var o=s.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:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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 s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},getUsername:function(){return this.profile.acct},formatCount:function(t){return App.util.format.count(t)},goToProfile:function(){this.$router.push({name:"profile",path:"/i/web/profile/".concat(this.profile.id),params:{id:this.profile.id,cachedProfile:this.profile,cachedUser:this.user}})},rewriteLinks:function(){var t=this,e=this.profile.note,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},44078:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(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 s=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,o)}return s}function a(t,e,s){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var o=s.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:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={props:{profile:{type:Object},relationship:{type:Object,default:function(){return{following:!1,followed_by:!1}}},user:{type:Object}},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),o=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return o.length?''.concat(o[0].shortcode,''):e}))}return s},formatCount:function(t){return App.util.format.count(t)},goBack:function(){this.$emit("back")},showFullBio:function(){this.$refs.fullBio.show()},toggleTab:function(t){event.currentTarget.blur(),["followers","following"].includes(t)?this.$router.push("/i/web/profile/"+this.profile.id+"/"+t):this.$emit("toggletab",t)},getJoinedDate:function(){var t=new Date(this.profile.created_at),e=new Intl.DateTimeFormat("en-US",{month:"long"}).format(t),s=t.getFullYear();return"".concat(e," ").concat(s)},follow:function(){event.currentTarget.blur(),this.$emit("follow")},unfollow:function(){event.currentTarget.blur(),this.$emit("unfollow")},setBio:function(){var t=this;if(this.profile.note.length)if(this.profile.local){var e=this.profile.hasOwnProperty("note_text")?this.profile.note_text:this.profile.note.replace(/(<([^>]+)>)/gi,"");this.renderedBio=window.pftxt.autoLink(e,{usernameUrlBase:"/i/web/profile/@",hashtagUrlBase:"/i/web/hashtag/"})}else{if("

"===this.profile.note)return void(this.renderedBio=null);var s=this.profile.note,o=document.createElement("div");o.innerHTML=s,o.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)})),o.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.profile.local&&!s.includes("@")){var o=document.createElement("a");o.href=t.profile.url,s=s+"@"+o.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.renderedBio=o.outerHTML}},getAvatar:function(){return this.profile.id==this.user.id?window._sharedData.user.avatar:this.profile.avatar},copyTextToClipboard:function(t){App.util.clipboard(t)},goToOldProfile:function(){this.profile.local?location.href=this.profile.url+"?fs=1":location.href="/i/web/profile/_/"+this.profile.id},handleMute:function(){var t=this,e=this.relationship.muting?"unmuted":"muted",s=1==this.relationship.muting?"/i/unmute":"/i/mute";axios.post(s,{type:"user",item:this.profile.id}).then((function(s){t.$emit("updateRelationship",s.data),swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){var e,s;422===t.response.status?swal({title:"Error",text:null===(e=t.response)||void 0===e||null===(s=e.data)||void 0===s?void 0:s.error,icon:"error",buttons:{review:{text:"Review muted accounts",value:"review",className:"btn-primary"},cancel:!0}}).then((function(t){t&&"review"==t&&(location.href="/settings/privacy/muted-users")})):swal("Error","Something went wrong. Please try again later.","error")}))},handleBlock:function(){var t=this,e=this.relationship.blocking?"unblock":"block",s=1==this.relationship.blocking?"/i/unblock":"/i/block";axios.post(s,{type:"user",item:this.profile.id}).then((function(s){t.$emit("updateRelationship",s.data),swal("Success","You have successfully "+e+"ed "+t.profile.acct,"success")})).catch((function(t){var e,s;422===t.response.status?swal({title:"Error",text:null===(e=t.response)||void 0===e||null===(s=e.data)||void 0===s?void 0:s.error,icon:"error",buttons:{review:{text:"Review blocked accounts",value:"review",className:"btn-primary"},cancel:!0}}).then((function(t){t&&"review"==t&&(location.href="/settings/privacy/blocked-users")})):swal("Error","Something went wrong. Please try again later.","error")}))},cancelFollowRequest:function(){window.confirm("Are you sure you want to cancel your follow request?")&&(event.currentTarget.blur(),this.$emit("unfollow"))}}}},14583:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});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-md-3 d-md-block px-md-3 px-xl-5"},[e("profile-sidebar",{attrs:{profile:t.profile,relationship:t.relationship,user:t.curUser},on:{back:t.goBack,toggletab:t.toggleTab,updateRelationship:t.updateRelationship,follow:t.follow,unfollow:t.unfollow}})],1),t._v(" "),e("div",{staticClass:"col-md-8 px-md-5"},[e(t.getTabComponentName(),{key:t.getTabComponentName()+t.profile.id,tag:"component",attrs:{profile:t.profile,relationship:t.relationship}})],1)]),t._v(" "),e("drawer")],1):t._e()])},i=[]},76551:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this;return(0,t._self._c)("canvas",{ref:"canvas",attrs:{width:t.parseNumber(t.width),height:t.parseNumber(t.height)}})},i=[]},41262:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),e("div",{staticClass:"ph-col-6 big"})]),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"ph-picture"}),t._v(" "),e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12 big"}),t._v(" "),e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])}]},67192:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.status},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.status}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.status,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.status,profile:t.profile},on:{"handle-report":t.handleReport,"counter-change":t.counterChange,"show-likes":t.showCommentLikes,follow:t.follow,unfollow:t.unfollow}})],1):t._e()],1)])},i=[]},7231:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});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)])])])])},i=[]},97584:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},18683:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,o){return e("div",{key:"cd:"+s.id+":"+o,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===o?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(o,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(o)},unfollow:function(e){return t.unfollow(o)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+o),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===o?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===o?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===o?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(o)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(o)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[o].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[o].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[o].replies},on:{"counter-change":function(e){return t.replyCounterChange(o,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==o&&t.feed[o].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==o?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(o,e)},"counter-change":function(e){return t.replyCounterChange(o,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54822:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,o){return e("div",{key:"cd:"+s.id+":"+o},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(o)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+o),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(o)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},74212:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{"border-color":"#e2e8f0 !important",resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},86251:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewPost"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.viewProfile"))+"\n\t\t\t\t")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.share"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.report"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.archive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unarchive"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n\t\t\t\t\t "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.moderationTools"))+"\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("menu.selectOneOption"))+"\n\t\t\t\t\t")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.unlistFromTimelines"))+"\n\t\t\t\t")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.removeCW"))+"\n\t\t\t\t")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.addCW"))+"\n\t\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.cancel"))+"\n\t\t\t\t")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" "+t._s(t.$t("menu.toFollowers")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v(t._s(t.$t("common.copyLink")))]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v(t._s(t.$t("menu.embed")))]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v(t._s(t.$t("common.cancel")))])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showCaption"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.showLikes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,i=!!o.checked;if(Array.isArray(s)){var n=t._i(s,null);o.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("menu.compactMode"))+"\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},73954:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92994:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,o){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},3103:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(1),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\tSensitive Content\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div"):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],2):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},34108:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticClass:"mr-3",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"primary",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n\t\t\t\t\t"+t._s(t.timeago(t.status.created_at))+"\n\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.license?e("span",[e("span",{staticClass:"mx-1 text-lighter user-select-none"},[t._v("·")]),t._v(" "),t.license.id<7?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license"}},[t._v(t._s(t.license.title))]):e("a",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],staticClass:"visibility user-select-none",attrs:{title:"This work is licensed under a "+t.license.title+" license",href:t.license.url,target:"_blank"}},[t._v(t._s(t.license.title))])]):t._e(),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("common.delete"))+"\n\t\t\t\t")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1)])},i=[]},84027:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v("@"+t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},93853:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});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)}})])},i=[]},10454:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,o){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===o?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(o)}}},[t.isUpdatingFollowState&&t.followStateIndex===o?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},78007:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-feed-component"},[e("div",{staticClass:"profile-feed-component-nav d-flex justify-content-center justify-content-md-between align-items-center mb-4"},[e("div",{staticClass:"d-none d-md-block border-bottom flex-grow-1 profile-nav-btns"},[e("div",{staticClass:"btn-group"},[e("button",{staticClass:"btn btn-link",class:[1===t.tabIndex?"active":""],on:{click:function(e){return t.toggleTab(1)}}},[t._v("\n\t\t\t\t\tPosts\n\t\t\t\t")]),t._v(" "),t.isOwner?e("button",{staticClass:"btn btn-link",class:["archives"===t.tabIndex?"active":""],on:{click:function(e){return t.toggleTab("archives")}}},[t._v("\n\t\t\t\t\tArchives\n\t\t\t\t")]):t._e(),t._v(" "),t.isOwner?e("button",{staticClass:"btn btn-link",class:["bookmarks"===t.tabIndex?"active":""],on:{click:function(e){return t.toggleTab("bookmarks")}}},[t._v("\n\t\t\t\t\tBookmarks\n\t\t\t\t")]):t._e(),t._v(" "),t.canViewCollections?e("button",{staticClass:"btn btn-link",class:[2===t.tabIndex?"active":""],on:{click:function(e){return t.toggleTab(2)}}},[t._v("\n\t\t\t\t\tCollections\n\t\t\t\t")]):t._e(),t._v(" "),t.isOwner?e("button",{staticClass:"btn btn-link",class:[3===t.tabIndex?"active":""],on:{click:function(e){return t.toggleTab(3)}}},[t._v("\n\t\t\t\t\tLikes\n\t\t\t\t")]):t._e()])]),t._v(" "),1===t.tabIndex?e("div",{staticClass:"btn-group layout-sort-toggle"},[e("button",{staticClass:"btn btn-sm",class:[0===t.layoutIndex?"btn-dark":"btn-light"],on:{click:function(e){return t.toggleLayout(0,!0)}}},[e("i",{staticClass:"far fa-th fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-sm",class:[1===t.layoutIndex?"btn-dark":"btn-light"],on:{click:function(e){return t.toggleLayout(1,!0)}}},[e("i",{staticClass:"fas fa-th-large fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-sm",class:[2===t.layoutIndex?"btn-dark":"btn-light"],on:{click:function(e){return t.toggleLayout(2,!0)}}},[e("i",{staticClass:"far fa-bars fa-lg"})])]):t._e()]),t._v(" "),0==t.tabIndex?e("div",{staticClass:"d-flex justify-content-center mt-5"},[e("b-spinner")],1):1==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[0===t.layoutIndex?e("div",{staticClass:"row"},[t._l(t.feed,(function(s,o){return e("div",{key:"tlob:"+o+s.id,staticClass:"col-4 p-1"},[s.hasOwnProperty("pf_type")&&"video"==s.pf_type?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[s.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].preview_url}})],1),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("div",{staticClass:"text-white m-auto"},[e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.favourites_count)))])]),t._v(" "),e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reply_count)))])]),t._v(" "),e("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reblogs_count)))])])])])]),t._v(" "),t._m(1,!0),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t")])]):e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[s.sensitive?e("div",{staticClass:"square-content"},[t._m(2,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].url}})],1),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("div",{staticClass:"text-white m-auto"},[e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.favourites_count)))])]),t._v(" "),e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reply_count)))])]),t._v(" "),e("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reblogs_count)))])])])])]),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"col-4 ph-wrapper"},[e("div",{staticClass:"ph-item"},[e("div",{staticClass:"ph-picture big"})])])]):t._e()],2):1===t.layoutIndex?e("div",{staticClass:"row"},[e("masonry",{attrs:{cols:{default:3,800:2},gutter:{default:"5px"}}},[t._l(t.feed,(function(s,o){return e("div",{key:"tlog:"+o+s.id,staticClass:"p-1"},[s.hasOwnProperty("pf_type")&&"video"==s.pf_type?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content"},[e("blur-hash-image",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].preview_url}})],1)]),t._v(" "),e("span",{staticClass:"badge badge-light video-overlay-badge"},[e("i",{staticClass:"far fa-video fa-2x"})]),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t")])]):s.sensitive?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content"},[e("div",{staticClass:"info-overlay-text-label rounded"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])]),t._v(" "),e("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1)])]):e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("img",{staticClass:"img-fluid w-100 rounded-lg",attrs:{src:t.previewUrl(s),onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"p-1 ph-wrapper"},[e("div",{staticClass:"ph-item"},[e("div",{staticClass:"ph-picture big"})])])]):t._e()],2)],1):2===t.layoutIndex?e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.feed,(function(s,o){return e("status-card",{key:"prs"+s.id+":"+o,attrs:{profile:t.user,status:s},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"shares-modal":function(e){return t.openSharesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"col-12 col-md-10"},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)]):t._e()],1):t._e(),t._v(" "),t.feedLoaded&&!t.feed.length?e("div",[e("div",{staticClass:"row 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("profile.emptyPosts")))])])])]):t._e()]):"private"===t.tabIndex?e("div",{staticClass:"row 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-secure-feed.svg"}}),t._v(" "),e("p",{staticClass:"h3 text-dark font-weight-bold mt-3 py-3"},[t._v("This profile is private")]),t._v(" "),e("div",{staticClass:"lead text-muted px-3"},[t._v("\n\t\t\t\tOnly approved followers can see "),e("span",{staticClass:"font-weight-bold text-dark text-break"},[t._v("@"+t._s(t.profile.acct))]),t._v("'s "),e("br"),t._v("\n\t\t\t\tposts. To request access, click "),e("span",{staticClass:"font-weight-bold"},[t._v("Follow")]),t._v(".\n\t\t\t")])])]):2==t.tabIndex?e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"list-group"},t._l(t.collections,(function(s,o){return e("a",{staticClass:"list-group-item text-decoration-none text-dark",attrs:{href:s.url}},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:s.thumb,width:"65",height:"65",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"lead mb-0"},[t._v(t._s(s.title?s.title:"Untitled"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(s.description||"No description available"))]),t._v(" "),e("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[e("span",[t._v(t._s(s.post_count)+" posts")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),"public"===s.visibility?e("span",{staticClass:"text-dark"},[t._v("Public")]):"private"===s.visibility?e("span",{staticClass:"text-dark"},[e("i",{staticClass:"far fa-lock fa-sm"}),t._v(" Followers Only")]):"draft"===s.visibility?e("span",{staticClass:"primary"},[e("i",{staticClass:"far fa-lock fa-sm"}),t._v(" Draft")]):t._e(),t._v(" "),e("span",[t._v("·")]),t._v(" "),s.published_at?e("span",[t._v("Created "+t._s(t.timeago(s.published_at))+" ago")]):e("span",{staticClass:"text-warning"},[t._v("UNPUBLISHED")])])])])])})),0)]),t._v(" "),t.collectionsLoaded&&!t.collections.length?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("profile.emptyCollections")))])]):t._e(),t._v(" "),t.canLoadMoreCollections?e("div",{staticClass:"col-12 col-md-8"},[e("intersect",{on:{enter:t.enterCollectionsIntersect}},[e("div",{staticClass:"d-flex justify-content-center mt-5"},[e("b-spinner",{attrs:{small:""}})],1)])],1):t._e()]):3==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.favourites,(function(s,o){return e("status-card",{key:"prs"+s.id+":"+o,attrs:{profile:t.user,status:s},on:{like:function(e){return t.likeStatus(o)},unlike:function(e){return t.unlikeStatus(o)},share:function(e){return t.shareStatus(o)},unshare:function(e){return t.unshareStatus(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMoreFavourites?e("div",{staticClass:"col-12 col-md-10"},[e("intersect",{on:{enter:t.enterFavouritesIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.favourites&&t.favourites.length?t._e():e("div",{staticClass:"row justify-content-center"},[t._m(3)])]):"bookmarks"==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.bookmarks,(function(s,o){return e("status-card",{key:"prs"+s.id+":"+o,attrs:{profile:t.user,"new-reactions":!0,status:s},on:{menu:function(e){return t.openContextMenu(o)},"counter-change":function(e){return t.counterChange(o,e)},"likes-modal":function(e){return t.openLikesModal(o)},bookmark:function(e){return t.handleBookmark(o)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),e("div",{staticClass:"col-12 col-md-10"},[t.canLoadMoreBookmarks?e("intersect",{on:{enter:t.enterBookmarksIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1):t._e()],1)]),t._v(" "),t.bookmarks&&t.bookmarks.length?t._e():e("div",{staticClass:"row justify-content-center"},[t._m(4)])]):"archives"==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.archives,(function(s,o){return e("status-card",{key:"prarc"+s.id+":"+o,attrs:{profile:t.user,"new-reactions":!0,"reaction-bar":!1,status:s},on:{menu:function(e){return t.openContextMenu(o,"archive")}}})})),1),t._v(" "),t.canLoadMoreArchives?e("div",{staticClass:"col-12 col-md-10"},[e("intersect",{on:{enter:t.enterArchivesIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.archives&&t.archives.length?t._e():e("div",{staticClass:"row justify-content-center"},[t._m(5)])]):t._e(),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.contextMenuPost,profile:t.user},on:{moderate:t.commitModeration,delete:t.deletePost,archived:t.handleArchived,unarchived:t.handleUnarchived,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this._self._c;return t("span",{staticClass:"badge badge-light video-overlay-badge"},[t("i",{staticClass:"far fa-video fa-2x"})])},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"})])])])},function(){var t=this,e=t._self._c;return 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("We can't seem to find any posts you have liked")])])},function(){var t=this,e=t._self._c;return 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("We can't seem to find any posts you have bookmarked")])])},function(){var t=this,e=t._self._c;return 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("We can't seem to find any posts you have bookmarked")])])}]},14226:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});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(s,o){return e("div",{staticClass:"list-group-item"},[e("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+s.id,href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",draggable:"false",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(s))}})]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-muted small text-break"},[t._v("@"+t._s(s.acct))])])])]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+s.id,triggers:"hover",placement:"left",delay:"1000","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:s}})],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)])])])},i=[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")])])}]},24786:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});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(s,o){return e("div",{staticClass:"list-group-item"},[e("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+s.id,href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",draggable:"false",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(s))}})]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-muted small text-break"},[t._v("@"+t._s(s.acct))])])])]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+s.id,triggers:"hover",placement:"left",delay:"1000","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:s}})],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)])])])},i=[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,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});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")])])])])},i=[]},84478:(t,e,s)=>{s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-sidebar-component"},[e("div",[e("div",{staticClass:"d-block d-md-none"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.profile.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?e("span",[t._v("@"+t._s(t.profile.acct))]):e("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?e("span",[e("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),e("div",{staticClass:"stats"},[e("div",{staticClass:"stats-posts",on:{click:function(e){return t.toggleTab("index")}}},[e("div",{staticClass:"posts-count"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.posts"))+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"stats-followers",on:{click:function(e){return t.toggleTab("followers")}}},[e("div",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"stats-following",on:{click:function(e){return t.toggleTab("following")}}},[e("div",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"d-none d-md-flex justify-content-between align-items-center"},[e("button",{staticClass:"btn btn-link",on:{click:function(e){return t.goBack()}}},[e("i",{staticClass:"far fa-chevron-left fa-lg text-lighter"})]),t._v(" "),e("div",[e("img",{staticClass:"avatar img-fluid shadow border",attrs:{src:t.getAvatar(),onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),t.profile.is_admin?e("p",{staticClass:"text-right",staticStyle:{"margin-top":"-30px"}},[e("span",{staticClass:"admin-label"},[t._v("Admin")])]):t._e()]),t._v(" "),e("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[e("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),t.profile.local?e("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]):t._e(),t._v(" "),e("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?e("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?e("div",[e("b-dropdown-divider"),t._v(" "),e("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[e("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t")])],1):e("div",[t.profile.local?t._e():e("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")]),t._v(" "),e("b-dropdown-item",{attrs:{href:"/i/web/direct/thread/"+t.profile.id,"link-class":"font-weight-bold"}},[t._v("Direct Message")])],1),t._v(" "),t.profile.id!==t.user.id?e("div",[e("b-dropdown-divider"),t._v(" "),e("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t\t")]),t._v(" "),e("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t\t")]),t._v(" "),e("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1),t._v(" "),e("div",{staticClass:"d-none d-md-block text-center"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?e("span",[t._v("@"+t._s(t.profile.acct))]):e("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?e("span",[e("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),t.user.id!=t.profile.id&&(t.relationship.followed_by||t.relationship.muting||t.relationship.blocking)?e("p",{staticClass:"mt-n3 text-center"},[t.relationship.followed_by?e("span",{staticClass:"badge badge-primary p-1"},[t._v("Follows you")]):t._e(),t._v(" "),t.relationship.muting?e("span",{staticClass:"badge badge-dark p-1 ml-1"},[t._v("Muted")]):t._e(),t._v(" "),t.relationship.blocking?e("span",{staticClass:"badge badge-danger p-1 ml-1"},[t._v("Blocked")]):t._e()]):t._e()]),t._v(" "),e("div",{staticClass:"d-none d-md-block stats py-2"},[e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("index")}}},[e("strong",{attrs:{title:t.profile.statuses_count}},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("span",[t._v(t._s(t.$t("profile.posts")))])]),t._v(" "),e("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("followers")}}},[e("strong",{attrs:{title:t.profile.followers_count}},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("span",[t._v(t._s(t.$t("profile.followers")))])]),t._v(" "),e("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("following")}}},[e("strong",{attrs:{title:t.profile.following_count}},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("span",[t._v(t._s(t.$t("profile.following")))])])])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center mb-3 mb-md-0"},[t.user.id===t.profile.id?e("div",{staticStyle:{"flex-grow":"1"}},[e("a",{staticClass:"btn btn-light font-weight-bold btn-block follow-btn",attrs:{href:"/settings/home"}},[t._v(t._s(t.$t("profile.editProfile")))]),t._v(" "),t.profile.locked?t._e():e("a",{staticClass:"btn btn-light font-weight-bold btn-block follow-btn mt-md-n4",attrs:{href:"/i/web/my-portfolio"}},[t._v("\n My Portfolio\n "),e("span",{staticClass:"badge badge-success ml-1"},[t._v("NEW")])])]):t.profile.locked?e("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following||t.relationship.requested?t.relationship.requested?e("div",[e("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("profile.followRequested"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small font-weight-bold text-center mt-n4"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.cancelFollowRequest()}}},[t._v("Cancel Follow Request")])])]):t.relationship.following?e("button",{staticClass:"btn btn-primary font-weight-bold btn-block unfollow-btn",on:{click:t.unfollow}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t")]):t._e():[e("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:t.relationship.blocking},on:{click:t.follow}},[t._v("\n\t\t\t\t\t\t\tRequest Follow\n\t\t\t\t\t\t")]),t._v(" "),t.relationship.blocking?e("p",{staticClass:"mt-n4 text-lighter",staticStyle:{"font-size":"11px"}},[t._v("You need to unblock this account before you can request to follow.")]):t._e()]],2):e("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following?e("button",{staticClass:"btn btn-primary font-weight-bold btn-block unfollow-btn",on:{click:t.unfollow}},[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t")]):[e("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:t.relationship.blocking},on:{click:t.follow}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t\t\t")]),t._v(" "),t.relationship.blocking?e("p",{staticClass:"mt-n4 text-lighter",staticStyle:{"font-size":"11px"}},[t._v("You need to unblock this account before you can follow.")]):t._e()]],2),t._v(" "),e("div",{staticClass:"d-block d-md-none ml-3"},[e("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[e("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),t.profile.local?e("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.goToOldProfile()}}},[t._v("View in old UI")]):t._e(),t._v(" "),e("b-dropdown-item",{attrs:{href:"#","link-class":"font-weight-bold"},on:{click:function(e){return e.preventDefault(),t.copyTextToClipboard(t.profile.url)}}},[t._v("Copy Link")]),t._v(" "),t.profile.local?e("b-dropdown-item",{attrs:{href:"/users/"+t.profile.username+".atom","link-class":"font-weight-bold"}},[t._v("Atom feed")]):t._e(),t._v(" "),t.profile.id==t.user.id?e("div",[e("b-dropdown-divider"),t._v(" "),e("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[e("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t\t")])],1):e("div",[t.profile.local?t._e():e("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")]),t._v(" "),e("b-dropdown-item",{attrs:{href:"/i/web/direct/thread/"+t.profile.id,"link-class":"font-weight-bold"}},[t._v("Direct Message")])],1),t._v(" "),t.profile.id!==t.user.id?e("div",[e("b-dropdown-divider"),t._v(" "),e("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleMute()}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(e){return t.handleBlock()}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("b-dropdown-item",{attrs:{href:"/i/report?type=user&id="+t.profile.id,"link-class":"text-danger font-weight-bold"}},[t._v("Report")])],1):t._e()],1)],1)]),t._v(" "),t.profile.note&&t.renderedBio&&t.renderedBio.length?e("div",{staticClass:"bio-wrapper card shadow-none"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"bio-body"},[e("div",{domProps:{innerHTML:t._s(t.renderedBio)}})])])]):t._e(),t._v(" "),e("div",{staticClass:"d-none d-md-block card card-body shadow-none py-2"},[t.profile.website?e("p",{staticClass:"small"},[t._m(0),t._v(" "),e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.profile.website}},[t._v(t._s(t.profile.website))])])]):t._e(),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._m(1),t._v(" "),t.profile.local?e("span",[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\n\t\t\t\t\t\t"),e("span",{staticClass:"float-right primary"},[e("i",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"far fa-info-circle",attrs:{title:"This user is from a remote server and may have created their account before this date"}})])])])]),t._v(" "),e("div",{staticClass:"d-none d-md-flex sidebar-sitelinks"},[e("a",{attrs:{href:"/site/about"}},[t._v(t._s(t.$t("navmenu.about")))]),t._v(" "),e("router-link",{attrs:{to:"/i/web/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("router-link",{attrs:{to:"/i/web/language"}},[t._v(t._s(t.$t("navmenu.language")))]),t._v(" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))])],1),t._v(" "),t._m(2)]),t._v(" "),e("b-modal",{ref:"fullBio",attrs:{centered:"","hide-footer":"","ok-only":"","ok-title":"Close","ok-variant":"light",scrollable:!0,"body-class":"p-md-5",title:"Bio"}},[e("div",{domProps:{innerHTML:t._s(t.profile.note)}})])],1)},i=[function(){var t=this._self._c;return t("span",{staticClass:"text-lighter mr-2"},[t("i",{staticClass:"far fa-link"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-lighter mr-2"},[t("i",{staticClass:"far fa-clock"})])},function(){var t=this._self._c;return t("div",{staticClass:"d-none d-md-block sidebar-attribution"},[t("a",{staticClass:"font-weight-bold",attrs:{href:"https://pixelfed.org"}},[this._v("Powered by Pixelfed")])])}]},94493:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-timeline-component[data-v-796a296e]{margin-bottom:10rem}",""]);const n=i},27101:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .username{margin-bottom:-6px;word-break:break-word}@media (min-width:768px){.timeline-status-component .username{font-size:18px}}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},95433:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},6662:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},9782:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-feed-component{margin-top:0}.profile-feed-component .ph-wrapper{padding:.25rem}.profile-feed-component .ph-wrapper .ph-item{background-color:transparent;border:none;margin:0;padding:0}.profile-feed-component .ph-wrapper .ph-item .ph-picture{border-radius:5px;height:auto;padding-bottom:100%}.profile-feed-component .ph-wrapper .ph-item>*{margin-bottom:0}.profile-feed-component .info-overlay-text-field{font-size:13.5px;margin-bottom:2px}@media (min-width:768px){.profile-feed-component .info-overlay-text-field{font-size:20px;margin-bottom:15px}}.profile-feed-component .video-overlay-badge{color:var(--dark);opacity:.6;padding-bottom:1px;position:absolute;right:10px;top:10px}.profile-feed-component .timestamp-overlay-badge{bottom:10px;opacity:.6;position:absolute;right:10px}.profile-feed-component .profile-nav-btns{margin-right:1rem}.profile-feed-component .profile-nav-btns .btn-group{min-height:45px}.profile-feed-component .profile-nav-btns .btn-link{border-radius:0;color:var(--text-lighter);font-size:14px;font-weight:700;margin-right:1rem}.profile-feed-component .profile-nav-btns .btn-link:hover{color:var(--text-muted);text-decoration:none}.profile-feed-component .profile-nav-btns .btn-link.active{border-bottom:1px solid var(--dark);color:var(--dark);transition:border-bottom .25s ease-in-out}.profile-feed-component .layout-sort-toggle .btn{border:none}.profile-feed-component .layout-sort-toggle .btn.btn-light{opacity:.4}",""]);const n=i},16035:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-followers-component .list-group-item{border:none}.profile-followers-component .list-group-item:not(:last-child){border-bottom:1px solid rgba(0,0,0,.125)}.profile-followers-component .scroll-card{-ms-overflow-style:none;max-height:calc(100vh - 250px);overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none}.profile-followers-component .scroll-card::-webkit-scrollbar{display:none}.profile-followers-component .spacer-btn{opacity:0;pointer-events:none}",""]);const n=i},36856:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-following-component .list-group-item{border:none}.profile-following-component .list-group-item:not(:last-child){border-bottom:1px solid rgba(0,0,0,.125)}.profile-following-component .scroll-card{-ms-overflow-style:none;max-height:calc(100vh - 250px);overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none}.profile-following-component .scroll-card::-webkit-scrollbar{display:none}.profile-following-component .spacer-btn{opacity:0;pointer-events:none}",""]);const n=i},93986:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},97429:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(1519),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,'.profile-sidebar-component{margin-bottom:1rem}.profile-sidebar-component .avatar{border-radius:15px;margin-bottom:1rem;width:140px}.profile-sidebar-component .display-name{font-size:20px;font-size:15px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-sidebar-component .display-name,.profile-sidebar-component .username{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.profile-sidebar-component .username{color:var(--primary);font-size:14px;font-weight:600}.profile-sidebar-component .username.remote{font-size:11px}.profile-sidebar-component .stats{margin-bottom:1rem}.profile-sidebar-component .stats .stat-item{flex:0 0 33%;margin:0;max-width:33%;padding:0;text-align:center;text-decoration:none}.profile-sidebar-component .stats .stat-item strong{color:var(--body-color);display:block;font-size:18px;line-height:.9}.profile-sidebar-component .stats .stat-item span{color:#b8c2cc;display:block;font-size:12px}@media (min-width:768px){.profile-sidebar-component .follow-btn{margin-bottom:2rem}}.profile-sidebar-component .follow-btn.btn-primary{background-color:var(--primary)}.profile-sidebar-component .follow-btn.btn-light{border-color:var(--input-border)}.profile-sidebar-component .unfollow-btn{background-color:rgba(59,130,246,.7)}@media (min-width:768px){.profile-sidebar-component .unfollow-btn{margin-bottom:2rem}}.profile-sidebar-component .bio-wrapper{margin-bottom:1rem}.profile-sidebar-component .bio-wrapper .bio-body{display:block;font-size:12px!important;position:relative;white-space:pre-wrap}.profile-sidebar-component .bio-wrapper .bio-body .username{font-size:12px!important}.profile-sidebar-component .bio-wrapper .bio-body.long{max-height:80px;overflow:hidden}.profile-sidebar-component .bio-wrapper .bio-body.long:after{background:linear-gradient(180deg,transparent,hsla(0,0%,100%,.9) 60%,#fff 90%);content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:2}.profile-sidebar-component .bio-wrapper .bio-body p{margin-bottom:0!important}.profile-sidebar-component .bio-wrapper .bio-more{position:relative;z-index:3}.profile-sidebar-component .admin-label{background:#fee2e2;border:1px solid #fca5a5;border-radius:8px;color:#b91c1c;display:inline-block;font-size:12px;font-weight:600;padding:1px 5px;text-transform:capitalize}.profile-sidebar-component .sidebar-sitelinks{justify-content:space-between;margin-top:1rem;padding:0}.profile-sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.profile-sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.profile-sidebar-component .sidebar-attribution{color:#b8c2cc!important;font-size:12px;margin-top:.5rem}.profile-sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.profile-sidebar-component .user-card{align-items:center}.profile-sidebar-component .user-card .avatar{border:1px solid #e5e7eb;border-radius:15px;height:80px;margin-right:.8rem;width:80px}@media (min-width:390px){.profile-sidebar-component .user-card .avatar{height:100px;width:100px}}.profile-sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.profile-sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.profile-sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.profile-sidebar-component .user-card .username{font-size:13px;font-weight:600;line-height:12px;margin:4px 0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}@media (min-width:390px){.profile-sidebar-component .user-card .username{font-size:16px;margin:8px 0}}.profile-sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:20px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}@media (min-width:390px){.profile-sidebar-component .user-card .display-name{font-size:24px}}.profile-sidebar-component .user-card .stats{display:flex;flex-direction:row;font-size:16px;justify-content:space-between;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-sidebar-component .user-card .stats .followers-count,.profile-sidebar-component .user-card .stats .following-count,.profile-sidebar-component .user-card .stats .posts-count{display:flex;font-weight:800}.profile-sidebar-component .user-card .stats .stats-label{color:#94a3b8;font-size:11px;margin-top:-5px}',""]);const n=i},37535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(94493),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},89539:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(27101),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},2869:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(95433),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},49011:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(6662),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},94608:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(9782),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},85969:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(16035),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},68691:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(36856),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},51010:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(93986),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},15473:(t,e,s)=>{s.r(e),s.d(e,{default:()=>r});var o=s(93379),i=s.n(o),n=s(97429),a={insert:"head",singleton:!1};i()(n.default,a);const r=n.default.locals||{}},70595:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(25032),i=s(73498),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(84421);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,"796a296e",null).exports},90086:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(43580),i=s(51373),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},45836:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(8056);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},99247:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(76719),i=s(60378),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(41658);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},42755:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(87661),i=s(1374),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(72682);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21917:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(18709),i=s(72214),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},26535:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(15542),i=s(3646),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(39626);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},38287:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(78559),i=s(43354),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},4268:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12430),i=s(23983),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},8829:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(80360),i=s(59111),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},48510:(t,e,s)=>{s.r(e),s.d(e,{default:()=>i});var o=s(28476);const i=(0,s(51900).default)({},o.render,o.staticRenderFns,!1,null,null,null).exports},5327:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(50282),i=s(6921),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},37846:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(56253),i=s(40102),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},74338:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(12348),i=s(33012),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},81104:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(73433),i=s(94747),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},80979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(23666),i=s(19651),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},31823:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(70946),i=s(84021),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},89965:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(28648),i=s(55013),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(46526);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},32303:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(68906),i=s(31631),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(8696);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},24721:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(14001),i=s(51979),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(97765);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},22583:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(30535),i=s(84185),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(62544);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},85748:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});var o=s(67417),i=s(79760),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(20351);const a=(0,s(51900).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},73498:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(71618),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},51373:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(52291),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},60378:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(95217),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},1374:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(89250),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},72214:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(8671),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},3646:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(19444),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},43354:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(13143),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},23983:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(3861),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},59111:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(60658),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},6921:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(36935),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},40102:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(92606),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},33012:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(51815),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},94747:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(17810),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},19651:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(2011),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},84021:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(24489),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},55013:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(84797),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},31631:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(55998),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},51979:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(92829),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},84185:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(54965),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},79760:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});var o=s(44078),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const n=o.default},25032:(t,e,s)=>{s.r(e);var o=s(14583),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},43580:(t,e,s)=>{s.r(e);var o=s(76551),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},8056:(t,e,s)=>{s.r(e);var o=s(41262),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},76719:(t,e,s)=>{s.r(e);var o=s(67192),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},87661:(t,e,s)=>{s.r(e);var o=s(7231),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},18709:(t,e,s)=>{s.r(e);var o=s(97584),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},15542:(t,e,s)=>{s.r(e);var o=s(18683),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},78559:(t,e,s)=>{s.r(e);var o=s(54822),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12430:(t,e,s)=>{s.r(e);var o=s(74212),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},80360:(t,e,s)=>{s.r(e);var o=s(86251),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28476:(t,e,s)=>{s.r(e);var o=s(73954),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},50282:(t,e,s)=>{s.r(e);var o=s(92994),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},56253:(t,e,s)=>{s.r(e);var o=s(3103),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},12348:(t,e,s)=>{s.r(e);var o=s(34108),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},73433:(t,e,s)=>{s.r(e);var o=s(84027),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},23666:(t,e,s)=>{s.r(e);var o=s(93853),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},70946:(t,e,s)=>{s.r(e);var o=s(10454),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},28648:(t,e,s)=>{s.r(e);var o=s(78007),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},68906:(t,e,s)=>{s.r(e);var o=s(14226),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},14001:(t,e,s)=>{s.r(e);var o=s(24786),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},30535:(t,e,s)=>{s.r(e);var o=s(48087),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},67417:(t,e,s)=>{s.r(e);var o=s(84478),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},84421:(t,e,s)=>{s.r(e);var o=s(37535),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},41658:(t,e,s)=>{s.r(e);var o=s(89539),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},72682:(t,e,s)=>{s.r(e);var o=s(2869),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},39626:(t,e,s)=>{s.r(e);var o=s(49011),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},46526:(t,e,s)=>{s.r(e);var o=s(94608),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},8696:(t,e,s)=>{s.r(e);var o=s(85969),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},97765:(t,e,s)=>{s.r(e);var o=s(68691),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},62544:(t,e,s)=>{s.r(e);var o=s(51010),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},20351:(t,e,s)=>{s.r(e);var o=s(15473),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/profile.js b/public/js/profile.js index 09c38ba3d..5b281973d 100644 --- a/public/js/profile.js +++ b/public/js/profile.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[5912],{49720:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(19755);const o={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"),i("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,i("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,s){var i=t.account.username;switch(e){case"autocw":var o="Are you sure you want to enforce CW for "+i+" ?";swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":o="Are you sure you want to suspend the account of "+i+" ?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=i("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!=i("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(){i("#mt_pid_"+this.status.id).modal("hide")}}}},9179:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});s(82364);var i=s(19210),o=s(10831),a=s(19755);function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);s0})),i=s.map((function(t){return t.id}));t.ids=i,t.min_id=Math.max.apply(Math,n(i)),t.max_id=Math.min.apply(Math,n(i)),t.modalStatus=_.first(e.data),t.timeline=s,t.ownerCheck(),t.loading=!1})).catch((function(t){swal("Oops, something went wrong","Please release the page.","error")}))},ownerCheck:function(){0!=a("body").hasClass("loggedIn")?this.owner=this.profile.id===this.user.id:this.owner=!1},infiniteTimeline:function(t){var e=this;if(this.loading||this.timeline.length<9)t.complete();else{var s="/api/pixelfed/v1/accounts/"+this.profileId+"/statuses";axios.get(s,{params:{only_media:!0,max_id:this.max_id}}).then((function(s){if(s.data.length&&0==e.loading){var i=s.data,o=e;i.forEach((function(t){-1==o.ids.indexOf(t.id)&&(o.timeline.push(t),o.ids.push(t.id))}));var a=Math.min.apply(Math,n(e.ids));if(a==e.max_id)return void t.complete();e.min_id=Math.max.apply(Math,n(e.ids)),e.max_id=a,t.loaded(),e.loading=!1}else t.complete()}))}},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].preview_url},previewBackground:function(t){return"background-image: url("+this.previewUrl(t)+");"},blurhHashMedia:function(t){return t.sensitive?null:t.media_attachments[0].preview_url},switchMode:function(t){if("grid"==t)this.mode=t;else if("bookmarks"==t&&this.bookmarks.length)this.mode="bookmarks";else{if("collections"!=t||!this.collections.length)return void(window.location.href="/"+this.profileUsername+"?m="+t);this.mode="collections"}},reportProfile:function(){var t=this.profile.id;window.location.href="/i/report?type=user&id="+t},reportUrl:function(t){return"/i/report?type="+(t.in_reply_to?"comment":"post")+"&id="+t.id},commentFocus:function(t,e){var s=event.target.parentElement.parentElement.parentElement,i=s.getElementsByClassName("comments")[0];0==i.children.length&&(i.classList.add("mb-2"),this.fetchStatusComments(t,s));var o=s.querySelectorAll(".card-footer")[0],a=s.querySelectorAll(".status-reply-input")[0];1==o.classList.contains("d-none")?(o.classList.remove("d-none"),a.focus()):(o.classList.add("d-none"),a.blur())},likeStatus:function(t,e){0!=a("body").hasClass("loggedIn")&&axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,1==t.favourited?t.favourited=!1:t.favourited=!0})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")}))},shareStatus:function(t,e){0!=a("body").hasClass("loggedIn")&&axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,1==t.reblogged?t.reblogged=!1:t.reblogged=!0})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")}))},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},remoteRedirect:function(t){window.location.href=window.App.config.site.url+"/i/redirect?url="+encodeURIComponent(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 t.account.id==this.profile.id},fetchRelationships:function(){var t=this;0!=document.querySelectorAll("body")[0].classList.contains("loggedIn")&&axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profileId}}).then((function(e){e.data.length&&(t.relationship=e.data[0],1==e.data[0].blocking&&(t.warning=!0)),t.user.id!=t.profileId&&1!=t.relationship.following||axios.get("/api/web/stories/v1/exists/"+t.profileId).then((function(e){t.hasStory=1==e.data}))}))},muteProfile:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/mute",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully muted "+t.profile.acct,"success")})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong. Please try again later.","error")}))}},unmuteProfile:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/unmute",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully unmuted "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}},blockProfile:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/block",{type:"user",item:e}).then((function(e){t.warning=!0,t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully blocked "+t.profile.acct,"success")})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong. Please try again later.","error")}))}},unblockProfile:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/unblock",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully unblocked "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}},deletePost:function(t,e){var s=this;0!=a("body").hasClass("loggedIn")&&t.account.id===this.profile.id&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){s.timeline.splice(e,1),swal("Success","You have successfully deleted this post","success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},followProfile:function(){var t=this;0!=a("body").hasClass("loggedIn")&&axios.post("/i/follow",{item:this.profileId}).then((function(e){t.$refs.visitorContextMenu.hide(),t.relationship.following?(t.profile.followers_count--,1==t.profile.locked&&(window.location.href="/")):t.profile.followers_count++,t.relationship.following=!t.relationship.following})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},followingModal:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){if(0!=this.profileSettings.following.list)return this.followingCursor||axios.get("/api/v1/accounts/"+this.profileId+"/following",{params:{cursor:this.followingCursor,limit:40,_pe:1}}).then((function(e){if(t.following=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.followingCursor=s.prev.cursor,t.followingMore=!0):t.followingMore=!1}else t.followingMore=!1})).then((function(){setTimeout((function(){t.followingLoading=!1}),1e3)})),void this.$refs.followingModal.show()}else window.location.href=encodeURI("/login?next=/"+this.profileUsername+"/")},followersModal:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){if(0!=this.profileSettings.followers.list)return this.followerCursor>1||axios.get("/api/v1/accounts/"+this.profileId+"/followers",{params:{cursor:this.followerCursor,limit:40,_pe:1}}).then((function(e){var s;if((s=t.followers).push.apply(s,n(e.data)),e.headers&&e.headers.link){var i=(0,o.parseLinkHeader)(e.headers.link);i.prev?(t.followerCursor=i.prev.cursor,t.followerMore=!0):t.followerMore=!1}else t.followerMore=!1})).then((function(){setTimeout((function(){t.followerLoading=!1}),1e3)})),void this.$refs.followerModal.show()}else window.location.href=encodeURI("/login?next=/"+this.profileUsername+"/")},followingLoadMore:function(){var t=this;0!=a("body").hasClass("loggedIn")?axios.get("/api/v1/accounts/"+this.profile.id+"/following",{params:{cursor:this.followingCursor,limit:40,_pe:1}}).then((function(e){var s;e.data.length>0&&(s=t.following).push.apply(s,n(e.data));if(e.headers&&e.headers.link){var i=(0,o.parseLinkHeader)(e.headers.link);i.prev?(t.followingCursor=i.prev.cursor,t.followingMore=!0):t.followingMore=!1}else t.followingMore=!1})):window.location.href=encodeURI("/login?next=/"+this.profile.username+"/")},followersLoadMore:function(){var t=this;0!=a("body").hasClass("loggedIn")&&axios.get("/api/v1/accounts/"+this.profile.id+"/followers",{params:{cursor:this.followerCursor,limit:40,_pe:1}}).then((function(e){var s;e.data.length>0&&(s=t.followers).push.apply(s,n(e.data));if(e.headers&&e.headers.link){var i=(0,o.parseLinkHeader)(e.headers.link);i.prev?(t.followerCursor=i.prev.cursor,t.followerMore=!0):t.followerMore=!1}else t.followerMore=!1}))},visitorMenu:function(){this.$refs.visitorContextMenu.show()},followModalAction:function(t,e){var s=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"following";axios.post("/i/follow",{item:t}).then((function(t){"following"==i&&(s.following.splice(e,1),s.profile.following_count--)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},momentBackground:function(){var t="w-100 h-100 mt-n3 ";return this.profile.header_bg?t+="default"==this.profile.header_bg?"bg-pixelfed":"bg-moment-"+this.profile.header_bg:t+="bg-pixelfed",t},loadSponsor:function(){var t=this;axios.get("/api/local/profile/sponsor/"+this.profileId).then((function(e){t.sponsorList=e.data}))},showSponsorModal:function(){this.$refs.sponsorModal.show()},goBack:function(){return window.history.length>2?void window.history.back():void(window.location.href="/")},copyProfileLink:function(){navigator.clipboard.writeText(window.location.href),this.$refs.visitorContextMenu.hide()},formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return t.url},profileUrl:function(t){return t.url},profileUrlRedirect:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},showEmbedProfileModal:function(){this.ctxEmbedPayload=window.App.util.embed.profile(this.profile.url),this.$refs.visitorContextMenu.hide(),this.$refs.embedModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.$refs.embedModal.hide(),this.$refs.visitorContextMenu.hide()},storyRedirect:function(){window.location.href="/stories/"+this.profileUsername+"?t=4"},truncate:function(t,e){return _.truncate(t,{length:e})},formatWebsite:function(t){if("https://"===t.slice(0,8))t=t.substr(8);else{if("http://"!==t.slice(0,7))return void(this.profile.website=null);t=t.substr(7)}return this.truncate(t,60)},joinedAtFormat:function(t){return new Date(t).toDateString()},archivesInfiniteLoader:function(t){var e=this;axios.get("/api/pixelfed/v2/statuses/archives",{params:{page:this.archivesPage}}).then((function(s){var i;s.data.length?((i=e.archives).push.apply(i,n(s.data)),e.archivesPage++,t.loaded()):t.complete()}))}}}},6083:(t,e,s)=>{"use strict";function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);sa});const a={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{},data:function(){return{loading:!0,curUser:void 0,profile:void 0,relationship:void 0,owner:!1,tab:"posts",layout:"grid",timeline:[],ids:[],min_id:void 0,max_id:void 0,canPaginate:!0,showMenuNav:!0,followers:[]}},mounted:function(){this.init()},methods:{init:function(){var t=this,e=new URLSearchParams(window.location.search);if(e.has("lt")){var s=e.get("lt"),i=1==s?1:2==s?2:0;0==i&&history.pushState(null,null,window.location.origin+window.location.pathname),this.layout=["grid","feed","masonry"][i]}this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchPosts(),this.loaded()):axios.get("/api/v1/accounts/verify_credentials").then((function(e){t.curUser=e.data,t.fetchProfile()})).catch((function(e){t.curUser={id:void 0},t.fetchProfile()}))},loaded:function(){this.loading&&(this.$refs.loader.loaded(),this.loading=!1)},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.loaded(),t.fetchPosts()):(t.loaded(),t.fetchPosts(),t.fetchRelationship())})).catch((function(t){}))},fetchRelationship:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":e}}).then((function(e){t.relationship=e.data[0],t.loaded()})).catch((function(e){t.relationship={following:!1},t.loaded()}))},toggleTab:function(t){this.canPaginate=!1,this.layout="grid",this.tab=t,"followers"==t&&(this.showMenuNav=!1,this.followers.length||this.fetchFollowers()),console.log(t)},toggleLayout:function(t){event.currentTarget.blur(),this.layout=t;var e=location.origin+location.pathname,s="grid"!=t?e+"?lt="+["grid","feed","masonry"].indexOf(t):e;history.pushState(null,null,s)},fetchFollowers:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/v1/accounts/"+e+"/followers").then((function(e){var s;(s=t.followers).push.apply(s,i(e.data))}))},fetchPosts:function(){var t=this,e="/api/v1/accounts/"+(this.id?this.id:this.profileId?this.profileId:this.profile.id)+"/statuses";axios.get(e,{params:{limit:9,only_media:!0,min_id:1}}).then((function(e){var s=e.data.filter((function(t){return t.media_attachments.length>0})),o=s.map((function(t){return t.id}));t.ids=o,t.min_id=Math.max.apply(Math,i(o)),t.max_id=Math.min.apply(Math,i(o)),s.forEach((function(e){t.timeline.push(e)}))}))},infiniteTimeline:function(t){var e=this;if("posts"==this.tab)if(this.loading||this.timeline.length<9)t.complete();else{var s="/api/v1/accounts/"+(this.id?this.id:this.profileId?this.profileId:this.profile.id)+"/statuses";axios.get(s,{params:{only_media:!0,max_id:this.max_id}}).then((function(s){if(s.data.length&&0==e.loading){var o=s.data,a=e;o.forEach((function(t){-1==a.ids.indexOf(t.id)&&(a.timeline.push(t),a.ids.push(t.id))}));var n=Math.min.apply(Math,i(e.ids));if(n==e.max_id)return void t.complete();e.min_id=Math.max.apply(Math,i(e.ids)),e.max_id=n,t.loaded(),e.loading=!1}else t.complete()}))}},statusUrl:function(t){return t.url},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].preview_url},truncate:function(t,e){return _.truncate(t,{length:e})},formatCount:function(t){return App.util.format.count(t)},formatWebsite:function(t){if("https://"===t.slice(0,8))t=t.substr(8);else{if("http://"!==t.slice(0,7))return;t=t.substr(7)}return this.truncate(t,60)},timeago:function(t){return App.util.format.timeAgo(t)},joinedAtFormat:function(t){return new Date(t).toDateString()}}}},96136:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(19755);const o={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var i=this,o=(t.account.username,t.id,""),a=this;switch(e){case"addcw":o="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,a.closeModals(),a.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),a.closeModals(),a.ctxModMenuClose()}))}));break;case"remcw":o="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,a.closeModals(),a.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),a.closeModals(),a.ctxModMenuClose()}))}));break;case"unlist":o="Are you sure you want to unlist this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){i.feed=i.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":o="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=i("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=i("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},41441:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(20415),o=s(19755);const a={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":i.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at){"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(20415),o=s(97622),a=s(19755);const n={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":i.default,"poll-card":o.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,i=t.account.username,o=document.createElement("a");switch(o.href=t.account.url,o=o.hostname,e){case"@":default:return i+'@'+o+"";case"from":return i+' from '+o+"";case"custom":return i+' '+s+" "+o+""}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=a("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var i=t.id,o=this.replyText,a=this.config.uploader.max_caption_length;if(o.length>a)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+a+" characters or less.","error");axios.post("/i/comment",{item:i,comment:o,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)},canFollow:function(t){return!!t.hasOwnProperty("relationship")&&(!(!t.hasOwnProperty("account")||!t.account.hasOwnProperty("id"))&&(t.account.id!=this.profile.id&&!t.relationship.following))},follow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!0,e.$emit("followed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},unfollow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!1,e.$emit("unfollowed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}}}},274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status"]}},45354:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,i.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var i="forward";e.advancePage(i),e.$emit("navigation-click",i)}}}}},28314:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,i.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,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status"]}},57602:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={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}}}},79953:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=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()])},o=[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.")])}]},20583:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100 h-100"},[t.isMobile?e("div",{staticClass:"bg-white p-3 border-bottom"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",{staticClass:"cursor-pointer",on:{click:t.goBack}},[e("i",{staticClass:"fas fa-chevron-left fa-lg"})]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t"+t._s(this.profileUsername)+"\n\n\t\t\t")]),t._v(" "),e("div",[e("a",{staticClass:"fas fa-ellipsis-v fa-lg text-muted text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.visitorMenu.apply(null,arguments)}}})])])]):t._e(),t._v(" "),t.relationship&&t.relationship.blocking&&t.warning?e("div",{staticClass:"bg-white pt-3 border-bottom"},[e("div",{staticClass:"container"},[e("p",{staticClass:"text-center font-weight-bold"},[t._v("You are blocking this account")]),t._v(" "),e("p",{staticClass:"text-center font-weight-bold"},[t._v("Click "),e("a",{staticClass:"cursor-pointer",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.warning=!1}}},[t._v("here")]),t._v(" to view profile")])])]):t._e(),t._v(" "),t.loading?e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[e("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]):t._e(),t._v(" "),t.loading||t.warning?t._e():e("div",["metro"==t.layout?e("div",{staticClass:"container"},[e("div",{class:t.isMobile?"pt-5":"pt-5 border-bottom"},[e("div",{staticClass:"container px-0"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-4 d-md-flex"},[e("div",{staticClass:"profile-avatar mx-md-auto"},[e("div",{staticClass:"d-block d-md-none mt-n3 mb-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-4"},[t.hasStory?e("div",{staticClass:"has-story cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[e("img",{staticClass:"rounded-circle",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"77px",height:"77px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]):e("div",[e("img",{staticClass:"rounded-circle border",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"77px",height:"77px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})])]),t._v(" "),e("div",{staticClass:"col-8"},[e("div",{staticClass:"d-block d-md-none mt-3 py-2"},[e("ul",{staticClass:"nav d-flex justify-content-between"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"font-weight-light"},[e("span",{staticClass:"text-dark text-center"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("p",{staticClass:"text-muted mb-0 small"},[t._v("Posts")])])])]),t._v(" "),e("li",{staticClass:"nav-item"},[t.profileSettings.followers.count?e("div",{staticClass:"font-weight-light"},[e("a",{staticClass:"text-dark cursor-pointer text-center",on:{click:function(e){return t.followersModal()}}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("p",{staticClass:"text-muted mb-0 small"},[t._v("Followers")])])]):t._e()]),t._v(" "),e("li",{staticClass:"nav-item"},[t.profileSettings.following.count?e("div",{staticClass:"font-weight-light"},[e("a",{staticClass:"text-dark cursor-pointer text-center",on:{click:function(e){return t.followingModal()}}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("p",{staticClass:"text-muted mb-0 small"},[t._v("Following")])])]):t._e()])])])])])]),t._v(" "),e("div",{staticClass:"d-none d-md-block pb-3"},[t.hasStory?e("div",{staticClass:"has-story-lg cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[e("img",{staticClass:"rounded-circle box-shadow cursor-pointer",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"150px",height:"150px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]):e("div",[e("img",{staticClass:"rounded-circle box-shadow",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"150px",height:"150px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.sponsorList.patreon||t.sponsorList.liberapay||t.sponsorList.opencollective?e("p",{staticClass:"text-center mt-3"},[e("button",{staticClass:"btn btn-outline-secondary font-weight-bold py-0",attrs:{type:"button"},on:{click:t.showSponsorModal}},[e("i",{staticClass:"fas fa-heart text-danger"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tDonate\n\t\t\t\t\t\t\t\t\t\t")])]):t._e()])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-8 d-flex align-items-center"},[e("div",{staticClass:"profile-details"},[e("div",{staticClass:"d-none d-md-flex username-bar pb-3 align-items-center"},[e("span",{staticClass:"font-weight-ultralight h3 mb-0"},[t._v(t._s(t.profile.username))]),t._v(" "),t.profile.id!=t.user.id&&t.user.hasOwnProperty("id")?e("span",[1==t.relationship.following?e("span",{staticClass:"pl-4"},[e("a",{staticClass:"btn btn-outline-secondary font-weight-bold btn-sm py-1 text-dark mr-2 px-3 btn-sec-alt",staticStyle:{border:"1px solid #dbdbdb"},attrs:{href:"/account/direct/t/"+t.profile.id,"data-toggle":"tooltip",title:"Message"}},[t._v("Message")]),t._v(" "),e("button",{staticClass:"btn btn-outline-secondary font-weight-bold btn-sm py-1 text-dark btn-sec-alt",staticStyle:{border:"1px solid #dbdbdb"},attrs:{type:"button","data-toggle":"tooltip",title:"Unfollow"},on:{click:t.followProfile}},[e("i",{staticClass:"fas fa-user-check mx-3"})])]):t._e(),t._v(" "),t.relationship.following?t._e():e("span",{staticClass:"pl-4"},[e("button",{staticClass:"btn btn-primary font-weight-bold btn-sm py-1 px-3",attrs:{type:"button","data-toggle":"tooltip",title:"Follow"},on:{click:t.followProfile}},[t._v("Follow")])])]):t._e(),t._v(" "),t.owner&&t.user.hasOwnProperty("id")?e("span",{staticClass:"pl-4"},[e("a",{staticClass:"btn btn-outline-secondary btn-sm",staticStyle:{"font-weight":"600"},attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),e("span",{staticClass:"pl-4"},[e("a",{staticClass:"fas fa-ellipsis-h fa-lg text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.visitorMenu.apply(null,arguments)}}})])]),t._v(" "),e("div",{staticClass:"font-size-16px"},[e("div",{staticClass:"d-none d-md-inline-flex profile-stats pb-3"},[e("div",{staticClass:"font-weight-light pr-5"},[e("span",{staticClass:"text-dark"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tPosts\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),t.profileSettings.followers.count?e("div",{staticClass:"font-weight-light pr-5"},[e("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followersModal()}}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tFollowers\n\t\t\t\t\t\t\t\t\t\t\t")])]):t._e(),t._v(" "),t.profileSettings.following.count?e("div",{staticClass:"font-weight-light"},[e("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followingModal()}}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tFollowing\n\t\t\t\t\t\t\t\t\t\t\t")])]):t._e()]),t._v(" "),e("div",{staticClass:"d-md-flex align-items-center mb-1 text-break"},[e("div",{staticClass:"font-weight-bold mr-1"},[t._v(t._s(t.profile.display_name))]),t._v(" "),t.profile.pronouns?e("div",{staticClass:"text-muted small"},[t._v(t._s(t.profile.pronouns.join("/")))]):t._e()]),t._v(" "),t.profile.note?e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.profile.note)}}):t._e(),t._v(" "),t.profile.website?e("p",[e("a",{staticClass:"profile-website small",attrs:{href:t.profile.website,rel:"me external nofollow noopener",target:"_blank"}},[t._v(t._s(t.formatWebsite(t.profile.website)))])]):t._e(),t._v(" "),e("p",{staticClass:"d-flex small text-muted align-items-center"},[t.profile.is_admin?e("span",{staticClass:"btn btn-outline-danger btn-sm py-0 mr-3",attrs:{title:"Admin Account","data-toggle":"tooltip"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tAdmin\n\t\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.relationship&&t.relationship.followed_by?e("span",{staticClass:"btn btn-outline-muted btn-sm py-0 mr-3"},[t._v("Follows You")]):t._e(),t._v(" "),e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\tJoined "+t._s(t.joinedAtFormat(t.profile.created_at))+"\n\t\t\t\t\t\t\t\t\t\t")])])])])])])])]),t._v(" "),t.user&&t.user.hasOwnProperty("id")?e("div",{staticClass:"d-block d-md-none my-0 pt-3 border-bottom"},[e("p",{staticClass:"pt-3"},[t.owner?e("button",{staticClass:"btn btn-outline-secondary bg-white btn-sm py-1 btn-block text-center font-weight-bold text-dark border border-lighter",on:{click:function(e){return e.preventDefault(),t.redirect("/settings/home")}}},[t._v("Edit Profile")]):t._e(),t._v(" "),!t.owner&&t.relationship.following?e("button",{staticClass:"btn btn-outline-secondary bg-white btn-sm py-1 px-5 font-weight-bold text-dark border border-lighter",on:{click:t.followProfile}},[t._v("   Unfollow   ")]):t._e(),t._v(" "),t.owner||t.relationship.following?t._e():e("button",{staticClass:"btn btn-primary btn-sm py-1 px-5 font-weight-bold",on:{click:t.followProfile}},[t._v(t._s(t.relationship.followed_by?"Follow Back":"     Follow     "))])])]):t._e(),t._v(" "),e("div",{},[e("ul",{staticClass:"nav nav-topbar d-flex justify-content-center border-0"},[e("li",{staticClass:"nav-item border-top"},[e("a",{class:"grid"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("grid")}}},[e("i",{staticClass:"fas fa-th"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("POSTS")])])]),t._v(" "),e("li",{staticClass:"nav-item px-0 border-top"},[e("a",{class:"collections"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("collections")}}},[e("i",{staticClass:"fas fa-images"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("COLLECTIONS")])])]),t._v(" "),t.owner?e("li",{staticClass:"nav-item border-top"},[e("a",{class:"bookmarks"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("bookmarks")}}},[e("i",{staticClass:"fas fa-bookmark"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("SAVED")])])]):t._e(),t._v(" "),t.owner?e("li",{staticClass:"nav-item border-top"},[e("a",{class:"archives"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("archives")}}},[e("i",{staticClass:"far fa-folder-open"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("ARCHIVES")])])]):t._e()])]),t._v(" "),e("div",{staticClass:"container px-0"},[e("div",{staticClass:"profile-timeline mt-md-4"},["grid"==t.mode?e("div",[e("div",{staticClass:"row"},[t._l(t.timeline,(function(s,i){return e("div",{key:"tlob:"+i,staticClass:"col-4 p-1 p-md-3"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[s.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].preview_url}})],1),t._v(" "),"photo:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==s.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"==s.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(s.reply_count)))])])])])])])])})),t._v(" "),0==t.timeline.length?e("div",{staticClass:"col-12"},[t._m(1)]):t._e()],2),t._v(" "),t.timeline.length?e("div",[e("infinite-loading",{on:{infinite:t.infiniteTimeline}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()]):t._e(),t._v(" "),"bookmarks"==t.mode?e("div",[t.bookmarksLoading?e("div",[t._m(2)]):e("div",[t.bookmarks.length?e("div",{staticClass:"row"},t._l(t.bookmarks,(function(s,i){return e("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:s.url}},[e("div",{staticClass:"square"},["photo:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==s.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"==s.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:"square-content",style:t.previewBackground(s)}),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"fas fa-retweet fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(s.reblogs_count))])])])])])])])})),0):e("div",{staticClass:"col-12"},[t._m(3)])])]):t._e(),t._v(" "),"collections"==t.mode?e("div",[t.collections.length&&t.collectionsLoaded?e("div",{staticClass:"row"},t._l(t.collections,(function(t,s){return e("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.url}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content",style:"background-image: url("+t.thumb+");"})])])])})),0):e("div",[t._m(4)])]):t._e(),t._v(" "),"archives"==t.mode?e("div",[t.archives.length?e("div",{staticClass:"col-12 col-md-8 offset-md-2 px-0 mb-sm-3 timeline mt-5"},[t._m(5),t._v(" "),t._l(t.archives,(function(t,s){return e("div",[e("status-card",{class:{"border-top":0===s},attrs:{status:t,"reaction-bar":!1}})],1)})),t._v(" "),e("infinite-loading",{on:{infinite:t.archivesInfiniteLoader}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2):t._e()]):t._e()])])]):t._e()]),t._v(" "),t.profile&&t.following?e("b-modal",{ref:"followingModal",attrs:{id:"following-modal","hide-footer":"",centered:"",scrollable:"",title:"Following","body-class":"list-group-flush py-3 px-0","dialog-class":"follow-modal"}},[t.followingLoading?e("div",{staticClass:"text-center py-5"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):e("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.following.length?e("div",[t._l(t.following,(function(s,i){return e("div",{key:"following_"+i,staticClass:"list-group-item border-0 py-1 mb-1"},[e("div",{staticClass:"media"},[e("a",{attrs:{href:t.profileUrlRedirect(s)}},[e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null"}})]),t._v(" "),e("div",{staticClass:"media-body text-truncate"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(s)}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.display_name?s.display_name:s.username)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])]),t._v(" "),t.owner?e("div",[e("a",{staticClass:"btn btn-outline-dark btn-sm font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.followModalAction(s.id,i,"following")}}},[t._v("Following")])]):t._e()])])})),t._v(" "),t.followingLoading||0!=t.following.length?t._e():e("div",{staticClass:"list-group-item border-0"},[e("div",{staticClass:"list-group-item border-0 pt-5"},[e("p",{staticClass:"p-3 text-center mb-0 lead"},[t._v("No Results Found")])])]),t._v(" "),t.following.length>0&&t.followingMore?e("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followingLoadMore()}}},[e("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"list-group-item border-0"},[e("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[e("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" is not following yet")])])])]):t._e(),t._v(" "),e("b-modal",{ref:"followerModal",attrs:{id:"follower-modal","hide-footer":"",centered:"",scrollable:"",title:"Followers","body-class":"list-group-flush py-3 px-0","dialog-class":"follow-modal"}},[t.followerLoading?e("div",{staticClass:"text-center py-5"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):e("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.followerLoading||t.followers.length?e("div",[t._l(t.followers,(function(s,i){return e("div",{key:"follower_"+i,staticClass:"list-group-item border-0 py-1 mb-1"},[e("div",{staticClass:"media mb-0"},[e("a",{attrs:{href:t.profileUrlRedirect(s)}},[e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",height:"30px",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null"}})]),t._v(" "),e("div",{staticClass:"media-body mb-0"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(s)}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.display_name?s.display_name:s.username)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])])])])})),t._v(" "),t.followers.length&&t.followerMore?e("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followersLoadMore()}}},[e("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"list-group-item border-0"},[e("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[e("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" has no followers yet")])])])]),t._v(" "),e("b-modal",{ref:"visitorContextMenu",attrs:{id:"visitor-context-menu","hide-footer":"","hide-header":"",centered:"",size:"sm","body-class":"list-group-flush p-0"}},[t.relationship?e("div",{staticClass:"list-group"},[e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.copyProfileLink}},[t._v("\n\t\t\t\tCopy Link\n\t\t\t")]),t._v(" "),0==t.profile.locked?e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.showEmbedProfileModal}},[t._v("\n\t\t\t\tEmbed\n\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.following?t._e():e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.followProfile}},[t._v("\n\t\t\t\tFollow\n\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.following?e("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.followProfile}},[t._v("\n\t\t\t\tUnfollow\n\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.muting?t._e():e("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.muteProfile}},[t._v("\n\t\t\t\tMute\n\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.muting?e("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.unmuteProfile}},[t._v("\n\t\t\t\tUnmute\n\t\t\t")]):t._e(),t._v(" "),t.user&&!t.owner?e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.reportProfile}},[t._v("\n\t\t\t\tReport User\n\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.blocking?t._e():e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.blockProfile}},[t._v("\n\t\t\t\tBlock\n\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.blocking?e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.unblockProfile}},[t._v("\n\t\t\t\tUnblock\n\t\t\t")]):t._e(),t._v(" "),t.user&&t.owner?e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:function(e){return t.redirect("/settings/home")}}},[t._v("\n\t\t\t\tSettings\n\t\t\t")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:function(e){return t.redirect("/users/"+t.profileUsername+".atom")}}},[t._v("\n\t\t\t\tAtom Feed\n\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-muted font-weight-bold",on:{click:function(e){return t.$refs.visitorContextMenu.hide()}}},[t._v("\n\t\t\t\tClose\n\t\t\t")])]):t._e()]),t._v(" "),e("b-modal",{ref:"sponsorModal",attrs:{id:"sponsor-modal","hide-footer":"",title:"Sponsor "+t.profileUsername,centered:"",size:"md","body-class":"px-5"}},[e("div",[e("p",{staticClass:"font-weight-bold"},[t._v("External Links")]),t._v(" "),t.sponsorList.patreon?e("p",{staticClass:"pt-2"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.patreon,rel:"nofollow"}},[t._v(t._s(t.sponsorList.patreon))])]):t._e(),t._v(" "),t.sponsorList.liberapay?e("p",{staticClass:"pt-2"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.liberapay,rel:"nofollow"}},[t._v(t._s(t.sponsorList.liberapay))])]):t._e(),t._v(" "),t.sponsorList.opencollective?e("p",{staticClass:"pt-2"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.opencollective,rel:"nofollow"}},[t._v(t._s(t.sponsorList.opencollective))])]):t._e()])]),t._v(" "),e("b-modal",{ref:"embedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"6",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}}),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])])],1)},o=[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"})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"py-5 text-center text-muted"},[e("p",[e("i",{staticClass:"fas fa-camera-retro fa-2x"})]),t._v(" "),e("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No posts yet")])])},function(){var t=this._self._c;return t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"p-1 p-sm-2 p-md-3 d-flex justify-content-center align-items-center",staticStyle:{height:"30vh"}},[t("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"py-5 text-center text-muted"},[e("p",[e("i",{staticClass:"fas fa-bookmark fa-2x"})]),t._v(" "),e("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No saved bookmarks")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"py-5 text-center text-muted"},[e("p",[e("i",{staticClass:"fas fa-images fa-2x"})]),t._v(" "),e("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No collections yet")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"alert alert-info"},[e("p",{staticClass:"mb-0"},[t._v("Posts you archive can only be seen by you.")]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v("For more information see the "),e("a",{attrs:{href:"/site/kb/sharing-media"}},[t._v("Sharing Media")]),t._v(" help center page.")])])}]},9999:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-component"},[e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-3"},[e("div",{staticClass:"d-flex align-items-center my-3"},[e("img",{staticClass:"mr-2",attrs:{src:"/img/pixelfed-icon-color.png",width:"30"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold text-white mb-0"},[t._v("Pixelfed")])]),t._v(" "),e("div",{staticClass:"card mt-5 bg-transparent"},[e("div",{staticClass:"card-body text-center"},[e("img",{staticClass:"mb-4",attrs:{src:"/storage/avatars/default.png",width:"100"}}),t._v(" "),e("p",{staticClass:"text-white mb-n2 lead font-weight-bold"},[t._v("Dan Sup")]),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v("@dansup")])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-9"})])])])}]},61595:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,i=e.target,o=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.ctxEmbedShowCaption=s.concat([null])):a>-1&&(t.ctxEmbedShowCaption=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,i=e.target,o=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.ctxEmbedShowLikes=s.concat([null])):a>-1&&(t.ctxEmbedShowLikes=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,i=e.target,o=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.ctxEmbedCompactMode=s.concat([null])):a>-1&&(t.ctxEmbedCompactMode=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},87440:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,i){return e("p",[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[i==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?e("div",t._l(t.status.poll.options,(function(s,i){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[i==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,i){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},15778:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?e("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[t.status.sensitive?e("details",[e("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),e("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):e("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?e("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[e("div",[e("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),e("div",{staticClass:"pl-2"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.status.place?e("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),t.canFollow(t.status)?e("div",[e("span",{staticClass:"px-2"}),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.follow(t.status.account.id)}}},[e("i",{staticClass:"far fa-user-plus mr-1"}),t._v(" Follow")])]):t._e(),t._v(" "),t.status.hasOwnProperty("relationship")&&t.status.relationship.hasOwnProperty("following")&&t.status.relationship.following?e("div",[e("span",{staticClass:"px-2"}),t._v(" "),e("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.unfollow(t.status.account.id)}}},[e("i",{staticClass:"far fa-user-check mr-1"}),t._v(" Following")])]):t._e(),t._v(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?e("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[e("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[e("span",[e("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),e("div",{staticClass:"card-body"},[t.reactionBar?e("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?e("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):e("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():e("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?e("span",{staticClass:"float-right"},[e("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[e("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,s){return e("span",{staticClass:"mr-n2"},[e("a",{attrs:{href:"/"+t.username}},[e("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?e("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?e("div",{staticClass:"caption"},[t.status.sensitive?t._e():e("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[e("span",{staticClass:"username font-weight-bold"},[e("bdi",[e("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),e("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),e("div",{staticClass:"timestamp mt-2"},[e("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?e("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):e("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?e("span",[e("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},35594:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(s,i){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(s,i){return e("slide",{key:"px-carousel-"+s.id+"-"+i,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},o=[]},86072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=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\t\tSensitive Content\n\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status),title:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+t.status.id}},t._l(t.status.media_attachments,(function(s,i){return e("slide",{key:"px-carousel-"+s.id+"-"+i,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),title:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},65161:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},40711:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},o=[]},88699:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=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}})])])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},44587:(t,e,s)=>{Vue.component("photo-presenter",s(23251).default),Vue.component("video-presenter",s(53973).default),Vue.component("photo-album-presenter",s(33872).default),Vue.component("video-album-presenter",s(76644).default),Vue.component("mixed-album-presenter",s(57374).default),Vue.component("post-menu",s(4086).default),Vue.component("profile",s(29279).default),Vue.component("profile-next",s(64983).default)},35992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".text-lighter[data-v-1002e7e2]{color:#b8c2cc!important}.modal-body[data-v-1002e7e2]{padding:0}",""]);const a=o},57456:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".o-landscape[data-v-1b384a4d],.o-portrait[data-v-1b384a4d],.o-square[data-v-1b384a4d]{max-width:320px}.post-icon[data-v-1b384a4d]{color:#fff;margin-top:10px;opacity:.6;position:relative;text-shadow:3px 3px 16px #272634;z-index:9}.font-size-16px[data-v-1b384a4d]{font-size:16px}.profile-website[data-v-1b384a4d]{color:#003569;font-weight:600;text-decoration:none}.nav-topbar .nav-link[data-v-1b384a4d]{color:#999}.nav-topbar .nav-link .small[data-v-1b384a4d]{font-weight:600}.has-story[data-v-1b384a4d]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;height:84px;padding:4px;width:84px}.has-story img[data-v-1b384a4d]{background:#fff;border-radius:50%;height:76px;padding:6px;width:76px}.has-story-lg[data-v-1b384a4d]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;height:159px;padding:4px;width:159px}.has-story-lg img[data-v-1b384a4d]{background:#fff;border-radius:50%;height:150px;padding:6px;width:150px}.no-focus[data-v-1b384a4d]{border-color:none;box-shadow:none;outline:0}.modal-tab-active[data-v-1b384a4d]{border-bottom:1px solid #08d}.btn-sec-alt[data-v-1b384a4d]:hover{background-color:transparent;border-color:#6c757d;color:#ccc;opacity:.7}",""]);const a=o},73548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-7ad1e2b6]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7ad1e2b6]{position:relative}.content-label[data-v-7ad1e2b6]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-7ad1e2b6]{position:relative}",""]);const a=o},97465:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-40ab6d65]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-40ab6d65]{position:relative}.content-label[data-v-40ab6d65]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const a=o},9650:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".content-label-wrapper[data-v-411d6f1a]{position:relative}.content-label[data-v-411d6f1a]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const a=o},21626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,"#content,.profile-component,body{background-color:var(--body-bg)}.profile-component{display:block;height:100%;width:100%}",""]);const a=o},20936:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const a=o},33174:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(35992),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},40778:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(57456),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},4236:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(73548),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},42678:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(97465),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},42194:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(9650),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},51321:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(21626),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},25308:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(20936),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},4086:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(48517),o=s(23413),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(74386);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"1002e7e2",null).exports},29279:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(22083),o=s(27798),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(19483);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"1b384a4d",null).exports},64983:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(40763),o=s(81889),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(57340);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},20415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(64940),o=s(36072),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},97622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(93557),o=s(48046),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19210:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(11962),o=s(76329),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(66984);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},57374:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(19399),o=s(57038),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},33872:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(15044),o=s(44484),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(67159);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"7ad1e2b6",null).exports},23251:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(54938),o=s(51485),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(22880);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"40ab6d65",null).exports},76644:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(75917),o=s(13938),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},53973:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(28348),o=s(79495),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(67406);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"411d6f1a",null).exports},23413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(49720),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},27798:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(9179),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},81889:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(6083),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},36072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(96136),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},48046:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(41441),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},76329:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(69789),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},57038:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(274),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},44484:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(45354),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},51485:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(28314),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},13938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(45524),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},79495:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(57602),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},48517:(t,e,s)=>{"use strict";s.r(e);var i=s(79953),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},22083:(t,e,s)=>{"use strict";s.r(e);var i=s(20583),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},40763:(t,e,s)=>{"use strict";s.r(e);var i=s(9999),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},64940:(t,e,s)=>{"use strict";s.r(e);var i=s(61595),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},93557:(t,e,s)=>{"use strict";s.r(e);var i=s(87440),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},11962:(t,e,s)=>{"use strict";s.r(e);var i=s(15778),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},19399:(t,e,s)=>{"use strict";s.r(e);var i=s(35594),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},15044:(t,e,s)=>{"use strict";s.r(e);var i=s(86072),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},54938:(t,e,s)=>{"use strict";s.r(e);var i=s(65161),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},75917:(t,e,s)=>{"use strict";s.r(e);var i=s(40711),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},28348:(t,e,s)=>{"use strict";s.r(e);var i=s(88699),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},74386:(t,e,s)=>{"use strict";s.r(e);var i=s(33174),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},19483:(t,e,s)=>{"use strict";s.r(e);var i=s(40778),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},67159:(t,e,s)=>{"use strict";s.r(e);var i=s(4236),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},22880:(t,e,s)=>{"use strict";s.r(e);var i=s(42678),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},67406:(t,e,s)=>{"use strict";s.r(e);var i=s(42194),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},57340:(t,e,s)=>{"use strict";s.r(e);var i=s(51321),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},66984:(t,e,s)=>{"use strict";s.r(e);var i=s(25308),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)}},t=>{t.O(0,[8898],(()=>{return e=44587,t(t.s=e);var e}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[5912],{49720:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(19755);const o={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"),i("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,i("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,s){var i=t.account.username;switch(e){case"autocw":var o="Are you sure you want to enforce CW for "+i+" ?";swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":o="Are you sure you want to suspend the account of "+i+" ?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=i("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!=i("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(){i("#mt_pid_"+this.status.id).modal("hide")}}}},9179:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});s(82364);var i=s(19210),o=s(10831),a=s(19755);function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);s0})),i=s.map((function(t){return t.id}));t.ids=i,t.min_id=Math.max.apply(Math,n(i)),t.max_id=Math.min.apply(Math,n(i)),t.modalStatus=_.first(e.data),t.timeline=s,t.ownerCheck(),t.loading=!1})).catch((function(t){swal("Oops, something went wrong","Please release the page.","error")}))},ownerCheck:function(){0!=a("body").hasClass("loggedIn")?this.owner=this.profile.id===this.user.id:this.owner=!1},infiniteTimeline:function(t){var e=this;if(this.loading||this.timeline.length<9)t.complete();else{var s="/api/pixelfed/v1/accounts/"+this.profileId+"/statuses";axios.get(s,{params:{only_media:!0,max_id:this.max_id}}).then((function(s){if(s.data.length&&0==e.loading){var i=s.data,o=e;i.forEach((function(t){-1==o.ids.indexOf(t.id)&&(o.timeline.push(t),o.ids.push(t.id))}));var a=Math.min.apply(Math,n(e.ids));if(a==e.max_id)return void t.complete();e.min_id=Math.max.apply(Math,n(e.ids)),e.max_id=a,t.loaded(),e.loading=!1}else t.complete()}))}},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].preview_url},previewBackground:function(t){return"background-image: url("+this.previewUrl(t)+");"},blurhHashMedia:function(t){return t.sensitive?null:t.media_attachments[0].preview_url},switchMode:function(t){if("grid"==t)this.mode=t;else if("bookmarks"==t&&this.bookmarks.length)this.mode="bookmarks";else{if("collections"!=t||!this.collections.length)return void(window.location.href="/"+this.profileUsername+"?m="+t);this.mode="collections"}},reportProfile:function(){var t=this.profile.id;window.location.href="/i/report?type=user&id="+t},reportUrl:function(t){return"/i/report?type="+(t.in_reply_to?"comment":"post")+"&id="+t.id},commentFocus:function(t,e){var s=event.target.parentElement.parentElement.parentElement,i=s.getElementsByClassName("comments")[0];0==i.children.length&&(i.classList.add("mb-2"),this.fetchStatusComments(t,s));var o=s.querySelectorAll(".card-footer")[0],a=s.querySelectorAll(".status-reply-input")[0];1==o.classList.contains("d-none")?(o.classList.remove("d-none"),a.focus()):(o.classList.add("d-none"),a.blur())},likeStatus:function(t,e){0!=a("body").hasClass("loggedIn")&&axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,1==t.favourited?t.favourited=!1:t.favourited=!0})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")}))},shareStatus:function(t,e){0!=a("body").hasClass("loggedIn")&&axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,1==t.reblogged?t.reblogged=!1:t.reblogged=!0})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")}))},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},remoteRedirect:function(t){window.location.href=window.App.config.site.url+"/i/redirect?url="+encodeURIComponent(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 t.account.id==this.profile.id},fetchRelationships:function(){var t=this;0!=document.querySelectorAll("body")[0].classList.contains("loggedIn")&&axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profileId}}).then((function(e){e.data.length&&(t.relationship=e.data[0],1==e.data[0].blocking&&(t.warning=!0)),t.user.id!=t.profileId&&1!=t.relationship.following||axios.get("/api/web/stories/v1/exists/"+t.profileId).then((function(e){t.hasStory=1==e.data}))}))},muteProfile:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/mute",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully muted "+t.profile.acct,"success")})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong. Please try again later.","error")}))}},unmuteProfile:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/unmute",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully unmuted "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}},blockProfile:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/block",{type:"user",item:e}).then((function(e){t.warning=!0,t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully blocked "+t.profile.acct,"success")})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong. Please try again later.","error")}))}},unblockProfile:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){var e=this.profileId;axios.post("/i/unblock",{type:"user",item:e}).then((function(e){t.fetchRelationships(),t.$refs.visitorContextMenu.hide(),swal("Success","You have successfully unblocked "+t.profile.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}},deletePost:function(t,e){var s=this;0!=a("body").hasClass("loggedIn")&&t.account.id===this.profile.id&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){s.timeline.splice(e,1),swal("Success","You have successfully deleted this post","success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},followProfile:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){this.$refs.visitorContextMenu.hide();var e=this.relationship.following,s=e?"/api/v1/accounts/"+this.profileId+"/unfollow":"/api/v1/accounts/"+this.profileId+"/follow";axios.post(s).then((function(s){e?(t.profile.followers_count--,t.profile.locked&&location.reload()):t.profile.followers_count++,t.relationship=s.data})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}},followingModal:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){if(0!=this.profileSettings.following.list)return this.followingCursor||axios.get("/api/v1/accounts/"+this.profileId+"/following",{params:{cursor:this.followingCursor,limit:40,_pe:1}}).then((function(e){if(t.following=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.followingCursor=s.prev.cursor,t.followingMore=!0):t.followingMore=!1}else t.followingMore=!1})).then((function(){setTimeout((function(){t.followingLoading=!1}),1e3)})),void this.$refs.followingModal.show()}else window.location.href=encodeURI("/login?next=/"+this.profileUsername+"/")},followersModal:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){if(0!=this.profileSettings.followers.list)return this.followerCursor>1||axios.get("/api/v1/accounts/"+this.profileId+"/followers",{params:{cursor:this.followerCursor,limit:40,_pe:1}}).then((function(e){var s;if((s=t.followers).push.apply(s,n(e.data)),e.headers&&e.headers.link){var i=(0,o.parseLinkHeader)(e.headers.link);i.prev?(t.followerCursor=i.prev.cursor,t.followerMore=!0):t.followerMore=!1}else t.followerMore=!1})).then((function(){setTimeout((function(){t.followerLoading=!1}),1e3)})),void this.$refs.followerModal.show()}else window.location.href=encodeURI("/login?next=/"+this.profileUsername+"/")},followingLoadMore:function(){var t=this;0!=a("body").hasClass("loggedIn")?axios.get("/api/v1/accounts/"+this.profile.id+"/following",{params:{cursor:this.followingCursor,limit:40,_pe:1}}).then((function(e){var s;e.data.length>0&&(s=t.following).push.apply(s,n(e.data));if(e.headers&&e.headers.link){var i=(0,o.parseLinkHeader)(e.headers.link);i.prev?(t.followingCursor=i.prev.cursor,t.followingMore=!0):t.followingMore=!1}else t.followingMore=!1})):window.location.href=encodeURI("/login?next=/"+this.profile.username+"/")},followersLoadMore:function(){var t=this;0!=a("body").hasClass("loggedIn")&&axios.get("/api/v1/accounts/"+this.profile.id+"/followers",{params:{cursor:this.followerCursor,limit:40,_pe:1}}).then((function(e){var s;e.data.length>0&&(s=t.followers).push.apply(s,n(e.data));if(e.headers&&e.headers.link){var i=(0,o.parseLinkHeader)(e.headers.link);i.prev?(t.followerCursor=i.prev.cursor,t.followerMore=!0):t.followerMore=!1}else t.followerMore=!1}))},visitorMenu:function(){this.$refs.visitorContextMenu.show()},followModalAction:function(t,e){var s=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"following",o="following"===i?"/api/v1/accounts/"+t+"/unfollow":"/api/v1/accounts/"+t+"/follow";axios.post(o).then((function(t){"following"==i&&(s.following.splice(e,1),s.profile.following_count--)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},momentBackground:function(){var t="w-100 h-100 mt-n3 ";return this.profile.header_bg?t+="default"==this.profile.header_bg?"bg-pixelfed":"bg-moment-"+this.profile.header_bg:t+="bg-pixelfed",t},loadSponsor:function(){var t=this;axios.get("/api/local/profile/sponsor/"+this.profileId).then((function(e){t.sponsorList=e.data}))},showSponsorModal:function(){this.$refs.sponsorModal.show()},goBack:function(){return window.history.length>2?void window.history.back():void(window.location.href="/")},copyProfileLink:function(){navigator.clipboard.writeText(window.location.href),this.$refs.visitorContextMenu.hide()},formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return t.url},profileUrl:function(t){return t.url},profileUrlRedirect:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},showEmbedProfileModal:function(){this.ctxEmbedPayload=window.App.util.embed.profile(this.profile.url),this.$refs.visitorContextMenu.hide(),this.$refs.embedModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.$refs.embedModal.hide(),this.$refs.visitorContextMenu.hide()},storyRedirect:function(){window.location.href="/stories/"+this.profileUsername+"?t=4"},truncate:function(t,e){return _.truncate(t,{length:e})},formatWebsite:function(t){if("https://"===t.slice(0,8))t=t.substr(8);else{if("http://"!==t.slice(0,7))return void(this.profile.website=null);t=t.substr(7)}return this.truncate(t,60)},joinedAtFormat:function(t){return new Date(t).toDateString()},archivesInfiniteLoader:function(t){var e=this;axios.get("/api/pixelfed/v2/statuses/archives",{params:{page:this.archivesPage}}).then((function(s){var i;s.data.length?((i=e.archives).push.apply(i,n(s.data)),e.archivesPage++,t.loaded()):t.complete()}))}}}},6083:(t,e,s)=>{"use strict";function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);sa});const a={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{},data:function(){return{loading:!0,curUser:void 0,profile:void 0,relationship:void 0,owner:!1,tab:"posts",layout:"grid",timeline:[],ids:[],min_id:void 0,max_id:void 0,canPaginate:!0,showMenuNav:!0,followers:[]}},mounted:function(){this.init()},methods:{init:function(){var t=this,e=new URLSearchParams(window.location.search);if(e.has("lt")){var s=e.get("lt"),i=1==s?1:2==s?2:0;0==i&&history.pushState(null,null,window.location.origin+window.location.pathname),this.layout=["grid","feed","masonry"][i]}this.cachedProfile&&this.cachedUser?(this.curUser=this.cachedUser,this.profile=this.cachedProfile,this.fetchPosts(),this.loaded()):axios.get("/api/v1/accounts/verify_credentials").then((function(e){t.curUser=e.data,t.fetchProfile()})).catch((function(e){t.curUser={id:void 0},t.fetchProfile()}))},loaded:function(){this.loading&&(this.$refs.loader.loaded(),this.loading=!1)},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.loaded(),t.fetchPosts()):(t.loaded(),t.fetchPosts(),t.fetchRelationship())})).catch((function(t){}))},fetchRelationship:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":e}}).then((function(e){t.relationship=e.data[0],t.loaded()})).catch((function(e){t.relationship={following:!1},t.loaded()}))},toggleTab:function(t){this.canPaginate=!1,this.layout="grid",this.tab=t,"followers"==t&&(this.showMenuNav=!1,this.followers.length||this.fetchFollowers()),console.log(t)},toggleLayout:function(t){event.currentTarget.blur(),this.layout=t;var e=location.origin+location.pathname,s="grid"!=t?e+"?lt="+["grid","feed","masonry"].indexOf(t):e;history.pushState(null,null,s)},fetchFollowers:function(){var t=this,e=this.profileId?this.profileId:this.id;axios.get("/api/v1/accounts/"+e+"/followers").then((function(e){var s;(s=t.followers).push.apply(s,i(e.data))}))},fetchPosts:function(){var t=this,e="/api/v1/accounts/"+(this.id?this.id:this.profileId?this.profileId:this.profile.id)+"/statuses";axios.get(e,{params:{limit:9,only_media:!0,min_id:1}}).then((function(e){var s=e.data.filter((function(t){return t.media_attachments.length>0})),o=s.map((function(t){return t.id}));t.ids=o,t.min_id=Math.max.apply(Math,i(o)),t.max_id=Math.min.apply(Math,i(o)),s.forEach((function(e){t.timeline.push(e)}))}))},infiniteTimeline:function(t){var e=this;if("posts"==this.tab)if(this.loading||this.timeline.length<9)t.complete();else{var s="/api/v1/accounts/"+(this.id?this.id:this.profileId?this.profileId:this.profile.id)+"/statuses";axios.get(s,{params:{only_media:!0,max_id:this.max_id}}).then((function(s){if(s.data.length&&0==e.loading){var o=s.data,a=e;o.forEach((function(t){-1==a.ids.indexOf(t.id)&&(a.timeline.push(t),a.ids.push(t.id))}));var n=Math.min.apply(Math,i(e.ids));if(n==e.max_id)return void t.complete();e.min_id=Math.max.apply(Math,i(e.ids)),e.max_id=n,t.loaded(),e.loading=!1}else t.complete()}))}},statusUrl:function(t){return t.url},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].preview_url},truncate:function(t,e){return _.truncate(t,{length:e})},formatCount:function(t){return App.util.format.count(t)},formatWebsite:function(t){if("https://"===t.slice(0,8))t=t.substr(8);else{if("http://"!==t.slice(0,7))return;t=t.substr(7)}return this.truncate(t,60)},timeago:function(t){return App.util.format.timeAgo(t)},joinedAtFormat:function(t){return new Date(t).toDateString()}}}},96136:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(19755);const o={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var i=this,o=(t.account.username,t.id,""),a=this;switch(e){case"addcw":o="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,a.closeModals(),a.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),a.closeModals(),a.ctxModMenuClose()}))}));break;case"remcw":o="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,a.closeModals(),a.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),a.closeModals(),a.ctxModMenuClose()}))}));break;case"unlist":o="Are you sure you want to unlist this post?",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){i.feed=i.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":o="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:o,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=i("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=i("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},41441:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(20415),o=s(19755);const a={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":i.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at){"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(20415),o=s(97622),a=s(19755);const n={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":i.default,"poll-card":o.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,i=t.account.username,o=document.createElement("a");switch(o.href=t.account.url,o=o.hostname,e){case"@":default:return i+'@'+o+"";case"from":return i+' from '+o+"";case"custom":return i+' '+s+" "+o+""}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=a("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var i=t.id,o=this.replyText,a=this.config.uploader.max_caption_length;if(o.length>a)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+a+" characters or less.","error");axios.post("/i/comment",{item:i,comment:o,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)}}}},274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status"]}},45354:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,i.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var i="forward";e.advancePage(i),e.$emit("navigation-click",i)}}}}},28314:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(99347);const o={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,i.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,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status"]}},57602:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={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}}}},79953:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=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()])},o=[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.")])}]},59445:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100 h-100"},[t.isMobile?e("div",{staticClass:"bg-white p-3 border-bottom"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",{staticClass:"cursor-pointer",on:{click:t.goBack}},[e("i",{staticClass:"fas fa-chevron-left fa-lg"})]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t"+t._s(this.profileUsername)+"\n\n\t\t\t")]),t._v(" "),e("div",[e("a",{staticClass:"fas fa-ellipsis-v fa-lg text-muted text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.visitorMenu.apply(null,arguments)}}})])])]):t._e(),t._v(" "),t.relationship&&t.relationship.blocking&&t.warning?e("div",{staticClass:"bg-white pt-3 border-bottom"},[e("div",{staticClass:"container"},[e("p",{staticClass:"text-center font-weight-bold"},[t._v("You are blocking this account")]),t._v(" "),e("p",{staticClass:"text-center font-weight-bold"},[t._v("Click "),e("a",{staticClass:"cursor-pointer",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.warning=!1}}},[t._v("here")]),t._v(" to view profile")])])]):t._e(),t._v(" "),t.loading?e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[e("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]):t._e(),t._v(" "),t.loading||t.warning?t._e():e("div",["metro"==t.layout?e("div",{staticClass:"container"},[e("div",{class:t.isMobile?"pt-5":"pt-5 border-bottom"},[e("div",{staticClass:"container px-0"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-4 d-md-flex"},[e("div",{staticClass:"profile-avatar mx-md-auto"},[e("div",{staticClass:"d-block d-md-none mt-n3 mb-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-4"},[t.hasStory?e("div",{staticClass:"has-story cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[e("img",{staticClass:"rounded-circle",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"77px",height:"77px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]):e("div",[e("img",{staticClass:"rounded-circle border",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"77px",height:"77px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})])]),t._v(" "),e("div",{staticClass:"col-8"},[e("div",{staticClass:"d-block d-md-none mt-3 py-2"},[e("ul",{staticClass:"nav d-flex justify-content-between"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"font-weight-light"},[e("span",{staticClass:"text-dark text-center"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("p",{staticClass:"text-muted mb-0 small"},[t._v("Posts")])])])]),t._v(" "),e("li",{staticClass:"nav-item"},[t.profileSettings.followers.count?e("div",{staticClass:"font-weight-light"},[e("a",{staticClass:"text-dark cursor-pointer text-center",on:{click:function(e){return t.followersModal()}}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("p",{staticClass:"text-muted mb-0 small"},[t._v("Followers")])])]):t._e()]),t._v(" "),e("li",{staticClass:"nav-item"},[t.profileSettings.following.count?e("div",{staticClass:"font-weight-light"},[e("a",{staticClass:"text-dark cursor-pointer text-center",on:{click:function(e){return t.followingModal()}}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("p",{staticClass:"text-muted mb-0 small"},[t._v("Following")])])]):t._e()])])])])])]),t._v(" "),e("div",{staticClass:"d-none d-md-block pb-3"},[t.hasStory?e("div",{staticClass:"has-story-lg cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[e("img",{staticClass:"rounded-circle box-shadow cursor-pointer",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"150px",height:"150px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]):e("div",[e("img",{staticClass:"rounded-circle box-shadow",attrs:{alt:t.profileUsername+"'s profile picture",src:t.profile.avatar,width:"150px",height:"150px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.sponsorList.patreon||t.sponsorList.liberapay||t.sponsorList.opencollective?e("p",{staticClass:"text-center mt-3"},[e("button",{staticClass:"btn btn-outline-secondary font-weight-bold py-0",attrs:{type:"button"},on:{click:t.showSponsorModal}},[e("i",{staticClass:"fas fa-heart text-danger"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tDonate\n\t\t\t\t\t\t\t\t\t\t")])]):t._e()])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-8 d-flex align-items-center"},[e("div",{staticClass:"profile-details"},[e("div",{staticClass:"d-none d-md-flex username-bar pb-3 align-items-center"},[e("span",{staticClass:"font-weight-ultralight h3 mb-0"},[t._v(t._s(t.profile.username))]),t._v(" "),t.profile.id!=t.user.id&&t.user.hasOwnProperty("id")?e("span",[1==t.relationship.following?e("span",{staticClass:"pl-4"},[e("a",{staticClass:"btn btn-outline-secondary font-weight-bold btn-sm py-1 text-dark mr-2 px-3 btn-sec-alt",staticStyle:{border:"1px solid #dbdbdb"},attrs:{href:"/account/direct/t/"+t.profile.id,"data-toggle":"tooltip",title:"Message"}},[t._v("Message")]),t._v(" "),e("button",{staticClass:"btn btn-outline-secondary font-weight-bold btn-sm py-1 text-dark btn-sec-alt",staticStyle:{border:"1px solid #dbdbdb"},attrs:{type:"button","data-toggle":"tooltip",title:"Unfollow"},on:{click:t.followProfile}},[e("i",{staticClass:"fas fa-user-check mx-3"})])]):t._e(),t._v(" "),t.relationship.following?t._e():e("span",{staticClass:"pl-4"},[e("button",{staticClass:"btn btn-primary font-weight-bold btn-sm py-1 px-3",attrs:{type:"button","data-toggle":"tooltip",title:"Follow"},on:{click:t.followProfile}},[t._v("Follow")])])]):t._e(),t._v(" "),t.owner&&t.user.hasOwnProperty("id")?e("span",{staticClass:"pl-4"},[e("a",{staticClass:"btn btn-outline-secondary btn-sm",staticStyle:{"font-weight":"600"},attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),e("span",{staticClass:"pl-4"},[e("a",{staticClass:"fas fa-ellipsis-h fa-lg text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.visitorMenu.apply(null,arguments)}}})])]),t._v(" "),e("div",{staticClass:"font-size-16px"},[e("div",{staticClass:"d-none d-md-inline-flex profile-stats pb-3"},[e("div",{staticClass:"font-weight-light pr-5"},[e("span",{staticClass:"text-dark"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tPosts\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),t.profileSettings.followers.count?e("div",{staticClass:"font-weight-light pr-5"},[e("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followersModal()}}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tFollowers\n\t\t\t\t\t\t\t\t\t\t\t")])]):t._e(),t._v(" "),t.profileSettings.following.count?e("div",{staticClass:"font-weight-light"},[e("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followingModal()}}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tFollowing\n\t\t\t\t\t\t\t\t\t\t\t")])]):t._e()]),t._v(" "),e("div",{staticClass:"d-md-flex align-items-center mb-1 text-break"},[e("div",{staticClass:"font-weight-bold mr-1"},[t._v(t._s(t.profile.display_name))]),t._v(" "),t.profile.pronouns?e("div",{staticClass:"text-muted small"},[t._v(t._s(t.profile.pronouns.join("/")))]):t._e()]),t._v(" "),t.profile.note?e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.profile.note)}}):t._e(),t._v(" "),t.profile.website?e("p",[e("a",{staticClass:"profile-website small",attrs:{href:t.profile.website,rel:"me external nofollow noopener",target:"_blank"}},[t._v(t._s(t.formatWebsite(t.profile.website)))])]):t._e(),t._v(" "),e("p",{staticClass:"d-flex small text-muted align-items-center"},[t.profile.is_admin?e("span",{staticClass:"btn btn-outline-danger btn-sm py-0 mr-3",attrs:{title:"Admin Account","data-toggle":"tooltip"}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tAdmin\n\t\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.relationship&&t.relationship.followed_by?e("span",{staticClass:"btn btn-outline-muted btn-sm py-0 mr-3"},[t._v("Follows You")]):t._e(),t._v(" "),e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\tJoined "+t._s(t.joinedAtFormat(t.profile.created_at))+"\n\t\t\t\t\t\t\t\t\t\t")])])])])])])])]),t._v(" "),t.user&&t.user.hasOwnProperty("id")?e("div",{staticClass:"d-block d-md-none my-0 pt-3 border-bottom"},[e("p",{staticClass:"pt-3"},[t.owner?e("button",{staticClass:"btn btn-outline-secondary bg-white btn-sm py-1 btn-block text-center font-weight-bold text-dark border border-lighter",on:{click:function(e){return e.preventDefault(),t.redirect("/settings/home")}}},[t._v("Edit Profile")]):t._e(),t._v(" "),!t.owner&&t.relationship.following?e("button",{staticClass:"btn btn-outline-secondary bg-white btn-sm py-1 px-5 font-weight-bold text-dark border border-lighter",on:{click:t.followProfile}},[t._v("   Unfollow   ")]):t._e(),t._v(" "),t.owner||t.relationship.following?t._e():e("button",{staticClass:"btn btn-primary btn-sm py-1 px-5 font-weight-bold",on:{click:t.followProfile}},[t._v(t._s(t.relationship.followed_by?"Follow Back":"     Follow     "))])])]):t._e(),t._v(" "),e("div",{},[e("ul",{staticClass:"nav nav-topbar d-flex justify-content-center border-0"},[e("li",{staticClass:"nav-item border-top"},[e("a",{class:"grid"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("grid")}}},[e("i",{staticClass:"fas fa-th"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("POSTS")])])]),t._v(" "),e("li",{staticClass:"nav-item px-0 border-top"},[e("a",{class:"collections"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("collections")}}},[e("i",{staticClass:"fas fa-images"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("COLLECTIONS")])])]),t._v(" "),t.owner?e("li",{staticClass:"nav-item border-top"},[e("a",{class:"bookmarks"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("bookmarks")}}},[e("i",{staticClass:"fas fa-bookmark"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("SAVED")])])]):t._e(),t._v(" "),t.owner?e("li",{staticClass:"nav-item border-top"},[e("a",{class:"archives"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("archives")}}},[e("i",{staticClass:"far fa-folder-open"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("ARCHIVES")])])]):t._e()])]),t._v(" "),e("div",{staticClass:"container px-0"},[e("div",{staticClass:"profile-timeline mt-md-4"},["grid"==t.mode?e("div",[e("div",{staticClass:"row"},[t._l(t.timeline,(function(s,i){return e("div",{key:"tlob:"+i,staticClass:"col-4 p-1 p-md-3"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[s.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].preview_url}})],1),t._v(" "),"photo:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==s.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"==s.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(s.reply_count)))])])])])])])])})),t._v(" "),0==t.timeline.length?e("div",{staticClass:"col-12"},[t._m(1)]):t._e()],2),t._v(" "),t.timeline.length?e("div",[e("infinite-loading",{on:{infinite:t.infiniteTimeline}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()]):t._e(),t._v(" "),"bookmarks"==t.mode?e("div",[t.bookmarksLoading?e("div",[t._m(2)]):e("div",[t.bookmarks.length?e("div",{staticClass:"row"},t._l(t.bookmarks,(function(s,i){return e("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:s.url}},[e("div",{staticClass:"square"},["photo:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==s.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"==s.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:"square-content",style:t.previewBackground(s)}),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"fas fa-retweet fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(s.reblogs_count))])])])])])])])})),0):e("div",{staticClass:"col-12"},[t._m(3)])])]):t._e(),t._v(" "),"collections"==t.mode?e("div",[t.collections.length&&t.collectionsLoaded?e("div",{staticClass:"row"},t._l(t.collections,(function(t,s){return e("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.url}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content",style:"background-image: url("+t.thumb+");"})])])])})),0):e("div",[t._m(4)])]):t._e(),t._v(" "),"archives"==t.mode?e("div",[t.archives.length?e("div",{staticClass:"col-12 col-md-8 offset-md-2 px-0 mb-sm-3 timeline mt-5"},[t._m(5),t._v(" "),t._l(t.archives,(function(t,s){return e("div",[e("status-card",{class:{"border-top":0===s},attrs:{status:t,"reaction-bar":!1}})],1)})),t._v(" "),e("infinite-loading",{on:{infinite:t.archivesInfiniteLoader}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2):t._e()]):t._e()])])]):t._e()]),t._v(" "),t.profile&&t.following?e("b-modal",{ref:"followingModal",attrs:{id:"following-modal","hide-footer":"",centered:"",scrollable:"",title:"Following","body-class":"list-group-flush py-3 px-0","dialog-class":"follow-modal"}},[t.followingLoading?e("div",{staticClass:"text-center py-5"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):e("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.following.length?e("div",[t._l(t.following,(function(s,i){return e("div",{key:"following_"+i,staticClass:"list-group-item border-0 py-1 mb-1"},[e("div",{staticClass:"media"},[e("a",{attrs:{href:t.profileUrlRedirect(s)}},[t._o(e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),0,"following_"+i)]),t._v(" "),e("div",{staticClass:"media-body text-truncate"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(s)}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.display_name?s.display_name:s.username)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])]),t._v(" "),t.owner?e("div",[e("a",{staticClass:"btn btn-outline-dark btn-sm font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.followModalAction(s.id,i,"following")}}},[t._v("Following")])]):t._e()])])})),t._v(" "),t.followingLoading||0!=t.following.length?t._e():e("div",{staticClass:"list-group-item border-0"},[e("div",{staticClass:"list-group-item border-0 pt-5"},[e("p",{staticClass:"p-3 text-center mb-0 lead"},[t._v("No Results Found")])])]),t._v(" "),t.following.length>0&&t.followingMore?e("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followingLoadMore()}}},[e("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"list-group-item border-0"},[e("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[e("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" is not following yet")])])])]):t._e(),t._v(" "),e("b-modal",{ref:"followerModal",attrs:{id:"follower-modal","hide-footer":"",centered:"",scrollable:"",title:"Followers","body-class":"list-group-flush py-3 px-0","dialog-class":"follow-modal"}},[t.followerLoading?e("div",{staticClass:"text-center py-5"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):e("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.followerLoading||t.followers.length?e("div",[t._l(t.followers,(function(s,i){return e("div",{key:"follower_"+i,staticClass:"list-group-item border-0 py-1 mb-1"},[e("div",{staticClass:"media mb-0"},[e("a",{attrs:{href:t.profileUrlRedirect(s)}},[t._o(e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",height:"30px",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),1,"follower_"+i)]),t._v(" "),e("div",{staticClass:"media-body mb-0"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(s)}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.display_name?s.display_name:s.username)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])])])])})),t._v(" "),t.followers.length&&t.followerMore?e("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followersLoadMore()}}},[e("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"list-group-item border-0"},[e("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[e("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" has no followers yet")])])])]),t._v(" "),e("b-modal",{ref:"visitorContextMenu",attrs:{id:"visitor-context-menu","hide-footer":"","hide-header":"",centered:"",size:"sm","body-class":"list-group-flush p-0"}},[t.relationship?e("div",{staticClass:"list-group"},[e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.copyProfileLink}},[t._v("\n\t\t\t\tCopy Link\n\t\t\t")]),t._v(" "),0==t.profile.locked?e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.showEmbedProfileModal}},[t._v("\n\t\t\t\tEmbed\n\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.following?t._e():e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.followProfile}},[t._v("\n\t\t\t\tFollow\n\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.following?e("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.followProfile}},[t._v("\n\t\t\t\tUnfollow\n\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.muting?t._e():e("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.muteProfile}},[t._v("\n\t\t\t\tMute\n\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.muting?e("div",{staticClass:"list-group-item cursor-pointer text-center rounded",on:{click:t.unmuteProfile}},[t._v("\n\t\t\t\tUnmute\n\t\t\t")]):t._e(),t._v(" "),t.user&&!t.owner?e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.reportProfile}},[t._v("\n\t\t\t\tReport User\n\t\t\t")]):t._e(),t._v(" "),!t.user||t.owner||t.relationship.blocking?t._e():e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.blockProfile}},[t._v("\n\t\t\t\tBlock\n\t\t\t")]),t._v(" "),t.user&&!t.owner&&t.relationship.blocking?e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:t.unblockProfile}},[t._v("\n\t\t\t\tUnblock\n\t\t\t")]):t._e(),t._v(" "),t.user&&t.owner?e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:function(e){return t.redirect("/settings/home")}}},[t._v("\n\t\t\t\tSettings\n\t\t\t")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-dark",on:{click:function(e){return t.redirect("/users/"+t.profileUsername+".atom")}}},[t._v("\n\t\t\t\tAtom Feed\n\t\t\t")]),t._v(" "),e("div",{staticClass:"list-group-item cursor-pointer text-center rounded text-muted font-weight-bold",on:{click:function(e){return t.$refs.visitorContextMenu.hide()}}},[t._v("\n\t\t\t\tClose\n\t\t\t")])]):t._e()]),t._v(" "),e("b-modal",{ref:"sponsorModal",attrs:{id:"sponsor-modal","hide-footer":"",title:"Sponsor "+t.profileUsername,centered:"",size:"md","body-class":"px-5"}},[e("div",[e("p",{staticClass:"font-weight-bold"},[t._v("External Links")]),t._v(" "),t.sponsorList.patreon?e("p",{staticClass:"pt-2"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.patreon,rel:"nofollow"}},[t._v(t._s(t.sponsorList.patreon))])]):t._e(),t._v(" "),t.sponsorList.liberapay?e("p",{staticClass:"pt-2"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.liberapay,rel:"nofollow"}},[t._v(t._s(t.sponsorList.liberapay))])]):t._e(),t._v(" "),t.sponsorList.opencollective?e("p",{staticClass:"pt-2"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.opencollective,rel:"nofollow"}},[t._v(t._s(t.sponsorList.opencollective))])]):t._e()])]),t._v(" "),e("b-modal",{ref:"embedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"6",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}}),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])])],1)},o=[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"})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"py-5 text-center text-muted"},[e("p",[e("i",{staticClass:"fas fa-camera-retro fa-2x"})]),t._v(" "),e("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No posts yet")])])},function(){var t=this._self._c;return t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"p-1 p-sm-2 p-md-3 d-flex justify-content-center align-items-center",staticStyle:{height:"30vh"}},[t("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"py-5 text-center text-muted"},[e("p",[e("i",{staticClass:"fas fa-bookmark fa-2x"})]),t._v(" "),e("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No saved bookmarks")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"py-5 text-center text-muted"},[e("p",[e("i",{staticClass:"fas fa-images fa-2x"})]),t._v(" "),e("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No collections yet")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"alert alert-info"},[e("p",{staticClass:"mb-0"},[t._v("Posts you archive can only be seen by you.")]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v("For more information see the "),e("a",{attrs:{href:"/site/kb/sharing-media"}},[t._v("Sharing Media")]),t._v(" help center page.")])])}]},9999:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-component"},[e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-3"},[e("div",{staticClass:"d-flex align-items-center my-3"},[e("img",{staticClass:"mr-2",attrs:{src:"/img/pixelfed-icon-color.png",width:"30"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold text-white mb-0"},[t._v("Pixelfed")])]),t._v(" "),e("div",{staticClass:"card mt-5 bg-transparent"},[e("div",{staticClass:"card-body text-center"},[e("img",{staticClass:"mb-4",attrs:{src:"/storage/avatars/default.png",width:"100"}}),t._v(" "),e("p",{staticClass:"text-white mb-n2 lead font-weight-bold"},[t._v("Dan Sup")]),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v("@dansup")])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-9"})])])])}]},90977:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,i=e.target,o=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.ctxEmbedShowCaption=s.concat([null])):a>-1&&(t.ctxEmbedShowCaption=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,i=e.target,o=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.ctxEmbedShowLikes=s.concat([null])):a>-1&&(t.ctxEmbedShowLikes=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,i=e.target,o=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.ctxEmbedCompactMode=s.concat([null])):a>-1&&(t.ctxEmbedCompactMode=s.slice(0,a).concat(s.slice(a+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},87440:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,i){return e("p",[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[i==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?e("div",t._l(t.status.poll.options,(function(s,i){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[i==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,i){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},83222:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?e("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[t.status.sensitive?e("details",[e("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),e("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):e("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?e("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[e("div",[e("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),e("div",{staticClass:"pl-2"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.status.place?e("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?e("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[e("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[e("span",[e("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),e("div",{staticClass:"card-body"},[t.reactionBar?e("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?e("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):e("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():e("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?e("span",{staticClass:"float-right"},[e("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[e("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,s){return e("span",{staticClass:"mr-n2"},[e("a",{attrs:{href:"/"+t.username}},[e("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?e("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?e("div",{staticClass:"caption"},[t.status.sensitive?t._e():e("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[e("span",{staticClass:"username font-weight-bold"},[e("bdi",[e("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),e("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),e("div",{staticClass:"timestamp mt-2"},[e("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?e("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):e("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?e("span",[e("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},35594:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(s,i){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(s,i){return e("slide",{key:"px-carousel-"+s.id+"-"+i,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},o=[]},86072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=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\t\tSensitive Content\n\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status),title:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+t.status.id}},t._l(t.status.media_attachments,(function(s,i){return e("slide",{key:"px-carousel-"+s.id+"-"+i,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),title:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},65161:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},40711:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},o=[]},88699:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=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}})])])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},44587:(t,e,s)=>{Vue.component("photo-presenter",s(23251).default),Vue.component("video-presenter",s(53973).default),Vue.component("photo-album-presenter",s(33872).default),Vue.component("video-album-presenter",s(76644).default),Vue.component("mixed-album-presenter",s(57374).default),Vue.component("post-menu",s(4086).default),Vue.component("profile",s(29279).default),Vue.component("profile-next",s(64983).default)},35992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".text-lighter[data-v-1002e7e2]{color:#b8c2cc!important}.modal-body[data-v-1002e7e2]{padding:0}",""]);const a=o},42896:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".o-landscape[data-v-5b5a6025],.o-portrait[data-v-5b5a6025],.o-square[data-v-5b5a6025]{max-width:320px}.post-icon[data-v-5b5a6025]{color:#fff;margin-top:10px;opacity:.6;position:relative;text-shadow:3px 3px 16px #272634;z-index:9}.font-size-16px[data-v-5b5a6025]{font-size:16px}.profile-website[data-v-5b5a6025]{color:#003569;font-weight:600;text-decoration:none}.nav-topbar .nav-link[data-v-5b5a6025]{color:#999}.nav-topbar .nav-link .small[data-v-5b5a6025]{font-weight:600}.has-story[data-v-5b5a6025]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;height:84px;padding:4px;width:84px}.has-story img[data-v-5b5a6025]{background:#fff;border-radius:50%;height:76px;padding:6px;width:76px}.has-story-lg[data-v-5b5a6025]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;height:159px;padding:4px;width:159px}.has-story-lg img[data-v-5b5a6025]{background:#fff;border-radius:50%;height:150px;padding:6px;width:150px}.no-focus[data-v-5b5a6025]{border-color:none;box-shadow:none;outline:0}.modal-tab-active[data-v-5b5a6025]{border-bottom:1px solid #08d}.btn-sec-alt[data-v-5b5a6025]:hover{background-color:transparent;border-color:#6c757d;color:#ccc;opacity:.7}",""]);const a=o},73548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-7ad1e2b6]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7ad1e2b6]{position:relative}.content-label[data-v-7ad1e2b6]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-7ad1e2b6]{position:relative}",""]);const a=o},97465:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-40ab6d65]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-40ab6d65]{position:relative}.content-label[data-v-40ab6d65]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const a=o},9650:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".content-label-wrapper[data-v-411d6f1a]{position:relative}.content-label[data-v-411d6f1a]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const a=o},21626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,"#content,.profile-component,body{background-color:var(--body-bg)}.profile-component{display:block;height:100%;width:100%}",""]);const a=o},12385:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(1519),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const a=o},33174:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(35992),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},83077:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(42896),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},4236:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(73548),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},42678:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(97465),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},42194:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(9650),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},51321:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(21626),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},52163:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(93379),o=s.n(i),a=s(12385),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},4086:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(48517),o=s(23413),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(74386);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"1002e7e2",null).exports},29279:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(92168),o=s(27798),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(13017);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"5b5a6025",null).exports},64983:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(40763),o=s(81889),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(57340);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},20415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(70528),o=s(36072),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},97622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(93557),o=s(48046),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19210:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(50099),o=s(76329),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(92649);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},57374:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(19399),o=s(57038),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},33872:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(15044),o=s(44484),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(67159);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"7ad1e2b6",null).exports},23251:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(54938),o=s(51485),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(22880);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"40ab6d65",null).exports},76644:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(75917),o=s(13938),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},53973:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(28348),o=s(79495),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(67406);const n=(0,s(51900).default)(o.default,i.render,i.staticRenderFns,!1,null,"411d6f1a",null).exports},23413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(49720),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},27798:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(9179),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},81889:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(6083),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},36072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(96136),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},48046:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(41441),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},76329:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(69789),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},57038:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(274),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},44484:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(45354),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},51485:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(28314),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},13938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(45524),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},79495:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(57602),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},48517:(t,e,s)=>{"use strict";s.r(e);var i=s(79953),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},92168:(t,e,s)=>{"use strict";s.r(e);var i=s(59445),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},40763:(t,e,s)=>{"use strict";s.r(e);var i=s(9999),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},70528:(t,e,s)=>{"use strict";s.r(e);var i=s(90977),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},93557:(t,e,s)=>{"use strict";s.r(e);var i=s(87440),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},50099:(t,e,s)=>{"use strict";s.r(e);var i=s(83222),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},19399:(t,e,s)=>{"use strict";s.r(e);var i=s(35594),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},15044:(t,e,s)=>{"use strict";s.r(e);var i=s(86072),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},54938:(t,e,s)=>{"use strict";s.r(e);var i=s(65161),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},75917:(t,e,s)=>{"use strict";s.r(e);var i=s(40711),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},28348:(t,e,s)=>{"use strict";s.r(e);var i=s(88699),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},74386:(t,e,s)=>{"use strict";s.r(e);var i=s(33174),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},13017:(t,e,s)=>{"use strict";s.r(e);var i=s(83077),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},67159:(t,e,s)=>{"use strict";s.r(e);var i=s(4236),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},22880:(t,e,s)=>{"use strict";s.r(e);var i=s(42678),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},67406:(t,e,s)=>{"use strict";s.r(e);var i=s(42194),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},57340:(t,e,s)=>{"use strict";s.r(e);var i=s(51321),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},92649:(t,e,s)=>{"use strict";s.r(e);var i=s(52163),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)}},t=>{t.O(0,[8898],(()=>{return e=44587,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/js/search.js b/public/js/search.js index 20662454d..b8a171f96 100644 --- a/public/js/search.js +++ b/public/js/search.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[4683],{44948:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>l});var a=e(19755);function r(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,s){if(!t)return;if("string"==typeof t)return i(t,s);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return i(t,s)}(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,s){(null==s||s>t.length)&&(s=t.length);for(var e=0,a=new Array(s);e1?arguments[1]:void 0;switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"hashtag"){case"hashtag":default:return t.url+"?src=search";case"profile":return 1==t.entity.local?t.url:"/i/web/profile/_/"+t.entity.id}},searchContext:function(t){var s=this;switch(t){case"all":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"all"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.results.places=e.places?e.places:[],s.placesCache=e.places,s.results.placesPagination=e.placesPagination?e.placesPagination:[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"remote":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"remote"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.results.profiles.length&&(s.analysis="profile"),s.results.statuses.length&&(s.analysis="remotePost"),s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"hashtag":axios.get("/api/search",{params:{q:this.query.slice(1),src:"metro",v:this.searchVersion,scope:"hashtag"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"profile":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"profile"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"webfinger":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"webfinger"}}).then((function(t){var e=t.data;s.results.hashtags=[],s.results.profiles=e.profiles,s.results.statuses=[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;default:this.loading=!1,this.networkError=!0}},placesPrevPage:function(){if(this.placesCursor--,1!=this.placesCursor){var t=20*this.placesCursor;this.results.places=this.placesCache.slice(t,20)}else this.results.places=this.placesCache.slice(0,20)},placesNextPage:function(){var t=this;this.placesCursor++;var s=20*this.placesCursor;this.placesCache.length>20?this.results.places=this.placesCache.slice(1==this.placesCursor?0:s,20):axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"all",page:this.placesCursor}}).then((function(s){var e,a=s.data;t.results.places=a.places?a.places:[],(e=t.placesCache).push.apply(e,r(a.places)),t.loading=!1})).catch((function(s){t.loading=!1,t.networkError=!0}))},formatCount:function(t){return window.App.util.format.count(t)}}}},53581:(t,s,e)=>{"use strict";e.r(s),e.d(s,{render:()=>a,staticRenderFns:()=>r});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"container"},[t.loading?s("div",{staticClass:"pt-5 text-center"},[t._m(0)]):t._e(),t._v(" "),t.networkError?s("div",{staticClass:"pt-5 text-center"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.networkError?t._e():s("div",{staticClass:"mt-5"},["all"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 d-flex justify-content-between align-items-center"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),t.placesSearchEnabled?s("div",{attrs:{title:"Show Places","data-toggle":"tooltip"}},[t.results.placesPagination.total>0?s("span",{staticClass:"badge badge-light mr-2 p-1 border",staticStyle:{"margin-top":"-5px"}},[t._v(t._s(t.formatCount(t.results.placesPagination.total)))]):t._e(),t._v(" "),s("div",{staticClass:"d-inline custom-control custom-switch"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.showPlaces,expression:"showPlaces"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"placesSwitch"},domProps:{checked:Array.isArray(t.showPlaces)?t._i(t.showPlaces,null)>-1:t.showPlaces},on:{change:function(s){var e=t.showPlaces,a=s.target,r=!!a.checked;if(Array.isArray(e)){var i=t._i(e,null);a.checked?i<0&&(t.showPlaces=e.concat([null])):i>-1&&(t.showPlaces=e.slice(0,i).concat(e.slice(i+1)))}else t.showPlaces=r}}}),t._v(" "),t._m(2)])]):t._e()]),t._v(" "),t._m(3),t._v(" "),t.placesSearchEnabled&&t.showPlaces?s("div",{staticClass:"col-12 mb-4"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("PLACES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.placesPagination.total)+")")])])]),t._v(" "),t.results.places.length?s("div",{staticClass:"mb-5"},[t._l(t.results.places,(function(e,a){return s("a",{staticClass:"mr-3 pr-4 d-inline-block text-decoration-none",attrs:{href:t.buildUrl("places",e)}},[s("div",{staticClass:"pb-2"},[s("div",{staticClass:"media align-items-center py-2"},[s("div",{staticClass:"media-body text-truncate"},[s("p",{staticClass:"mb-0 text-break text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[s("i",{staticClass:"fas fa-map-marker-alt text-lighter mr-2"}),t._v(" "+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")])])])])])})),t._v(" "),20==t.results.places.length||t.placesCursor>0?s("p",{staticClass:"text-center mt-3"},[1==t.placesCursor?s("a",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold py-0 disabled",attrs:{href:"#",disabled:""}},[s("i",{staticClass:"fas fa-chevron-left mr-2"}),t._v(" Previous\n\t\t\t\t\t\t")]):s("a",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold py-0",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.placesPrevPage()}}},[s("i",{staticClass:"fas fa-chevron-left mr-2"}),t._v(" Previous\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-4 small text-lighter"},[t._v(t._s(t.placesCursor)+"/"+t._s(t.results.placesPagination.last_page))]),t._v(" "),t.placesCursor!==t.results.placesPagination.last_page?s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.placesNextPage()}}},[t._v("\n\t\t\t\t\t\t\tNext "),s("i",{staticClass:"fas fa-chevron-right ml-2"})]):s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0 disabled",attrs:{href:"#",disabled:""}},[t._v("\n\t\t\t\t\t\t\tNext "),s("i",{staticClass:"fas fa-chevron-right ml-2"})])]):t._e()],2):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])]):t._e(),t._v(" "),s("div",{staticClass:"col-md-3"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("HASHTAGS "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.hashtags.length)+")")])])]),t._v(" "),t.results.hashtags.length?s("div",t._l(t.results.hashtags,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("hashtag",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[t._m(4,!0),t._v(" "),s("div",{staticClass:"media-body text-truncate"},[s("p",{staticClass:"mb-0 text-break text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t\t#"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e.count>2?s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.count)+" posts\n\t\t\t\t\t\t\t\t")]):t._e()])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])]),t._v(" "),s("div",{staticClass:"col-md-5"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("PROFILES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.profiles.length)+")")])])]),t._v(" "),t.results.profiles.length?s("div",t._l(t.results.profiles,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("profile",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[s("img",{staticClass:"mr-3 rounded-circle border",attrs:{src:e.avatar,width:"50px",height:"50px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-break text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.entity.post_count)+" Posts\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"ml-3"},[e.entity.following?s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("Following")]):s("a",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("View")])])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])]),t._v(" "),s("div",{staticClass:"col-md-4"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("STATUSES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.statuses.length)+")")])])]),t._v(" "),t.results.statuses.length?s("div",t._l(t.results.statuses,(function(e,a){return s("a",{key:"srs:"+a,staticClass:"mr-2 result-card",attrs:{href:t.buildUrl("status",e)}},[t._o(s("img",{staticClass:"mb-2",attrs:{src:e.thumb,width:"90px",height:"90px",onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0';"}}),0,"srs:"+a)])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):"hashtag"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("HASHTAGS "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.hashtags.length)+")")])])]),t._v(" "),t.results.hashtags.length?s("div",t._l(t.results.hashtags,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("hashtag",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[t._m(5,!0),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t\t#"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e.count>2?s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.count)+" posts\n\t\t\t\t\t\t\t\t")]):t._e()])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):"profile"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("PROFILES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.profiles.length)+")")])])]),t._v(" "),t.results.profiles.length?s("div",t._l(t.results.profiles,(function(e,a){return s("div",{staticClass:"card mb-4"},[t._m(6,!0),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"text-center mt-n5 mb-4"},[s("img",{staticClass:"rounded-circle p-1 border mt-n4 bg-white shadow",attrs:{src:e.entity.thumb,width:"90px",height:"90px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}})]),t._v(" "),s("p",{staticClass:"text-center lead font-weight-bold mb-1"},[t._v(t._s(e.value))]),t._v(" "),s("p",{staticClass:"text-center text-muted small text-uppercase mb-4"}),t._v(" "),s("div",{staticClass:"d-flex justify-content-center"},[e.entity.following?s("button",{staticClass:"btn btn-outline-secondary btn-sm py-1 px-4 text-uppercase font-weight-bold mr-3",staticStyle:{"font-weight":"500"},attrs:{type:"button"}},[t._v("Following")]):t._e(),t._v(" "),s("a",{staticClass:"btn btn-primary btn-sm py-1 px-4 text-uppercase font-weight-bold",staticStyle:{"font-weight":"500"},attrs:{href:t.buildUrl("profile",e)}},[t._v("View Profile")])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):"webfinger"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr"),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},t._l(t.results.profiles,(function(e,a){return s("div",{staticClass:"card mb-2"},[t._m(7,!0),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"text-center mt-n5 mb-4"},[s("img",{staticClass:"rounded-circle p-1 border mt-n4 bg-white shadow",attrs:{src:e.entity.thumb,width:"90px",height:"90px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}})]),t._v(" "),s("p",{staticClass:"text-center lead font-weight-bold mb-1"},[t._v(t._s(e.value))]),t._v(" "),s("p",{staticClass:"text-center text-muted small text-uppercase mb-4"}),t._v(" "),s("div",{staticClass:"d-flex justify-content-center"},[s("a",{staticClass:"btn btn-primary btn-sm py-1 px-4 text-uppercase font-weight-bold",staticStyle:{"font-weight":"500"},attrs:{href:"/i/web/profile/_/"+e.entity.id}},[t._v("View Profile")])])])])})),0)])]):"remote"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),t.results.profiles.length?s("div",{staticClass:"col-md-6 offset-3"},t._l(t.results.profiles,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("profile",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[s("img",{staticClass:"mr-3 rounded-circle border",attrs:{src:e.entity.thumb,width:"50px",height:"50px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.entity.post_count)+" Posts\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"ml-3"},[e.entity.following?s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("Following")]):s("a",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("View")])])])])])})),0):t._e(),t._v(" "),t.results.statuses.length?s("div",{staticClass:"col-md-6 offset-3"},t._l(t.results.statuses,(function(e,a){return s("a",{staticClass:"mr-2 result-card",attrs:{href:t.buildUrl("status",e)}},[s("img",{staticClass:"mb-2",attrs:{src:e.thumb,width:"90px",height:"90px",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}})])})),0):t._e()]):"remotePost"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},[t.results.statuses.length?s("div",t._l(t.results.statuses,(function(e,a){return s("div",{staticClass:"card mb-4 shadow-none border"},[s("div",{staticClass:"card-header p-0 m-0"},[s("div",{staticStyle:{width:"100%",height:"200px",background:"#fff"}},[s("div",{staticClass:"pt-4 text-center"},[s("img",{staticClass:"img-fluid border",staticStyle:{"max-height":"140px"},attrs:{src:e.thumb}})])])]),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"mt-n4 mb-2"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle p-1 mr-2 border mt-n3 bg-white shadow",attrs:{src:"/storage/avatars/default.png",width:"70px",height:"70px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),s("div",{staticClass:"media-body pt-3"},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(e.username))])]),t._v(" "),s("div",{staticClass:"float-right pt-3"},[s("p",{staticClass:"small mb-0 text-muted"},[t._v(t._s(e.timestamp))])])])]),t._v(" "),s("p",{staticClass:"text-center mb-3 lead",domProps:{innerHTML:t._s(e.caption)}})]),t._v(" "),s("div",{staticClass:"card-footer"},[s("a",{staticClass:"btn btn-primary btn-block font-weight-bold rounded-0",attrs:{href:e.url}},[t._v("View Post")])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):s("div",{staticClass:"col-12"},[s("p",{staticClass:"text-center text-muted lead font-weight-bold"},[t._v("No results found")])])])])},r=[function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading…")])])},function(){var t=this,s=t._self._c;return s("p",{staticClass:"lead font-weight-lighter"},[t._v("An error occured, results could not be loaded."),s("br"),t._v(" Please try again later.")])},function(){var t=this._self._c;return t("label",{staticClass:"custom-control-label font-weight-bold text-sm text-lighter",attrs:{for:"placesSwitch"}},[t("i",{staticClass:"fas fa-map-marker-alt"})])},function(){var t=this._self._c;return t("div",{staticClass:"col-12 mb-5"},[t("hr")])},function(){var t=this._self._c;return t("span",{staticClass:"d-inline-flex align-items-center justify-content-center border rounded-circle mr-3",staticStyle:{width:"50px",height:"50px"}},[t("i",{staticClass:"fas fa-hashtag text-muted"})])},function(){var t=this._self._c;return t("span",{staticClass:"d-inline-flex align-items-center justify-content-center border rounded-circle mr-3",staticStyle:{width:"50px",height:"50px"}},[t("i",{staticClass:"fas fa-hashtag text-muted"})])},function(){var t=this._self._c;return t("div",{staticClass:"card-header p-0 m-0"},[t("div",{staticStyle:{width:"100%",height:"140px",background:"#0070b7"}})])},function(){var t=this._self._c;return t("div",{staticClass:"card-header p-0 m-0"},[t("div",{staticStyle:{width:"100%",height:"140px",background:"#0070b7"}})])}]},66703:(t,s,e)=>{Vue.component("search-results",e(41218).default)},88570:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>i});var a=e(1519),r=e.n(a)()((function(t){return t[1]}));r.push([t.id,".result-card[data-v-07d98d75]{text-decoration:none}.result-card .media[data-v-07d98d75]:hover{background:#edf2f7}@media (min-width:1200px){.container[data-v-07d98d75]{max-width:995px}}",""]);const i=r},20781:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>o});var a=e(93379),r=e.n(a),i=e(88570),l={insert:"head",singleton:!1};r()(i.default,l);const o=i.default.locals||{}},41218:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>l});var a=e(76838),r=e(92737),i={};for(const t in r)"default"!==t&&(i[t]=()=>r[t]);e.d(s,i);e(52484);const l=(0,e(51900).default)(r.default,a.render,a.staticRenderFns,!1,null,"07d98d75",null).exports},92737:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>i});var a=e(44948),r={};for(const t in a)"default"!==t&&(r[t]=()=>a[t]);e.d(s,r);const i=a.default},76838:(t,s,e)=>{"use strict";e.r(s);var a=e(53581),r={};for(const t in a)"default"!==t&&(r[t]=()=>a[t]);e.d(s,r)},52484:(t,s,e)=>{"use strict";e.r(s);var a=e(20781),r={};for(const t in a)"default"!==t&&(r[t]=()=>a[t]);e.d(s,r)}},t=>{t.O(0,[8898],(()=>{return s=66703,t(t.s=s);var s}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[4683],{44948:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>l});var a=e(19755);function r(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,s){if(!t)return;if("string"==typeof t)return i(t,s);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return i(t,s)}(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,s){(null==s||s>t.length)&&(s=t.length);for(var e=0,a=new Array(s);e1?arguments[1]:void 0;switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"hashtag"){case"hashtag":default:return t.url+"?src=search";case"profile":return 1==t.entity.local?t.url:"/i/web/profile/_/"+t.entity.id}},searchContext:function(t){var s=this;switch(t){case"all":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"all"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.results.places=e.places?e.places:[],s.placesCache=e.places,s.results.placesPagination=e.placesPagination?e.placesPagination:[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"remote":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"remote"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.results.profiles.length&&(s.analysis="profile"),s.results.statuses.length&&(s.analysis="remotePost"),s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"hashtag":axios.get("/api/search",{params:{q:this.query.slice(1),src:"metro",v:this.searchVersion,scope:"hashtag"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"profile":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"profile"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"webfinger":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"webfinger"}}).then((function(t){var e=t.data;s.results.hashtags=[],s.results.profiles=e.profiles,s.results.statuses=[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;default:this.loading=!1,this.networkError=!0}},placesPrevPage:function(){if(this.placesCursor--,1!=this.placesCursor){var t=20*this.placesCursor;this.results.places=this.placesCache.slice(t,20)}else this.results.places=this.placesCache.slice(0,20)},placesNextPage:function(){var t=this;this.placesCursor++;var s=20*this.placesCursor;this.placesCache.length>20?this.results.places=this.placesCache.slice(1==this.placesCursor?0:s,20):axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"all",page:this.placesCursor}}).then((function(s){var e,a=s.data;t.results.places=a.places?a.places:[],(e=t.placesCache).push.apply(e,r(a.places)),t.loading=!1})).catch((function(s){t.loading=!1,t.networkError=!0}))},formatCount:function(t){return window.App.util.format.count(t)}}}},26247:(t,s,e)=>{"use strict";e.r(s),e.d(s,{render:()=>a,staticRenderFns:()=>r});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"container"},[t.loading?s("div",{staticClass:"pt-5 text-center"},[t._m(0)]):t._e(),t._v(" "),t.networkError?s("div",{staticClass:"pt-5 text-center"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.networkError?t._e():s("div",{staticClass:"mt-5"},["all"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 d-flex justify-content-between align-items-center"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),t.placesSearchEnabled?s("div",{attrs:{title:"Show Places","data-toggle":"tooltip"}},[t.results.placesPagination.total>0?s("span",{staticClass:"badge badge-light mr-2 p-1 border",staticStyle:{"margin-top":"-5px"}},[t._v(t._s(t.formatCount(t.results.placesPagination.total)))]):t._e(),t._v(" "),s("div",{staticClass:"d-inline custom-control custom-switch"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.showPlaces,expression:"showPlaces"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"placesSwitch"},domProps:{checked:Array.isArray(t.showPlaces)?t._i(t.showPlaces,null)>-1:t.showPlaces},on:{change:function(s){var e=t.showPlaces,a=s.target,r=!!a.checked;if(Array.isArray(e)){var i=t._i(e,null);a.checked?i<0&&(t.showPlaces=e.concat([null])):i>-1&&(t.showPlaces=e.slice(0,i).concat(e.slice(i+1)))}else t.showPlaces=r}}}),t._v(" "),t._m(2)])]):t._e()]),t._v(" "),t._m(3),t._v(" "),t.placesSearchEnabled&&t.showPlaces?s("div",{staticClass:"col-12 mb-4"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("PLACES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.placesPagination.total)+")")])])]),t._v(" "),t.results.places.length?s("div",{staticClass:"mb-5"},[t._l(t.results.places,(function(e,a){return s("a",{staticClass:"mr-3 pr-4 d-inline-block text-decoration-none",attrs:{href:t.buildUrl("places",e)}},[s("div",{staticClass:"pb-2"},[s("div",{staticClass:"media align-items-center py-2"},[s("div",{staticClass:"media-body text-truncate"},[s("p",{staticClass:"mb-0 text-break text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[s("i",{staticClass:"fas fa-map-marker-alt text-lighter mr-2"}),t._v(" "+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")])])])])])})),t._v(" "),20==t.results.places.length||t.placesCursor>0?s("p",{staticClass:"text-center mt-3"},[1==t.placesCursor?s("a",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold py-0 disabled",attrs:{href:"#",disabled:""}},[s("i",{staticClass:"fas fa-chevron-left mr-2"}),t._v(" Previous\n\t\t\t\t\t\t")]):s("a",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold py-0",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.placesPrevPage()}}},[s("i",{staticClass:"fas fa-chevron-left mr-2"}),t._v(" Previous\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-4 small text-lighter"},[t._v(t._s(t.placesCursor)+"/"+t._s(t.results.placesPagination.last_page))]),t._v(" "),t.placesCursor!==t.results.placesPagination.last_page?s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.placesNextPage()}}},[t._v("\n\t\t\t\t\t\t\tNext "),s("i",{staticClass:"fas fa-chevron-right ml-2"})]):s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0 disabled",attrs:{href:"#",disabled:""}},[t._v("\n\t\t\t\t\t\t\tNext "),s("i",{staticClass:"fas fa-chevron-right ml-2"})])]):t._e()],2):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])]):t._e(),t._v(" "),s("div",{staticClass:"col-md-3"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("HASHTAGS "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.hashtags.length)+")")])])]),t._v(" "),t.results.hashtags.length?s("div",t._l(t.results.hashtags,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("hashtag",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[t._m(4,!0),t._v(" "),s("div",{staticClass:"media-body text-truncate"},[s("p",{staticClass:"mb-0 text-break text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t\t#"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e.count>2?s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.count)+" posts\n\t\t\t\t\t\t\t\t")]):t._e()])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])]),t._v(" "),s("div",{staticClass:"col-md-5"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("PROFILES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.profiles.length)+")")])])]),t._v(" "),t.results.profiles.length?s("div",t._l(t.results.profiles,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("profile",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[s("img",{staticClass:"mr-3 rounded-circle border",attrs:{src:e.avatar,width:"50px",height:"50px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-break text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.entity.post_count)+" Posts\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"ml-3"},[e.entity.following?s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("Following")]):s("a",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("View")])])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])]),t._v(" "),s("div",{staticClass:"col-md-4"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("STATUSES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.statuses.length)+")")])])]),t._v(" "),t.results.statuses.length?s("div",t._l(t.results.statuses,(function(e,a){return s("a",{key:"srs:"+a,staticClass:"mr-2 result-card",attrs:{href:t.buildUrl("status",e)}},[t._o(s("img",{staticClass:"mb-2",attrs:{src:e.thumb,width:"90px",height:"90px",onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0';"}}),0,"srs:"+a)])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):"hashtag"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("HASHTAGS "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.hashtags.length)+")")])])]),t._v(" "),t.results.hashtags.length?s("div",t._l(t.results.hashtags,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("hashtag",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[t._m(5,!0),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t\t#"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e.count>2?s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.count)+" posts\n\t\t\t\t\t\t\t\t")]):t._e()])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):"profile"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("PROFILES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.profiles.length)+")")])])]),t._v(" "),t.results.profiles.length?s("div",t._l(t.results.profiles,(function(e,a){return s("div",{staticClass:"card mb-4"},[t._m(6,!0),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"text-center mt-n5 mb-4"},[s("img",{staticClass:"rounded-circle p-1 border mt-n4 bg-white shadow",attrs:{src:e.entity.thumb,width:"90px",height:"90px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}})]),t._v(" "),s("p",{staticClass:"text-center lead font-weight-bold mb-1"},[t._v(t._s(e.value))]),t._v(" "),s("p",{staticClass:"text-center text-muted small text-uppercase mb-4"}),t._v(" "),s("div",{staticClass:"d-flex justify-content-center"},[e.entity.following?s("button",{staticClass:"btn btn-outline-secondary btn-sm py-1 px-4 text-uppercase font-weight-bold mr-3",staticStyle:{"font-weight":"500"},attrs:{type:"button"}},[t._v("Following")]):t._e(),t._v(" "),s("a",{staticClass:"btn btn-primary btn-sm py-1 px-4 text-uppercase font-weight-bold",staticStyle:{"font-weight":"500"},attrs:{href:t.buildUrl("profile",e)}},[t._v("View Profile")])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):"webfinger"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr"),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},t._l(t.results.profiles,(function(e,a){return s("div",{staticClass:"card mb-2"},[t._m(7,!0),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"text-center mt-n5 mb-4"},[s("img",{staticClass:"rounded-circle p-1 border mt-n4 bg-white shadow",attrs:{src:e.entity.thumb,width:"90px",height:"90px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}})]),t._v(" "),s("p",{staticClass:"text-center lead font-weight-bold mb-1"},[t._v(t._s(e.value))]),t._v(" "),s("p",{staticClass:"text-center text-muted small text-uppercase mb-4"}),t._v(" "),s("div",{staticClass:"d-flex justify-content-center"},[s("a",{staticClass:"btn btn-primary btn-sm py-1 px-4 text-uppercase font-weight-bold",staticStyle:{"font-weight":"500"},attrs:{href:"/i/web/profile/_/"+e.entity.id}},[t._v("View Profile")])])])])})),0)])]):"remote"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),t.results.profiles.length?s("div",{staticClass:"col-md-6 offset-3"},t._l(t.results.profiles,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("profile",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[s("img",{staticClass:"mr-3 rounded-circle border",attrs:{src:e.entity.thumb,width:"50px",height:"50px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.entity.post_count)+" Posts\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"ml-3"},[e.entity.following?s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("Following")]):s("a",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("View")])])])])])})),0):t._e(),t._v(" "),t.results.statuses.length?s("div",{staticClass:"col-md-6 offset-3"},t._l(t.results.statuses,(function(e,a){return s("a",{staticClass:"mr-2 result-card",attrs:{href:t.buildUrl("status",e)}},[s("img",{staticClass:"mb-2",attrs:{src:e.thumb,width:"90px",height:"90px",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}})])})),0):t._e()]):"remotePost"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},[t.results.statuses.length?s("div",t._l(t.results.statuses,(function(e,a){return s("div",{staticClass:"card mb-4 shadow-none border"},[s("div",{staticClass:"card-header p-0 m-0"},[s("div",{staticStyle:{width:"100%",height:"200px",background:"#fff"}},[s("div",{staticClass:"pt-4 text-center"},[s("img",{staticClass:"img-fluid border",staticStyle:{"max-height":"140px"},attrs:{src:e.thumb}})])])]),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"mt-n4 mb-2"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle p-1 mr-2 border mt-n3 bg-white shadow",attrs:{src:"/storage/avatars/default.png",width:"70px",height:"70px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),s("div",{staticClass:"media-body pt-3"},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(e.username))])]),t._v(" "),s("div",{staticClass:"float-right pt-3"},[s("p",{staticClass:"small mb-0 text-muted"},[t._v(t._s(e.timestamp))])])])]),t._v(" "),s("p",{staticClass:"text-center mb-3 lead",domProps:{innerHTML:t._s(e.caption)}})]),t._v(" "),s("div",{staticClass:"card-footer"},[s("a",{staticClass:"btn btn-primary btn-block font-weight-bold rounded-0",attrs:{href:e.url}},[t._v("View Post")])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):s("div",{staticClass:"col-12"},[s("p",{staticClass:"text-center text-muted lead font-weight-bold"},[t._v("No results found")])])])])},r=[function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading…")])])},function(){var t=this,s=t._self._c;return s("p",{staticClass:"lead font-weight-lighter"},[t._v("An error occured, results could not be loaded."),s("br"),t._v(" Please try again later.")])},function(){var t=this._self._c;return t("label",{staticClass:"custom-control-label font-weight-bold text-sm text-lighter",attrs:{for:"placesSwitch"}},[t("i",{staticClass:"fas fa-map-marker-alt"})])},function(){var t=this._self._c;return t("div",{staticClass:"col-12 mb-5"},[t("hr")])},function(){var t=this._self._c;return t("span",{staticClass:"d-inline-flex align-items-center justify-content-center border rounded-circle mr-3",staticStyle:{width:"50px",height:"50px"}},[t("i",{staticClass:"fas fa-hashtag text-muted"})])},function(){var t=this._self._c;return t("span",{staticClass:"d-inline-flex align-items-center justify-content-center border rounded-circle mr-3",staticStyle:{width:"50px",height:"50px"}},[t("i",{staticClass:"fas fa-hashtag text-muted"})])},function(){var t=this._self._c;return t("div",{staticClass:"card-header p-0 m-0"},[t("div",{staticStyle:{width:"100%",height:"140px",background:"#0070b7"}})])},function(){var t=this._self._c;return t("div",{staticClass:"card-header p-0 m-0"},[t("div",{staticStyle:{width:"100%",height:"140px",background:"#0070b7"}})])}]},66703:(t,s,e)=>{Vue.component("search-results",e(41218).default)},47008:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>i});var a=e(1519),r=e.n(a)()((function(t){return t[1]}));r.push([t.id,".result-card[data-v-0879d027]{text-decoration:none}.result-card .media[data-v-0879d027]:hover{background:#edf2f7}@media (min-width:1200px){.container[data-v-0879d027]{max-width:995px}}",""]);const i=r},13316:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>o});var a=e(93379),r=e.n(a),i=e(47008),l={insert:"head",singleton:!1};r()(i.default,l);const o=i.default.locals||{}},41218:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>l});var a=e(12083),r=e(92737),i={};for(const t in r)"default"!==t&&(i[t]=()=>r[t]);e.d(s,i);e(58128);const l=(0,e(51900).default)(r.default,a.render,a.staticRenderFns,!1,null,"0879d027",null).exports},92737:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>i});var a=e(44948),r={};for(const t in a)"default"!==t&&(r[t]=()=>a[t]);e.d(s,r);const i=a.default},12083:(t,s,e)=>{"use strict";e.r(s);var a=e(26247),r={};for(const t in a)"default"!==t&&(r[t]=()=>a[t]);e.d(s,r)},58128:(t,s,e)=>{"use strict";e.r(s);var a=e(13316),r={};for(const t in a)"default"!==t&&(r[t]=()=>a[t]);e.d(s,r)}},t=>{t.O(0,[8898],(()=>{return s=66703,t(t.s=s);var s}));t.O()}]); \ No newline at end of file diff --git a/public/js/status.js b/public/js/status.js index f522fe5a5..8db65d3e4 100644 --- a/public/js/status.js +++ b/public/js/status.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2443],{31532:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>u});var a=s(15235),i=s(97622),o=s(33823),n=s(19210),r=s(10831),l=s(19755);function c(t){return function(t){if(Array.isArray(t))return d(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 d(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return d(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s');e.content=e.content.replace(":".concat(t.shortcode,":"),s)})),e.showCaption=!s.data.status.sensitive,0==e.status.comments_disabled&&(e.showComments=!0,t.fetchComments()),t.loaded=!0,setTimeout((function(){e.fetchState(),document.querySelectorAll(".status-comment .postCommentsContainer .comment-body a").forEach((function(t,e){t.href=App.util.format.rewriteLinks(t)}))}),500)})).catch((function(t){swal("Oops!","An error occured, please try refreshing the page.","error")}))},fetchState:function(){var t=this;axios.get("/api/v2/profile/"+this.statusUsername+"/status/"+this.statusId+"/state").then((function(e){t.user=e.data.user,window._sharedData.curUser=t.user,window.App.util.navatar(),t.likes=e.data.likes,t.shares=e.data.shares,t.reactions=e.data.reactions,t.reactionBarLoading=!1}))},likesModal:function(){var t=this;0!=l("body").hasClass("loggedIn")?this.likes&&this.likes.length?this.$refs.likesModal.show():axios.get("/api/v1/statuses/"+this.statusId+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.likes=e.data,e.headers&&e.headers.link){var s=(0,r.parseLinkHeader)(e.headers.link);s.prev?(t.likesCursor=s.prev.cursor,t.likesCanLoadMore=!0):t.likesCanLoadMore=!1}else t.likesCanLoadMore=!1;t.$refs.likesModal.show()})).then((function(){setTimeout((function(){t.likedLoaded=!0}),1e3)})):window.location.href="/login?next="+encodeURIComponent("/p/"+this.status.shortcode)},infiniteLikesHandler:function(t){var e=this;this.likesCanLoadMore?axios.get("/api/v1/statuses/"+this.statusId+"/favourited_by",{params:{cursor:this.likesCursor,limit:20,_pe:1}}).then((function(t){var s;t&&t.data.length&&(s=e.likes).push.apply(s,c(t.data));if(t.headers&&t.headers.link){var a=(0,r.parseLinkHeader)(t.headers.link);a.prev?(e.likesCursor=a.prev.cursor,e.likesCanLoadMore=!0):e.likesCanLoadMore=!1}else e.likesCanLoadMore=!1;return e.likesCanLoadMore})).then((function(e){e?t.loaded():t.complete()})):t.complete()},likeStatus:function(t){var e=this;0!=l("body").hasClass("loggedIn")?(axios.post("/i/like",{item:this.status.id}).then((function(s){if(e.status.favourites_count=s.data.count,1==e.reactions.liked){e.reactions.liked=!1;var a=e.user.id;e.likes=e.likes.filter((function(t){return t.id!==a}))}else{e.reactions.liked=!0;var i=e.user;e.likes.unshift(i),setTimeout((function(){t.target.classList.add("animate__animated","animate__bounce")}),100)}})).catch((function(t){console.error(t),swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200)):window.location.href="/login?next="+encodeURIComponent(window.location.pathname)},shareStatus:function(){var t=this;0!=l("body").hasClass("loggedIn")?axios.post("/i/share",{item:this.status.id}).then((function(e){if(t.status.reblogs_count=e.data.count,1==t.reactions.shared){t.reactions.shared=!1;var s=t.user.id;t.shares=t.shares.filter((function(t){return t.id!==s}))}else{t.reactions.shared=!0;var a=t.user;t.shares.push(a)}})).catch((function(t){console.error(t),swal("Error","Something went wrong, please try again later.","error")})):window.location.href="/login?next="+encodeURIComponent(window.location.pathname)},bookmarkStatus:function(){var t=this;0!=l("body").hasClass("loggedIn")?axios.post("/i/bookmark",{item:this.status.id}).then((function(e){1==t.reactions.bookmarked?t.reactions.bookmarked=!1:t.reactions.bookmarked=!0})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})):window.location.href="/login?next="+encodeURIComponent(window.location.pathname)},blockProfile:function(){var t=this;0!=l("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:this.status.account.id}).then((function(e){t.$refs.ctxModal.hide(),t.relationship.blocking=!0,swal("Success","You have successfully blocked "+t.status.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},unblockProfile:function(){var t=this;0!=l("body").hasClass("loggedIn")&&axios.post("/i/unblock",{type:"user",item:this.status.account.id}).then((function(e){t.relationship.blocking=!1,t.$refs.ctxModal.hide(),swal("Success","You have successfully unblocked "+t.status.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},deletePost:function(t){if(this.ownerOrAdmin()&&confirm("Are you sure you want to delete this post?")){if(0==l("body").hasClass("loggedIn"))return;axios.post("/i/delete",{type:"status",item:this.status.id}).then((function(t){swal("Success","You have successfully deleted this post","success"),setTimeout((function(){window.location.href="/"}),3e3)})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}},owner:function(){return this.user.id===this.status.account.id},admin:function(){return 1==this.user.is_admin},ownerOrAdmin:function(){return this.owner()||this.admin()},lightbox:function(t){this.lightboxMedia=t,this.$refs.lightboxModal.show()},postReply:function(){var t=this;if(this.replySending=!0,0==this.replyText.length||this.replyText.trim()=="@"+this.status.account.acct)return t.replyText=null,void l('textarea[name="comment"]').blur();var e={item:this.replyingToId,comment:this.replyText,sensitive:this.replySensitive};this.replyText="",axios.post("/i/comment",e).then((function(e){var s=e.data.entity;if(s.in_reply_to_id==t.status.id){"metro"==t.layout?t.results.push(s):t.results.unshift(s);var a=l(".status-comments")[0];a.scrollTop=2*a.clientHeight}else if(t.replyToIndex>=0){var i=t.results[t.replyToIndex];i.replies.push(s),i.reply_count=i.reply_count+1}t.$refs.replyModal.hide(),t.replySending=!1}))},deleteComment:function(t,e){var s=this;axios.post("/i/delete",{type:"comment",item:t}).then((function(t){s.results.splice(e,1)})).catch((function(t){swal("Something went wrong!","Please try again later","error")}))},deleteCommentReply:function(t,e,s){var a=this;axios.post("/i/delete",{type:"comment",item:t}).then((function(t){a.results[s].replies.splice(e,1),--a.results[s].reply_count})).catch((function(t){swal("Something went wrong!","Please try again later","error")}))},l:function(t){return t.length<10?t:t.substr(0,10)+"..."},replyFocus:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0!=l("body").hasClass("loggedIn")){if(!this.status.comments_disabled){this.replyToIndex=e,this.replyingToId=t.id,this.replyingToUsername=t.account.username,this.reply_to_profile_id=t.account.id;var a=t.account.local?"@"+t.account.username+" ":"@"+t.account.acct+" ";1==s&&(this.replyText=a),this.$refs.replyModal.show()}}else this.redirect("/login?next="+encodeURIComponent(window.location.pathname))},fetchComments:function(){var t=this,e="/api/v2/comments/"+this.statusProfileId+"/status/"+this.statusId;axios.get(e).then((function(e){t.results=e.data.data.filter((function(t){return"text"==t.pf_type})),t.pagination=e.data.meta.pagination,t.results.length>0&&l(".load-more-link").removeClass("d-none"),l(".postCommentsLoader").addClass("d-none"),l(".postCommentsContainer").removeClass("d-none"),setTimeout((function(){document.querySelectorAll(".status-comment .postCommentsContainer .comment-body a").forEach((function(t,e){t.href=App.util.format.rewriteLinks(t)}))}),500)})).catch((function(t){if(t.response)if(401===t.response.status)l(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");else l(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.");else l(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}))},loadMore:function(t){var e=this;if(t.preventDefault(),1!=this.pagination.total_pages&&this.pagination.current_page!=this.pagination.total_pages){l(".load-more-link").addClass("d-none"),l(".postCommentsLoader").removeClass("d-none");var s=this.pagination.links.next;axios.get(s).then((function(t){var s=t.data.data;l(".postCommentsLoader").addClass("d-none");for(var a=0;a0)return void(t.thread=!0);var e="/api/v2/comments/"+t.account.id+"/status/"+t.id;axios.get(e).then((function(e){t.replies=_.reverse(e.data.data),t.thread=!0}))}},redirect:function(t){window.location.href=t},showEmbedPostModal:function(){var t=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.status.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,t),this.$refs.ctxModal.hide(),this.$refs.embedModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.$refs.embedModal.hide()},permalinkUrl:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=t.account;return 1==s.local||e?t.url:"/i/web/post/_/"+s.id+"/"+t.id},fetchProfilePosts:function(){if(l("body").hasClass("loggedIn")||!this.loaded){var t=this,e="/api/pixelfed/v1/accounts/"+this.statusProfileId+"/statuses";axios.get(e,{params:{only_media:!0,min_id:1,limit:9}}).then((function(e){var s=e.data.filter((function(e){return e.media_attachments.length>0&&e.id!=t.statusId&&0==e.sensitive}));s.map((function(t){return t.id}));s.length>=3&&(t.showProfileMorePosts=!0),t.profileMorePosts=s.slice(0,6)}))}},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].preview_url},previewBackground:function(t){return"background-image: url("+this.previewUrl(t)+");"},getStatusUrl: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},showTaggedPeopleModal:function(){!l("body").hasClass("loggedIn")&&this.loaded||this.$refs.taggedModal.show()},untagMe:function(){var t=this;this.$refs.taggedModal.hide();var e=this.user.id;axios.post("/api/local/compose/tag/untagme",{status_id:this.statusId,profile_id:e}).then((function(s){t.status.taggedPeople=t.status.taggedPeople.filter((function(t){return t.id!=e})),swal("Untagged","You have been untagged from this post.","success")})).catch((function(t){swal("An Error Occurred","Please try again later.","error")}))},copyPostUrl:function(){navigator.clipboard.writeText(this.statusUrl)},moderatePost:function(t,e){var s=this.status,a=(s.account.username,""),i=this;switch(t){case"addcw":a="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e&&axios.post("/api/v2/moderator/action",{action:t,item_id:s.id,item_type:"status"}).then((function(t){swal("Success","Successfully added content warning","success"),s.sensitive=!0,i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.ctxModMenuClose()}))}));break;case"remcw":a="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e&&axios.post("/api/v2/moderator/action",{action:t,item_id:s.id,item_type:"status"}).then((function(t){swal("Success","Successfully added content warning","success"),s.sensitive=!1,i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.ctxModMenuClose()}))}));break;case"unlist":a="Are you sure you want to unlist this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e&&axios.post("/api/v2/moderator/action",{action:t,item_id:s.id,item_type:"status"}).then((function(t){swal("Success","Successfully unlisted post","success"),i.ctxModMenuClose()})).catch((function(t){i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},ctxMenu:function(){this.$refs.ctxModal.show()},closeCtxMenu:function(t){this.$refs.ctxModal.hide()},ctxModMenu:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModMenuClose:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide()},ctxMenuCopyLink:function(){var t=this.status;navigator.clipboard.writeText(t.url),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.status.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.status.account.acct;t.relationship.following=!0,t.$refs.ctxModal.hide(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.status.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.status.account.acct;t.relationship.following=!1,t.$refs.ctxModal.hide(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(t){e.$refs.ctxModal.hide(),window.location.href="/"}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.$refs.ctxModal.hide()}))},statusLike:function(t){this.reactions.liked=!!this.reactions.liked},trimCaption:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60;return _.truncate(t,{length:e})}}}},49720:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={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"),a("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,a("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,s){var a=t.account.username;switch(e){case"autocw":var i="Are you sure you want to enforce CW for "+a+" ?";swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":i="Are you sure you want to suspend the account of "+a+" ?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=a("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!=a("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(){a("#mt_pid_"+this.status.id).modal("hide")}}}},31334:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(20415),i=s(19210),o=s(19755);function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,o.closeModals(),o.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),o.closeModals(),o.ctxModMenuClose()}))}));break;case"remcw":i="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,o.closeModals(),o.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),o.closeModals(),o.ctxModMenuClose()}))}));break;case"unlist":i="Are you sure you want to unlist this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){a.feed=a.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":i="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=a("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},41441:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(20415),i=s(19755);const o={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":a.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at){"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20415),i=s(97622),o=s(19755);const n={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":a.default,"poll-card":i.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,a=t.account.username,i=document.createElement("a");switch(i.href=t.account.url,i=i.hostname,e){case"@":default:return a+'@'+i+"";case"from":return a+' from '+i+"";case"custom":return a+' '+s+" "+i+""}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=o("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,i=this.replyText,o=this.config.uploader.max_caption_length;if(i.length>o)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+o+" characters or less.","error");axios.post("/i/comment",{item:a,comment:i,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)},canFollow:function(t){return!!t.hasOwnProperty("relationship")&&(!(!t.hasOwnProperty("account")||!t.account.hasOwnProperty("id"))&&(t.account.id!=this.profile.id&&!t.relationship.following))},follow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!0,e.$emit("followed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},unfollow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!1,e.$emit("unfollowed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}}}},274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},45354:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var a="forward";e.advancePage(a),e.$emit("navigation-click",a)}}}}},28314:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.target})},width:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.width)return this.status.media_attachments[0].meta.original.width},height:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.height)return this.status.media_attachments[0].meta.original.height}}}},45524:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},57602:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")},poster:function(){var t=this.status.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},59505:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.loaded?t._e():e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[e("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]),t._v(" "),t.loaded&&t.warning?e("div",{staticClass:"bg-white mt-n4 pt-3 border-bottom"},[e("div",{staticClass:"container"},[e("p",{staticClass:"text-center font-weight-bold"},[t._v("You are blocking this account")]),t._v(" "),e("p",{staticClass:"text-center font-weight-bold"},[e("a",{staticClass:"btn btn-primary font-weight-bold px-5",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.warning=!1,t.fetchData()}}},[t._v("View Status")])])])]):t._e(),t._v(" "),t.loaded&&0==t.warning?e("div",{staticClass:"postComponent"},["metro"==t.layout?e("div",{staticClass:"container px-0"},[e("div",{staticClass:"card card-md-rounded-0 status-container orientation-unknown shadow-none border"},[e("div",{staticClass:"row px-0 mx-0"},[e("div",{staticClass:"d-flex d-md-none align-items-center justify-content-between card-header bg-white w-100"},[e("div",{staticClass:"d-flex"},[e("div",{staticClass:"status-avatar mr-2",on:{click:function(e){return t.redirect(t.statusProfileUrl)}}},[e("img",{staticClass:"cursor-pointer",staticStyle:{"border-radius":"12px"},attrs:{src:t.statusAvatar,width:"24px",height:"24px"}})]),t._v(" "),e("div",{staticClass:"username"},[e("span",{staticClass:"username-link font-weight-bold text-dark cursor-pointer",on:{click:function(e){return t.redirect(t.statusProfileUrl)}}},[t._v(t._s(t.statusUsername))]),t._v(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("p",{staticClass:"mb-0",staticStyle:{"font-size":"10px"}},[t.loaded&&t.status.taggedPeople.length?e("span",{staticClass:"mb-0"},[e("span",{staticClass:"font-weight-light cursor-pointer",staticStyle:{color:"#718096"},attrs:{title:"Tagged People","data-toggle":"tooltip","data-placement":"bottom"},on:{click:function(e){return t.showTaggedPeopleModal()}}},[e("i",{staticClass:"fas fa-tag text-lighter"}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.taggedPeople.length)+" Tagged People")])])]):t._e(),t._v(" "),t.loaded&&null!=t.status.place&&t.status.taggedPeople.length?e("span",{staticClass:"px-2 font-weight-bold text-lighter"},[t._v("•")]):t._e(),t._v(" "),t.loaded&&null!=t.status.place?e("span",{staticClass:"mb-0 cursor-pointer text-truncate",staticStyle:{color:"#718096"},on:{click:function(e){return t.redirect("/discover/places/"+t.status.place.id+"/"+t.status.place.slug)}}},[e("i",{staticClass:"fas fa-map-marked-alt text-lighter"}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])])]),t._v(" "),0!=t.user?e("div",{staticClass:"float-right"},[e("div",{staticClass:"post-actions"},[e("div",[e("button",{staticClass:"btn btn-link text-dark no-caret",attrs:{title:"Post options"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-v text-muted"})])])])]):t._e()]),t._v(" "),e("div",{staticClass:"col-12 col-md-8 px-0 mx-0"},[e("div",{staticClass:"postPresenterContainer d-none d-flex justify-content-center align-items-center",staticStyle:{background:"#000"}},["text"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("div",{staticClass:"w-100 card-img-top border-bottom rounded-0",staticStyle:{"background-image":"url(/storage/textimg/bg_1.jpg)","background-size":"cover",width:"100%",height:"540px"}},[e("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[e("p",{staticClass:"text-center text-break h3 px-5 font-weight-bold",domProps:{innerHTML:t._s(t.status.content)}})])])]):"photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 px-0 d-flex flex-column border-left border-md-left-0"},[e("div",{staticClass:"d-md-flex d-none align-items-center justify-content-between card-header py-3 bg-white"},[e("div",{staticClass:"d-flex align-items-center status-username text-truncate"},[e("div",{staticClass:"status-avatar mr-2",on:{click:function(e){return t.redirect(t.statusProfileUrl)}}},[e("img",{staticClass:"cursor-pointer",staticStyle:{"border-radius":"12px"},attrs:{src:t.statusAvatar,width:"24px",height:"24px"}})]),t._v(" "),e("div",{staticClass:"username"},[e("span",{staticClass:"username-link font-weight-bold text-dark cursor-pointer",on:{click:function(e){return t.redirect(t.statusProfileUrl)}}},[t._v(t._s(t.statusUsername))]),t._v(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("p",{staticClass:"mb-0",staticStyle:{"font-size":"10px"}},[t.loaded&&t.status.taggedPeople.length?e("span",{staticClass:"mb-0"},[e("span",{staticClass:"font-weight-light cursor-pointer",staticStyle:{color:"#718096"},attrs:{title:"Tagged People","data-toggle":"tooltip","data-placement":"bottom"},on:{click:function(e){return t.showTaggedPeopleModal()}}},[e("i",{staticClass:"fas fa-tag text-lighter"}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.taggedPeople.length)+" Tagged People")])])]):t._e(),t._v(" "),t.loaded&&null!=t.status.place&&t.status.taggedPeople.length?e("span",{staticClass:"px-2 font-weight-bold text-lighter"},[t._v("•")]):t._e(),t._v(" "),t.loaded&&null!=t.status.place?e("span",{staticClass:"mb-0 cursor-pointer text-truncate",staticStyle:{color:"#718096"},on:{click:function(e){return t.redirect("/discover/places/"+t.status.place.id+"/"+t.status.place.slug)}}},[e("i",{staticClass:"fas fa-map-marked-alt text-lighter"}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])])]),t._v(" "),e("div",{staticClass:"float-right"},[e("div",{staticClass:"post-actions"},[0!=t.user?e("div",[e("button",{staticClass:"btn btn-link text-dark no-caret",attrs:{title:"Post options"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-v text-muted"})])]):t._e()])])]),t._v(" "),e("div",{staticClass:"d-flex flex-md-column flex-column-reverse h-100",staticStyle:{"overflow-y":"auto"}},[e("div",{staticClass:"card-body status-comments pt-0"},["text"!=t.status.pf_type?e("div",{staticClass:"status-comment"},[t.status.content.length?e("div",{staticClass:"pt-3"},[t.status.sensitive?e("div",[e("span",{staticClass:"py-3"},[e("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:t.status.account.url,title:t.status.account.username}},[t._v(t._s(t.truncate(t.status.account.username,15)))]),t._v(" "),e("span",{staticClass:"text-break"},[e("span",{staticClass:"font-italic text-muted"},[t._v("This comment may contain sensitive material")]),t._v(" "),e("span",{staticClass:"text-primary cursor-pointer pl-1",on:{click:function(e){t.status.sensitive=!1}}},[t._v("Show")])])])]):e("div",[e("p",{class:[t.status.content.length>620?"mb-1 read-more":"mb-1"],staticStyle:{overflow:"hidden"}},[e("a",{staticClass:"font-weight-bold pr-1 text-dark text-decoration-none",attrs:{href:t.statusProfileUrl}},[t._v(t._s(t.statusUsername))]),t._v(" "),e("span",{staticClass:"comment-text",attrs:{id:t.status.id+"-status-readmore"},domProps:{innerHTML:t._s(t.content)}})])]),t._v(" "),e("hr")]):t._e(),t._v(" "),t.showComments?e("div",[t._m(0),t._v(" "),e("div",{staticClass:"postCommentsContainer d-none"},[e("p",{staticClass:"mb-1 text-center load-more-link d-none my-4"},[e("a",{staticClass:"text-dark",attrs:{href:"#",title:"Load more comments","data-toggle":"tooltip","data-placement":"bottom"},on:{click:t.loadMore}},[e("svg",{staticClass:"bi bi-plus-circle",staticStyle:{"font-size":"2em"},attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M8 3.5a.5.5 0 01.5.5v4a.5.5 0 01-.5.5H4a.5.5 0 010-1h3.5V4a.5.5 0 01.5-.5z","clip-rule":"evenodd"}}),t._v(" "),e("path",{attrs:{"fill-rule":"evenodd",d:"M7.5 8a.5.5 0 01.5-.5h4a.5.5 0 010 1H8.5V12a.5.5 0 01-1 0V8z","clip-rule":"evenodd"}}),t._v(" "),e("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 108 1a7 7 0 000 14zm0 1A8 8 0 108 0a8 8 0 000 16z","clip-rule":"evenodd"}})])])]),t._v(" "),e("div",{staticClass:"comments mt-3"},t._l(t.results,(function(s,a){return e("div",{key:"tl"+s.id+"_"+a,staticClass:"pb-4 media"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:s.account.avatar,width:"42px",height:"42px"}}),t._v(" "),e("div",{staticClass:"media-body"},[1==s.sensitive?e("div",[e("span",{staticClass:"py-3"},[e("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:t.profileUrl(s),title:s.account.username}},[t._v(t._s(s.account.local?"":"@")+t._s(t.truncate(s.account.username,15)))]),t._v(" "),e("span",{staticClass:"text-break"},[e("span",{staticClass:"font-italic text-muted"},[t._v("This comment may contain sensitive material")]),t._v(" "),e("span",{staticClass:"text-primary cursor-pointer pl-1",on:{click:function(t){s.sensitive=!1}}},[t._v("Show")])])])]):e("div",[e("p",{staticClass:"d-flex justify-content-between align-items-top read-more",staticStyle:{"overflow-y":"hidden"}},[e("span",[e("a",{staticClass:"text-dark font-weight-bold mr-1 text-break",attrs:{href:t.profileUrl(s),title:s.account.username}},[t._v(t._s(s.account.local?"":"@")+t._s(t.truncate(s.account.username,15)))]),t._v(" "),e("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(s.content)}})]),t._v(" "),e("span",{staticStyle:{"min-width":"38px"}},[e("span",{on:{click:function(e){return t.likeReply(s,e)}}},[e("i",{class:[s.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})]),t._v(" "),e("post-menu",{staticClass:"d-inline-block px-2",attrs:{status:s,profile:t.user,size:"sm",modal:"true"},on:{deletePost:function(e){return t.deleteComment(s.id,a)}}})],1)]),t._v(" "),e("p",{},[t._o(e("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:t.permalinkUrl(s)},domProps:{textContent:t._s(t.timeAgo(s.created_at))}}),0,"tl"+s.id+"_"+a),t._v(" "),s.favourites_count?e("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3"},[t._v(t._s(1==s.favourites_count?"1 like":s.favourites_count+" likes"))]):t._e(),t._v(" "),e("span",{staticClass:"text-muted comment-reaction font-weight-bold cursor-pointer",on:{click:function(e){return t.replyFocus(s,a,!0)}}},[t._v("Reply")])]),t._v(" "),s.reply_count>0?e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.toggleReplies(s)}}},[e("span",{staticClass:"show-reply-bar"}),t._v(" "),e("span",{staticClass:"comment-reaction font-weight-bold text-muted"},[t._v(t._s(s.thread?"Hide":"View")+" Replies ("+t._s(s.reply_count)+")")])]):t._e(),t._v(" "),1==s.thread?e("div",{staticClass:"comment-thread"},t._l(s.replies,(function(s,i){return e("div",{key:"cr"+s.id+"_"+a,staticClass:"pb-3 media"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:s.account.avatar,width:"25px",height:"25px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"d-flex justify-content-between align-items-top read-more",staticStyle:{"overflow-y":"hidden"}},[e("span",[e("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:t.profileUrl(s),title:s.account.username}},[t._v(t._s(s.account.local?"":"@")+t._s(s.account.username))]),t._v(" "),e("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(s.content)}})]),t._v(" "),e("span",{staticClass:"pl-2",staticStyle:{"min-width":"38px"}},[e("span",{on:{click:function(e){return t.likeReply(s,e)}}},[e("i",{class:[s.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})]),t._v(" "),e("post-menu",{staticClass:"d-inline-block pl-2",attrs:{status:s,profile:t.user,size:"sm",modal:"true"},on:{deletePost:function(e){return t.deleteCommentReply(s.id,i,a)}}})],1)]),t._v(" "),e("p",{},[t._o(e("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:s.url},domProps:{textContent:t._s(t.timeAgo(s.created_at))}}),1,"cr"+s.id+"_"+a),t._v(" "),s.favourites_count?e("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3"},[t._v(t._s(1==s.favourites_count?"1 like":s.favourites_count+" likes"))]):t._e()])])])})),0):t._e()])])])})),0)])]):t._e()]):t._e()]),t._v(" "),t.reactionBarLoading?e("div",{staticClass:"card-body flex-grow-0 py-4 text-center"},[t._m(1)]):e("div",{staticClass:"card-body flex-grow-0 py-1"},[t.loaded&&t.user.hasOwnProperty("id")?e("div",{staticClass:"reactions my-2 pb-1 d-flex justify-content-between"},[e("h3",{class:[t.reactions.liked?"fas fa-heart text-danger mr-3 m-0 cursor-pointer":"far fa-heart pr-3 m-0 like-btn cursor-pointer"],attrs:{title:"Like"},on:{click:t.likeStatus}}),t._v(" "),t.status.comments_disabled?t._e():e("h3",{staticClass:"far fa-comment mr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.replyFocus(t.status)}}}),t._v(" "),e("h3",{staticClass:"fas fa-expand m-0 mr-3 cursor-pointer",on:{click:function(e){return t.redirect(t.status.media_attachments[0].url)}}}),t._v(" "),"public"==t.status.visibility?e("h3",{class:[t.reactions.bookmarked?"fas fa-bookmark text-warning m-0 mr-3 cursor-pointer":"far fa-bookmark m-0 mr-3 cursor-pointer"],attrs:{title:"Bookmark"},on:{click:t.bookmarkStatus}}):t._e(),t._v(" "),"public"==t.status.visibility?e("h3",{class:[t.reactions.shared?"fas fa-retweet m-0 text-primary cursor-pointer":"fas fa-retweet m-0 share-btn cursor-pointer"],attrs:{title:"Share"},on:{click:t.shareStatus}}):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"reaction-counts mb-0"},[t.status.liked_by.username&&t.status.liked_by.username!==t.user.username?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tand "),e("span",{staticClass:"font-weight-bold text-dark cursor-pointer",on:{click:t.likesModal}},[t.status.liked_by.total_count_pretty?e("span",[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" others")])]):t._e()])]):t._e()]),t._v(" "),e("div",{staticClass:"timestamp d-flex align-items-bottom justify-content-between"},[e("a",{staticClass:"small text-muted",attrs:{href:t.statusUrl,title:t.status.created_at}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.timestampFormat())+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"small text-muted text-capitalize cursor-pointer",on:{click:t.visibilityModal}},[t._v(t._s(t.status.visibility))])])])]),t._v(" "),t.showComments?e("div",{staticClass:"card-footer bg-white sticky-md-bottom p-0"},[0==t.user.length?e("div",{staticClass:"comment-form-guest p-3"},[e("a",{attrs:{href:"/login"}},[t._v("Login")]),t._v(" to like or comment.\n\t\t\t\t\t\t\t")]):e("form",{staticClass:"border-0 rounded-0 align-middle",attrs:{method:"post",action:"/i/comment","data-id":t.statusId,"data-truncate":"false"}},[e("textarea",{staticClass:"form-control border-0 rounded-0",staticStyle:{height:"56px","line-height":"18px","max-height":"80px",resize:"none","padding-right":"4.2rem"},attrs:{name:"comment",placeholder:"Add a comment…",autocomplete:"off",autocorrect:"off"},on:{click:function(e){return t.replyFocus(t.status)}}}),t._v(" "),e("input",{staticClass:"d-inline-block btn btn-link font-weight-bold reply-btn text-decoration-none",attrs:{type:"button",value:"Post",disabled:""}})])]):t._e()])])]),t._v(" "),t.showProfileMorePosts?e("div",{staticClass:"container"},[e("p",{staticClass:"text-lighter px-3 mt-5",staticStyle:{"font-weight":"600","font-size":"15px"}},[t._v("More posts from "),e("a",{staticClass:"text-dark",attrs:{href:"/"+t.statusUsername}},[t._v(t._s(this.statusUsername))])]),t._v(" "),e("div",{staticClass:"profile-timeline mt-md-4"},[e("div",{staticClass:"row"},t._l(t.profileMorePosts,(function(s,a){return e("div",{key:"tlob:"+a,staticClass:"col-4 p-1 p-md-3"},[t._o(e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.getStatusUrl(s)}},[e("div",{class:[s.sensitive?"square":"square "+s.media_attachments[0].filter_class]},["photo:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==s.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"==s.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:"square-content",style:t.previewBackground(s)}),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-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(s.favourites_count))])]),t._v(" "),e("span",[e("span",{staticClass:"fas fa-retweet fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(s.reblogs_count))])])])])])]),2,"tlob:"+a)])})),0)])]):t._e()]):t._e(),t._v(" "),"poll"==t.layout?e("div",{staticClass:"container px-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-6"},[!t.loading&&t.user&&t.reactions?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.user,showBorderTop:!0,"fetch-state":!0,reactions:t.reactions},on:{likeStatus:t.likeStatus}}),t._v(" "),e("comment-feed",{staticClass:"mt-3",attrs:{status:t.status}})],1):e("div",{staticClass:"text-center"},[t._m(2)])])])]):t._e(),t._v(" "),"text"==t.layout?e("div",{staticClass:"container px-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-6"},[e("status-card",{attrs:{status:t.status,hasTopBorder:!0}}),t._v(" "),e("comment-feed",{staticClass:"mt-3",attrs:{status:t.status}})],1)])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"likesModal",attrs:{id:"l-modal","hide-footer":"",centered:"",title:"Likes","body-class":"list-group-flush py-3 px-0"}},[t.likedLoaded?e("div",{staticClass:"list-group"},[t._l(t.likes,(function(s,a){return e("div",{key:"modal_likes_"+a,staticClass:"list-group-item border-0 py-1"},[e("div",{staticClass:"media"},[e("a",{attrs:{href:s.url}},[e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:s.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.display_name)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-truncate mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])])])])})),t._v(" "),t.likesCanLoadMore?e("infinite-loading",{attrs:{spinner:"spiral"},on:{infinite:t.infiniteLikesHandler}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})]):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center h-100"},[e("b-spinner")],1)]),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0"}},[t.lightboxMedia?e("div",[e("img",{class:t.lightboxMedia.filter_class+" img-fluid",staticStyle:{"min-height":"100%","min-width":"100%"},attrs:{src:t.lightboxMedia.url}})]):t._e()]),t._v(" "),e("b-modal",{ref:"embedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\tShow Caption\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\tShow Likes\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"taggedModal",attrs:{id:"tagged-modal","hide-footer":"",centered:"",title:"Tagged People","body-class":"list-group-flush py-3 px-0"}},[e("div",{staticClass:"list-group"},t._l(t.status.taggedPeople,(function(s,a){return e("div",{key:"modal_taggedpeople_"+a,staticClass:"list-group-item border-0 py-1"},[e("div",{staticClass:"media"},[e("a",{attrs:{href:"/"+s.username}},[e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"pt-1 d-flex justify-content-between",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"/"+s.username}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s.id==t.user.id?e("button",{staticClass:"btn btn-outline-primary btn-sm py-1 px-3",on:{click:function(e){return t.untagMe()}}},[t._v("Untag Me")]):t._e()])])])])})),0),t._v(" "),e("p",{staticClass:"mb-0 text-center small text-muted font-weight-bold"},[e("a",{attrs:{href:"/site/kb/tagging-people"}},[t._v("Learn more")]),t._v(" about Tagging People.")])]),t._v(" "),e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[t.status&&1==t.status.local?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.showEmbedPostModal()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&t.user.id==t.status.account.id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:t.toggleCommentVisibility}},[t._v(t._s(t.showComments?"Disable":"Enable")+" Comments")]):t._e(),t._v(" "),t.status&&t.user.id==t.status.account.id?e("a",{staticClass:"list-group-item rounded cursor-pointer text-dark text-decoration-none",attrs:{href:t.editUrl()}},[t._v("Edit")]):t._e(),t._v(" "),t.user&&1==t.user.is_admin?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenu()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),!t.status||t.user.id==t.status.account.id||t.relationship.blocking||t.user.is_admin?t._e():e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.blockProfile()}}},[t._v("Block")]),t._v(" "),t.status&&t.user.id!=t.status.account.id&&t.relationship.blocking&&!t.user.is_admin?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unblockProfile()}}},[t._v("Unblock")]):t._e(),t._v(" "),t.user&&t.user.id!=t.status.account.id&&!t.user.is_admin?e("a",{staticClass:"list-group-item rounded cursor-pointer text-danger text-decoration-none",attrs:{href:t.reportUrl()}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.user.id==t.status.account.id&&"archived"!=t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.user.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.user.is_admin||t.user.id==t.status.account.id)?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.ctxMenuStatus)}}},[t._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:t.toggleCommentVisibility}},[t._v(t._s(t.showComments?"Disable":"Enable")+" Comments")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost("unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost("remcw")}}},[t._v("Remove Content Warning")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost("addcw")}}},[t._v("Add Content Warning")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"replyModal",attrs:{id:"ctx-reply-modal","hide-footer":"",centered:"",rounded:"","title-html":t.replyingToUsername?"Reply to "+t.replyingToUsername+"":"","title-tag":"p","title-class":"font-weight-bold text-muted",size:"md","body-class":"p-2 rounded"}},[e("div",[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control",staticStyle:{border:"none","font-size":"18px",resize:"none","white-space":"pre-wrap",outline:"none"},attrs:{rows:"4",placeholder:"Reply here ..."},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"border-top border-bottom my-2"},[e("ul",{staticClass:"nav align-items-center emoji-reactions",staticStyle:{"overflow-x":"scroll","flex-wrap":"unset"}},t._l(t.emoji,(function(s){return e("li",{staticClass:"nav-item",on:{click:function(e){return t.emojiReaction(t.status)}}},[t._v(t._s(s))])})),0)]),t._v(" "),e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("span",{staticClass:"pl-2 small text-muted font-weight-bold text-monospace"},[e("span",{class:[t.replyText.length>t.config.uploader.max_caption_length?"text-danger":"text-dark"]},[t._v(t._s(t.replyText.length>t.config.uploader.max_caption_length?t.config.uploader.max_caption_length-t.replyText.length:t.replyText.length))]),t._v("/"+t._s(t.config.uploader.max_caption_length)+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"custom-control custom-switch mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.replySensitive,expression:"replySensitive"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"replyModalCWSwitch"},domProps:{checked:Array.isArray(t.replySensitive)?t._i(t.replySensitive,null)>-1:t.replySensitive},on:{change:function(e){var s=t.replySensitive,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.replySensitive=s.concat([null])):o>-1&&(t.replySensitive=s.slice(0,o).concat(s.slice(o+1)))}else t.replySensitive=i}}}),t._v(" "),e("label",{class:[t.replySensitive?"custom-control-label font-weight-bold text-dark":"custom-control-label text-lighter"],attrs:{for:"replyModalCWSwitch"}},[t._v("Mark as NSFW")])]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm py-2 px-4 lead text-uppercase font-weight-bold",attrs:{disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.postReply()}}},[t._v("\n\t\t\t\t\t\t"+t._s(1==t.replySending?"POSTING":"POST")+"\n\t\t\t\t\t")])])])],1)])],1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"postCommentsLoader text-center py-2"},[t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},79953:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=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()])},i=[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.")])}]},70292:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.loaded?e("div",[t.showReplyForm?e("div",{staticClass:"card card-body shadow-none border bg-light"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.profile.avatar,width:"32px",height:"32px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"reply-form form-group mb-0"},[!t.composeText||t.composeText.length<40?e("input",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control rounded-pill",attrs:{placeholder:"Add a comment..."},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}}):e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control",attrs:{placeholder:"Add a comment...",rows:"4"},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),t.composeText&&t.composeText.length?e("div",{staticClass:"btn btn-primary btn-sm rounded-pill font-weight-bold px-3",on:{click:t.submitComment}},[t.postingComment?e("span",[t._m(0)]):e("span",[t._v("Post")])]):t._e()]),t._v(" "),t.composeText?e("div",{staticClass:"reply-options",model:{value:t.visibility,callback:function(e){t.visibility=e},expression:"visibility"}},[t._m(1),t._v(" "),e("div",{staticClass:"custom-control custom-switch"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.sensitive,expression:"sensitive"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"sensitive"},domProps:{checked:Array.isArray(t.sensitive)?t._i(t.sensitive,null)>-1:t.sensitive},on:{change:function(e){var s=t.sensitive,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.sensitive=s.concat([null])):o>-1&&(t.sensitive=s.slice(0,o).concat(s.slice(o+1)))}else t.sensitive=i}}}),t._v(" "),t._m(2)]),t._v(" "),e("span",{staticClass:"text-muted font-weight-bold small"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.composeText.length)+" / 500\n\t\t\t\t\t\t")])]):t._e()])])]):t._e(),t._v(" "),e("div",{staticClass:"d-none card card-body shadow-none border rounded-0 border-top-0 bg-light"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("p",{staticClass:"font-weight-bold text-muted mb-0 mr-md-5"},[e("i",{staticClass:"fas fa-comment mr-1"}),t._v("\n\t\t\t\t\t"+t._s(t.formatCount(t.pagination.total))+"\n\t\t\t\t")]),t._v(" "),e("h4",{staticClass:"font-weight-bold mb-0 text-lighter"},[t._v("Comments")]),t._v(" "),t._m(3)])]),t._v(" "),t._l(t.feed,(function(t,s){return e("status-card",{key:"replies:"+s,attrs:{status:t,size:"small"}})})),t._v(" "),t.pagination.links.hasOwnProperty("next")?e("div",{staticClass:"card card-body shadow-none rounded-0 border border-top-0 py-3"},[t.loadingMoreComments?e("button",{staticClass:"btn btn-primary",attrs:{disabled:""}},[t._m(4)]):e("button",{staticClass:"btn btn-primary font-weight-bold",on:{click:t.loadMoreComments}},[t._v("Load more comments")])]):t._e(),t._v(" "),t.ctxStatus&&t.profile?e("context-menu",{ref:"cMenu",attrs:{status:t.ctxStatus,profile:t.profile},on:{"status-delete":t.statusDeleted}}):t._e()],2):e("div")])},i=[function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this,e=t._self._c;return e("select",{staticClass:"form-control form-control-sm rounded-pill font-weight-bold"},[e("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),e("option",{attrs:{value:"private"}},[t._v("Followers Only")])])},function(){var t=this,e=t._self._c;return e("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"sensitive"}},[e("span",{staticClass:"d-none d-md-inline-block"},[t._v("Sensitive/")]),t._v("NSFW\n\t\t\t\t\t\t\t")])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-group mb-0"},[e("select",{staticClass:"form-control form-control-sm"},[e("option",[t._v("New")]),t._v(" "),e("option",[t._v("Oldest")])])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},61595:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},87440:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,a){return e("p",[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},15778:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?e("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[t.status.sensitive?e("details",[e("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),e("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):e("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?e("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[e("div",[e("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),e("div",{staticClass:"pl-2"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.status.place?e("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),t.canFollow(t.status)?e("div",[e("span",{staticClass:"px-2"}),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.follow(t.status.account.id)}}},[e("i",{staticClass:"far fa-user-plus mr-1"}),t._v(" Follow")])]):t._e(),t._v(" "),t.status.hasOwnProperty("relationship")&&t.status.relationship.hasOwnProperty("following")&&t.status.relationship.following?e("div",[e("span",{staticClass:"px-2"}),t._v(" "),e("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.unfollow(t.status.account.id)}}},[e("i",{staticClass:"far fa-user-check mr-1"}),t._v(" Following")])]):t._e(),t._v(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?e("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[e("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[e("span",[e("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),e("div",{staticClass:"card-body"},[t.reactionBar?e("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?e("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):e("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():e("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?e("span",{staticClass:"float-right"},[e("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[e("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,s){return e("span",{staticClass:"mr-n2"},[e("a",{attrs:{href:"/"+t.username}},[e("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?e("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?e("div",{staticClass:"caption"},[t.status.sensitive?t._e():e("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[e("span",{staticClass:"username font-weight-bold"},[e("bdi",[e("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),e("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),e("div",{staticClass:"timestamp mt-2"},[e("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?e("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):e("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?e("span",[e("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},35594:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(s,a){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},i=[]},86072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\tSensitive Content\n\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status),title:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+t.status.id}},t._l(t.status.media_attachments,(function(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),title:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},65161:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},40711:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},i=[]},88699:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",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}})])])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},11112:(t,e,s)=>{Vue.component("photo-presenter",s(23251).default),Vue.component("video-presenter",s(53973).default),Vue.component("photo-album-presenter",s(33872).default),Vue.component("video-album-presenter",s(76644).default),Vue.component("mixed-album-presenter",s(57374).default),Vue.component("post-menu",s(4086).default),Vue.component("post-component",s(61345).default)},91343:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".postPresenterContainer[data-v-419662fc],.reactions[data-v-419662fc],.status-comments[data-v-419662fc]{background:#fff}@media(min-width:720px){.postPresenterContainer[data-v-419662fc]{min-height:600px}}[data-v-419662fc]::-webkit-scrollbar{background:transparent;width:0}.reply-btn[data-v-419662fc]{border-radius:0 3px 3px 0;bottom:12px;position:absolute;right:20px;text-align:center;width:60px}.text-lighter[data-v-419662fc]{color:#b8c2cc!important}.text-break[data-v-419662fc]{overflow-wrap:break-word}.comments p[data-v-419662fc]{margin-bottom:0}.comment-reaction[data-v-419662fc]{font-size:80%}.show-reply-bar[data-v-419662fc]{border-bottom:1px solid #999;display:inline-block;height:0;margin-right:16px;vertical-align:middle;width:24px}.comment-thread[data-v-419662fc]{margin-top:1rem}.emoji-reactions .nav-item[data-v-419662fc]{cursor:pointer;font-size:1.2rem;padding:9px}.emoji-reactions[data-v-419662fc]::-webkit-scrollbar{background:transparent;height:0;width:0}@media (min-width:1200px){.container[data-v-419662fc]{max-width:1100px}}",""]);const o=i},35992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".text-lighter[data-v-1002e7e2]{color:#b8c2cc!important}.modal-body[data-v-1002e7e2]{padding:0}",""]);const o=i},73548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-7ad1e2b6]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7ad1e2b6]{position:relative}.content-label[data-v-7ad1e2b6]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-7ad1e2b6]{position:relative}",""]);const o=i},97465:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-40ab6d65]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-40ab6d65]{position:relative}.content-label[data-v-40ab6d65]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const o=i},9650:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".content-label-wrapper[data-v-411d6f1a]{position:relative}.content-label[data-v-411d6f1a]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const o=i},37060:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".reply-form[data-v-ee374dfe]{position:relative}.reply-form input[data-v-ee374dfe]{padding-right:90px}.reply-form textarea[data-v-ee374dfe]{align-items:center;padding-right:80px}.reply-form .btn[data-v-ee374dfe]{position:absolute;right:6px;top:50%;transform:translateY(-50%)}.reply-options[data-v-ee374dfe]{align-items:center;display:flex;justify-content:space-between;margin-top:15px}.reply-options .form-control[data-v-ee374dfe]{max-width:140px}",""]);const o=i},20936:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const o=i},908:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(91343),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},33174:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(35992),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},4236:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(73548),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},42678:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(97465),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},42194:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(9650),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},69708:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(37060),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},25308:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(20936),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},61345:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(12947),i=s(2911),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(32560);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"419662fc",null).exports},4086:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(48517),i=s(23413),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(74386);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"1002e7e2",null).exports},33823:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(5247),i=s(87687),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(49740);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"ee374dfe",null).exports},20415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(64940),i=s(36072),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},97622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(93557),i=s(48046),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19210:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(11962),i=s(76329),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(66984);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57374:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(19399),i=s(57038),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},33872:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(15044),i=s(44484),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(67159);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"7ad1e2b6",null).exports},23251:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(54938),i=s(51485),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(22880);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"40ab6d65",null).exports},76644:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(75917),i=s(13938),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},53973:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(28348),i=s(79495),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(67406);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"411d6f1a",null).exports},2911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(31532),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},23413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(49720),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},87687:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(31334),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},36072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(96136),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},48046:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(41441),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},76329:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(69789),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},57038:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(274),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},44484:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(45354),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},51485:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(28314),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},13938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(45524),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},79495:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(57602),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},12947:(t,e,s)=>{"use strict";s.r(e);var a=s(59505),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48517:(t,e,s)=>{"use strict";s.r(e);var a=s(79953),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5247:(t,e,s)=>{"use strict";s.r(e);var a=s(70292),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},64940:(t,e,s)=>{"use strict";s.r(e);var a=s(61595),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},93557:(t,e,s)=>{"use strict";s.r(e);var a=s(87440),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11962:(t,e,s)=>{"use strict";s.r(e);var a=s(15778),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},19399:(t,e,s)=>{"use strict";s.r(e);var a=s(35594),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},15044:(t,e,s)=>{"use strict";s.r(e);var a=s(86072),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54938:(t,e,s)=>{"use strict";s.r(e);var a=s(65161),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},75917:(t,e,s)=>{"use strict";s.r(e);var a=s(40711),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},28348:(t,e,s)=>{"use strict";s.r(e);var a=s(88699),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32560:(t,e,s)=>{"use strict";s.r(e);var a=s(908),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},74386:(t,e,s)=>{"use strict";s.r(e);var a=s(33174),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67159:(t,e,s)=>{"use strict";s.r(e);var a=s(4236),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},22880:(t,e,s)=>{"use strict";s.r(e);var a=s(42678),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67406:(t,e,s)=>{"use strict";s.r(e);var a=s(42194),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},49740:(t,e,s)=>{"use strict";s.r(e);var a=s(69708),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},66984:(t,e,s)=>{"use strict";s.r(e);var a=s(25308),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)}},t=>{t.O(0,[8898],(()=>{return e=11112,t(t.s=e);var e}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2443],{31532:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>u});var a=s(15235),i=s(97622),o=s(33823),n=s(19210),r=s(10831),l=s(19755);function c(t){return function(t){if(Array.isArray(t))return d(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 d(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return d(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s');e.content=e.content.replace(":".concat(t.shortcode,":"),s)})),e.showCaption=!s.data.status.sensitive,0==e.status.comments_disabled&&(e.showComments=!0,t.fetchComments()),t.loaded=!0,setTimeout((function(){e.fetchState(),document.querySelectorAll(".status-comment .postCommentsContainer .comment-body a").forEach((function(t,e){t.href=App.util.format.rewriteLinks(t)}))}),500)})).catch((function(t){swal("Oops!","An error occured, please try refreshing the page.","error")}))},fetchState:function(){var t=this;axios.get("/api/v2/profile/"+this.statusUsername+"/status/"+this.statusId+"/state").then((function(e){t.user=e.data.user,window._sharedData.curUser=t.user,window.App.util.navatar(),t.likes=e.data.likes,t.shares=e.data.shares,t.reactions=e.data.reactions,t.reactionBarLoading=!1}))},likesModal:function(){var t=this;0!=l("body").hasClass("loggedIn")?this.likes&&this.likes.length?this.$refs.likesModal.show():axios.get("/api/v1/statuses/"+this.statusId+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.likes=e.data,e.headers&&e.headers.link){var s=(0,r.parseLinkHeader)(e.headers.link);s.prev?(t.likesCursor=s.prev.cursor,t.likesCanLoadMore=!0):t.likesCanLoadMore=!1}else t.likesCanLoadMore=!1;t.$refs.likesModal.show()})).then((function(){setTimeout((function(){t.likedLoaded=!0}),1e3)})):window.location.href="/login?next="+encodeURIComponent("/p/"+this.status.shortcode)},infiniteLikesHandler:function(t){var e=this;this.likesCanLoadMore?axios.get("/api/v1/statuses/"+this.statusId+"/favourited_by",{params:{cursor:this.likesCursor,limit:20,_pe:1}}).then((function(t){var s;t&&t.data.length&&(s=e.likes).push.apply(s,c(t.data));if(t.headers&&t.headers.link){var a=(0,r.parseLinkHeader)(t.headers.link);a.prev?(e.likesCursor=a.prev.cursor,e.likesCanLoadMore=!0):e.likesCanLoadMore=!1}else e.likesCanLoadMore=!1;return e.likesCanLoadMore})).then((function(e){e?t.loaded():t.complete()})):t.complete()},likeStatus:function(t){var e=this;0!=l("body").hasClass("loggedIn")?(axios.post("/i/like",{item:this.status.id}).then((function(s){if(e.status.favourites_count=s.data.count,1==e.reactions.liked){e.reactions.liked=!1;var a=e.user.id;e.likes=e.likes.filter((function(t){return t.id!==a}))}else{e.reactions.liked=!0;var i=e.user;e.likes.unshift(i),setTimeout((function(){t.target.classList.add("animate__animated","animate__bounce")}),100)}})).catch((function(t){console.error(t),swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200)):window.location.href="/login?next="+encodeURIComponent(window.location.pathname)},shareStatus:function(){var t=this;0!=l("body").hasClass("loggedIn")?axios.post("/i/share",{item:this.status.id}).then((function(e){if(t.status.reblogs_count=e.data.count,1==t.reactions.shared){t.reactions.shared=!1;var s=t.user.id;t.shares=t.shares.filter((function(t){return t.id!==s}))}else{t.reactions.shared=!0;var a=t.user;t.shares.push(a)}})).catch((function(t){console.error(t),swal("Error","Something went wrong, please try again later.","error")})):window.location.href="/login?next="+encodeURIComponent(window.location.pathname)},bookmarkStatus:function(){var t=this;0!=l("body").hasClass("loggedIn")?axios.post("/i/bookmark",{item:this.status.id}).then((function(e){1==t.reactions.bookmarked?t.reactions.bookmarked=!1:t.reactions.bookmarked=!0})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})):window.location.href="/login?next="+encodeURIComponent(window.location.pathname)},blockProfile:function(){var t=this;0!=l("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:this.status.account.id}).then((function(e){t.$refs.ctxModal.hide(),t.relationship.blocking=!0,swal("Success","You have successfully blocked "+t.status.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},unblockProfile:function(){var t=this;0!=l("body").hasClass("loggedIn")&&axios.post("/i/unblock",{type:"user",item:this.status.account.id}).then((function(e){t.relationship.blocking=!1,t.$refs.ctxModal.hide(),swal("Success","You have successfully unblocked "+t.status.account.acct,"success")})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},deletePost:function(t){if(this.ownerOrAdmin()&&confirm("Are you sure you want to delete this post?")){if(0==l("body").hasClass("loggedIn"))return;axios.post("/i/delete",{type:"status",item:this.status.id}).then((function(t){swal("Success","You have successfully deleted this post","success"),setTimeout((function(){window.location.href="/"}),3e3)})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))}},owner:function(){return this.user.id===this.status.account.id},admin:function(){return 1==this.user.is_admin},ownerOrAdmin:function(){return this.owner()||this.admin()},lightbox:function(t){this.lightboxMedia=t,this.$refs.lightboxModal.show()},postReply:function(){var t=this;if(this.replySending=!0,0==this.replyText.length||this.replyText.trim()=="@"+this.status.account.acct)return t.replyText=null,void l('textarea[name="comment"]').blur();var e={item:this.replyingToId,comment:this.replyText,sensitive:this.replySensitive};this.replyText="",axios.post("/i/comment",e).then((function(e){var s=e.data.entity;if(s.in_reply_to_id==t.status.id){"metro"==t.layout?t.results.push(s):t.results.unshift(s);var a=l(".status-comments")[0];a.scrollTop=2*a.clientHeight}else if(t.replyToIndex>=0){var i=t.results[t.replyToIndex];i.replies.push(s),i.reply_count=i.reply_count+1}t.$refs.replyModal.hide(),t.replySending=!1}))},deleteComment:function(t,e){var s=this;axios.post("/i/delete",{type:"comment",item:t}).then((function(t){s.results.splice(e,1)})).catch((function(t){swal("Something went wrong!","Please try again later","error")}))},deleteCommentReply:function(t,e,s){var a=this;axios.post("/i/delete",{type:"comment",item:t}).then((function(t){a.results[s].replies.splice(e,1),--a.results[s].reply_count})).catch((function(t){swal("Something went wrong!","Please try again later","error")}))},l:function(t){return t.length<10?t:t.substr(0,10)+"..."},replyFocus:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0!=l("body").hasClass("loggedIn")){if(!this.status.comments_disabled){this.replyToIndex=e,this.replyingToId=t.id,this.replyingToUsername=t.account.username,this.reply_to_profile_id=t.account.id;var a=t.account.local?"@"+t.account.username+" ":"@"+t.account.acct+" ";1==s&&(this.replyText=a),this.$refs.replyModal.show()}}else this.redirect("/login?next="+encodeURIComponent(window.location.pathname))},fetchComments:function(){var t=this,e="/api/v2/comments/"+this.statusProfileId+"/status/"+this.statusId;axios.get(e).then((function(e){t.results=e.data.data.filter((function(t){return"text"==t.pf_type})),t.pagination=e.data.meta.pagination,t.results.length>0&&l(".load-more-link").removeClass("d-none"),l(".postCommentsLoader").addClass("d-none"),l(".postCommentsContainer").removeClass("d-none"),setTimeout((function(){document.querySelectorAll(".status-comment .postCommentsContainer .comment-body a").forEach((function(t,e){t.href=App.util.format.rewriteLinks(t)}))}),500)})).catch((function(t){if(t.response)if(401===t.response.status)l(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");else l(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.");else l(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}))},loadMore:function(t){var e=this;if(t.preventDefault(),1!=this.pagination.total_pages&&this.pagination.current_page!=this.pagination.total_pages){l(".load-more-link").addClass("d-none"),l(".postCommentsLoader").removeClass("d-none");var s=this.pagination.links.next;axios.get(s).then((function(t){var s=t.data.data;l(".postCommentsLoader").addClass("d-none");for(var a=0;a0)return void(t.thread=!0);var e="/api/v2/comments/"+t.account.id+"/status/"+t.id;axios.get(e).then((function(e){t.replies=_.reverse(e.data.data),t.thread=!0}))}},redirect:function(t){window.location.href=t},showEmbedPostModal:function(){var t=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.status.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,t),this.$refs.ctxModal.hide(),this.$refs.embedModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.$refs.embedModal.hide()},permalinkUrl:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=t.account;return 1==s.local||e?t.url:"/i/web/post/_/"+s.id+"/"+t.id},fetchProfilePosts:function(){if(l("body").hasClass("loggedIn")||!this.loaded){var t=this,e="/api/pixelfed/v1/accounts/"+this.statusProfileId+"/statuses";axios.get(e,{params:{only_media:!0,min_id:1,limit:9}}).then((function(e){var s=e.data.filter((function(e){return e.media_attachments.length>0&&e.id!=t.statusId&&0==e.sensitive}));s.map((function(t){return t.id}));s.length>=3&&(t.showProfileMorePosts=!0),t.profileMorePosts=s.slice(0,6)}))}},previewUrl:function(t){return t.sensitive?"/storage/no-preview.png?v="+(new Date).getTime():t.media_attachments[0].preview_url},previewBackground:function(t){return"background-image: url("+this.previewUrl(t)+");"},getStatusUrl: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},showTaggedPeopleModal:function(){!l("body").hasClass("loggedIn")&&this.loaded||this.$refs.taggedModal.show()},untagMe:function(){var t=this;this.$refs.taggedModal.hide();var e=this.user.id;axios.post("/api/local/compose/tag/untagme",{status_id:this.statusId,profile_id:e}).then((function(s){t.status.taggedPeople=t.status.taggedPeople.filter((function(t){return t.id!=e})),swal("Untagged","You have been untagged from this post.","success")})).catch((function(t){swal("An Error Occurred","Please try again later.","error")}))},copyPostUrl:function(){navigator.clipboard.writeText(this.statusUrl)},moderatePost:function(t,e){var s=this.status,a=(s.account.username,""),i=this;switch(t){case"addcw":a="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e&&axios.post("/api/v2/moderator/action",{action:t,item_id:s.id,item_type:"status"}).then((function(t){swal("Success","Successfully added content warning","success"),s.sensitive=!0,i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.ctxModMenuClose()}))}));break;case"remcw":a="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e&&axios.post("/api/v2/moderator/action",{action:t,item_id:s.id,item_type:"status"}).then((function(t){swal("Success","Successfully added content warning","success"),s.sensitive=!1,i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.ctxModMenuClose()}))}));break;case"unlist":a="Are you sure you want to unlist this post?",swal({title:"Confirm",text:a,icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e&&axios.post("/api/v2/moderator/action",{action:t,item_id:s.id,item_type:"status"}).then((function(t){swal("Success","Successfully unlisted post","success"),i.ctxModMenuClose()})).catch((function(t){i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},ctxMenu:function(){this.$refs.ctxModal.show()},closeCtxMenu:function(t){this.$refs.ctxModal.hide()},ctxModMenu:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModMenuClose:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide()},ctxMenuCopyLink:function(){var t=this.status;navigator.clipboard.writeText(t.url),this.closeCtxMenu()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(t){e.$refs.ctxModal.hide(),window.location.href="/"}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.$refs.ctxModal.hide()}))},statusLike:function(t){this.reactions.liked=!!this.reactions.liked},trimCaption:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60;return _.truncate(t,{length:e})}}}},49720:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={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"),a("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,a("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,s){var a=t.account.username;switch(e){case"autocw":var i="Are you sure you want to enforce CW for "+a+" ?";swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":i="Are you sure you want to suspend the account of "+a+" ?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=a("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!=a("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(){a("#mt_pid_"+this.status.id).modal("hide")}}}},31334:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(20415),i=s(19210),o=s(19755);function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,o.closeModals(),o.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),o.closeModals(),o.ctxModMenuClose()}))}));break;case"remcw":i="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,o.closeModals(),o.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),o.closeModals(),o.ctxModMenuClose()}))}));break;case"unlist":i="Are you sure you want to unlist this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){a.feed=a.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":i="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=a("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},41441:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(20415),i=s(19755);const o={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":a.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at){"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20415),i=s(97622),o=s(19755);const n={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":a.default,"poll-card":i.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,a=t.account.username,i=document.createElement("a");switch(i.href=t.account.url,i=i.hostname,e){case"@":default:return a+'@'+i+"";case"from":return a+' from '+i+"";case"custom":return a+' '+s+" "+i+""}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=o("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,i=this.replyText,o=this.config.uploader.max_caption_length;if(i.length>o)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+o+" characters or less.","error");axios.post("/i/comment",{item:a,comment:i,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)}}}},274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},45354:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var a="forward";e.advancePage(a),e.$emit("navigation-click",a)}}}}},28314:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.target})},width:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.width)return this.status.media_attachments[0].meta.original.width},height:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.height)return this.status.media_attachments[0].meta.original.height}}}},45524:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},57602:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")},poster:function(){var t=this.status.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},95999:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.loaded?t._e():e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[e("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]),t._v(" "),t.loaded&&t.warning?e("div",{staticClass:"bg-white mt-n4 pt-3 border-bottom"},[e("div",{staticClass:"container"},[e("p",{staticClass:"text-center font-weight-bold"},[t._v("You are blocking this account")]),t._v(" "),e("p",{staticClass:"text-center font-weight-bold"},[e("a",{staticClass:"btn btn-primary font-weight-bold px-5",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.warning=!1,t.fetchData()}}},[t._v("View Status")])])])]):t._e(),t._v(" "),t.loaded&&0==t.warning?e("div",{staticClass:"postComponent"},["metro"==t.layout?e("div",{staticClass:"container px-0"},[e("div",{staticClass:"card card-md-rounded-0 status-container orientation-unknown shadow-none border"},[e("div",{staticClass:"row px-0 mx-0"},[e("div",{staticClass:"d-flex d-md-none align-items-center justify-content-between card-header bg-white w-100"},[e("div",{staticClass:"d-flex"},[e("div",{staticClass:"status-avatar mr-2",on:{click:function(e){return t.redirect(t.statusProfileUrl)}}},[e("img",{staticClass:"cursor-pointer",staticStyle:{"border-radius":"12px"},attrs:{src:t.statusAvatar,width:"24px",height:"24px"}})]),t._v(" "),e("div",{staticClass:"username"},[e("span",{staticClass:"username-link font-weight-bold text-dark cursor-pointer",on:{click:function(e){return t.redirect(t.statusProfileUrl)}}},[t._v(t._s(t.statusUsername))]),t._v(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("p",{staticClass:"mb-0",staticStyle:{"font-size":"10px"}},[t.loaded&&t.status.taggedPeople.length?e("span",{staticClass:"mb-0"},[e("span",{staticClass:"font-weight-light cursor-pointer",staticStyle:{color:"#718096"},attrs:{title:"Tagged People","data-toggle":"tooltip","data-placement":"bottom"},on:{click:function(e){return t.showTaggedPeopleModal()}}},[e("i",{staticClass:"fas fa-tag text-lighter"}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.taggedPeople.length)+" Tagged People")])])]):t._e(),t._v(" "),t.loaded&&null!=t.status.place&&t.status.taggedPeople.length?e("span",{staticClass:"px-2 font-weight-bold text-lighter"},[t._v("•")]):t._e(),t._v(" "),t.loaded&&null!=t.status.place?e("span",{staticClass:"mb-0 cursor-pointer text-truncate",staticStyle:{color:"#718096"},on:{click:function(e){return t.redirect("/discover/places/"+t.status.place.id+"/"+t.status.place.slug)}}},[e("i",{staticClass:"fas fa-map-marked-alt text-lighter"}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])])]),t._v(" "),0!=t.user?e("div",{staticClass:"float-right"},[e("div",{staticClass:"post-actions"},[e("div",[e("button",{staticClass:"btn btn-link text-dark no-caret",attrs:{title:"Post options"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-v text-muted"})])])])]):t._e()]),t._v(" "),e("div",{staticClass:"col-12 col-md-8 px-0 mx-0"},[e("div",{staticClass:"postPresenterContainer d-none d-flex justify-content-center align-items-center",staticStyle:{background:"#000"}},["text"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("div",{staticClass:"w-100 card-img-top border-bottom rounded-0",staticStyle:{"background-image":"url(/storage/textimg/bg_1.jpg)","background-size":"cover",width:"100%",height:"540px"}},[e("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[e("p",{staticClass:"text-center text-break h3 px-5 font-weight-bold",domProps:{innerHTML:t._s(t.status.content)}})])])]):"photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 px-0 d-flex flex-column border-left border-md-left-0"},[e("div",{staticClass:"d-md-flex d-none align-items-center justify-content-between card-header py-3 bg-white"},[e("div",{staticClass:"d-flex align-items-center status-username text-truncate"},[e("div",{staticClass:"status-avatar mr-2",on:{click:function(e){return t.redirect(t.statusProfileUrl)}}},[e("img",{staticClass:"cursor-pointer",staticStyle:{"border-radius":"12px"},attrs:{src:t.statusAvatar,width:"24px",height:"24px"}})]),t._v(" "),e("div",{staticClass:"username"},[e("span",{staticClass:"username-link font-weight-bold text-dark cursor-pointer",on:{click:function(e){return t.redirect(t.statusProfileUrl)}}},[t._v(t._s(t.statusUsername))]),t._v(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("p",{staticClass:"mb-0",staticStyle:{"font-size":"10px"}},[t.loaded&&t.status.taggedPeople.length?e("span",{staticClass:"mb-0"},[e("span",{staticClass:"font-weight-light cursor-pointer",staticStyle:{color:"#718096"},attrs:{title:"Tagged People","data-toggle":"tooltip","data-placement":"bottom"},on:{click:function(e){return t.showTaggedPeopleModal()}}},[e("i",{staticClass:"fas fa-tag text-lighter"}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.taggedPeople.length)+" Tagged People")])])]):t._e(),t._v(" "),t.loaded&&null!=t.status.place&&t.status.taggedPeople.length?e("span",{staticClass:"px-2 font-weight-bold text-lighter"},[t._v("•")]):t._e(),t._v(" "),t.loaded&&null!=t.status.place?e("span",{staticClass:"mb-0 cursor-pointer text-truncate",staticStyle:{color:"#718096"},on:{click:function(e){return t.redirect("/discover/places/"+t.status.place.id+"/"+t.status.place.slug)}}},[e("i",{staticClass:"fas fa-map-marked-alt text-lighter"}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])])]),t._v(" "),e("div",{staticClass:"float-right"},[e("div",{staticClass:"post-actions"},[0!=t.user?e("div",[e("button",{staticClass:"btn btn-link text-dark no-caret",attrs:{title:"Post options"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-v text-muted"})])]):t._e()])])]),t._v(" "),e("div",{staticClass:"d-flex flex-md-column flex-column-reverse h-100",staticStyle:{"overflow-y":"auto"}},[e("div",{staticClass:"card-body status-comments pt-0"},["text"!=t.status.pf_type?e("div",{staticClass:"status-comment"},[t.status.content.length?e("div",{staticClass:"pt-3"},[t.status.sensitive?e("div",[e("span",{staticClass:"py-3"},[e("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:t.status.account.url,title:t.status.account.username}},[t._v(t._s(t.truncate(t.status.account.username,15)))]),t._v(" "),e("span",{staticClass:"text-break"},[e("span",{staticClass:"font-italic text-muted"},[t._v("This comment may contain sensitive material")]),t._v(" "),e("span",{staticClass:"text-primary cursor-pointer pl-1",on:{click:function(e){t.status.sensitive=!1}}},[t._v("Show")])])])]):e("div",[e("p",{class:[t.status.content.length>620?"mb-1 read-more":"mb-1"],staticStyle:{overflow:"hidden"}},[e("a",{staticClass:"font-weight-bold pr-1 text-dark text-decoration-none",attrs:{href:t.statusProfileUrl}},[t._v(t._s(t.statusUsername))]),t._v(" "),e("span",{staticClass:"comment-text",attrs:{id:t.status.id+"-status-readmore"},domProps:{innerHTML:t._s(t.content)}})])]),t._v(" "),e("hr")]):t._e(),t._v(" "),t.showComments?e("div",[t._m(0),t._v(" "),e("div",{staticClass:"postCommentsContainer d-none"},[e("p",{staticClass:"mb-1 text-center load-more-link d-none my-4"},[e("a",{staticClass:"text-dark",attrs:{href:"#",title:"Load more comments","data-toggle":"tooltip","data-placement":"bottom"},on:{click:t.loadMore}},[e("svg",{staticClass:"bi bi-plus-circle",staticStyle:{"font-size":"2em"},attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M8 3.5a.5.5 0 01.5.5v4a.5.5 0 01-.5.5H4a.5.5 0 010-1h3.5V4a.5.5 0 01.5-.5z","clip-rule":"evenodd"}}),t._v(" "),e("path",{attrs:{"fill-rule":"evenodd",d:"M7.5 8a.5.5 0 01.5-.5h4a.5.5 0 010 1H8.5V12a.5.5 0 01-1 0V8z","clip-rule":"evenodd"}}),t._v(" "),e("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 108 1a7 7 0 000 14zm0 1A8 8 0 108 0a8 8 0 000 16z","clip-rule":"evenodd"}})])])]),t._v(" "),e("div",{staticClass:"comments mt-3"},t._l(t.results,(function(s,a){return e("div",{key:"tl"+s.id+"_"+a,staticClass:"pb-4 media"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:s.account.avatar,width:"42px",height:"42px"}}),t._v(" "),e("div",{staticClass:"media-body"},[1==s.sensitive?e("div",[e("span",{staticClass:"py-3"},[e("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:t.profileUrl(s),title:s.account.username}},[t._v(t._s(s.account.local?"":"@")+t._s(t.truncate(s.account.username,15)))]),t._v(" "),e("span",{staticClass:"text-break"},[e("span",{staticClass:"font-italic text-muted"},[t._v("This comment may contain sensitive material")]),t._v(" "),e("span",{staticClass:"text-primary cursor-pointer pl-1",on:{click:function(t){s.sensitive=!1}}},[t._v("Show")])])])]):e("div",[e("p",{staticClass:"d-flex justify-content-between align-items-top read-more",staticStyle:{"overflow-y":"hidden"}},[e("span",[e("a",{staticClass:"text-dark font-weight-bold mr-1 text-break",attrs:{href:t.profileUrl(s),title:s.account.username}},[t._v(t._s(s.account.local?"":"@")+t._s(t.truncate(s.account.username,15)))]),t._v(" "),e("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(s.content)}})]),t._v(" "),e("span",{staticStyle:{"min-width":"38px"}},[e("span",{on:{click:function(e){return t.likeReply(s,e)}}},[e("i",{class:[s.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})]),t._v(" "),e("post-menu",{staticClass:"d-inline-block px-2",attrs:{status:s,profile:t.user,size:"sm",modal:"true"},on:{deletePost:function(e){return t.deleteComment(s.id,a)}}})],1)]),t._v(" "),e("p",{},[t._o(e("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:t.permalinkUrl(s)},domProps:{textContent:t._s(t.timeAgo(s.created_at))}}),0,"tl"+s.id+"_"+a),t._v(" "),s.favourites_count?e("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3"},[t._v(t._s(1==s.favourites_count?"1 like":s.favourites_count+" likes"))]):t._e(),t._v(" "),e("span",{staticClass:"text-muted comment-reaction font-weight-bold cursor-pointer",on:{click:function(e){return t.replyFocus(s,a,!0)}}},[t._v("Reply")])]),t._v(" "),s.reply_count>0?e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.toggleReplies(s)}}},[e("span",{staticClass:"show-reply-bar"}),t._v(" "),e("span",{staticClass:"comment-reaction font-weight-bold text-muted"},[t._v(t._s(s.thread?"Hide":"View")+" Replies ("+t._s(s.reply_count)+")")])]):t._e(),t._v(" "),1==s.thread?e("div",{staticClass:"comment-thread"},t._l(s.replies,(function(s,i){return e("div",{key:"cr"+s.id+"_"+a,staticClass:"pb-3 media"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:s.account.avatar,width:"25px",height:"25px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"d-flex justify-content-between align-items-top read-more",staticStyle:{"overflow-y":"hidden"}},[e("span",[e("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:t.profileUrl(s),title:s.account.username}},[t._v(t._s(s.account.local?"":"@")+t._s(s.account.username))]),t._v(" "),e("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(s.content)}})]),t._v(" "),e("span",{staticClass:"pl-2",staticStyle:{"min-width":"38px"}},[e("span",{on:{click:function(e){return t.likeReply(s,e)}}},[e("i",{class:[s.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})]),t._v(" "),e("post-menu",{staticClass:"d-inline-block pl-2",attrs:{status:s,profile:t.user,size:"sm",modal:"true"},on:{deletePost:function(e){return t.deleteCommentReply(s.id,i,a)}}})],1)]),t._v(" "),e("p",{},[t._o(e("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:s.url},domProps:{textContent:t._s(t.timeAgo(s.created_at))}}),1,"cr"+s.id+"_"+a),t._v(" "),s.favourites_count?e("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3"},[t._v(t._s(1==s.favourites_count?"1 like":s.favourites_count+" likes"))]):t._e()])])])})),0):t._e()])])])})),0)])]):t._e()]):t._e()]),t._v(" "),t.reactionBarLoading?e("div",{staticClass:"card-body flex-grow-0 py-4 text-center"},[t._m(1)]):e("div",{staticClass:"card-body flex-grow-0 py-1"},[t.loaded&&t.user.hasOwnProperty("id")?e("div",{staticClass:"reactions my-2 pb-1 d-flex justify-content-between"},[e("h3",{class:[t.reactions.liked?"fas fa-heart text-danger mr-3 m-0 cursor-pointer":"far fa-heart pr-3 m-0 like-btn cursor-pointer"],attrs:{title:"Like"},on:{click:t.likeStatus}}),t._v(" "),t.status.comments_disabled?t._e():e("h3",{staticClass:"far fa-comment mr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.replyFocus(t.status)}}}),t._v(" "),e("h3",{staticClass:"fas fa-expand m-0 mr-3 cursor-pointer",on:{click:function(e){return t.redirect(t.status.media_attachments[0].url)}}}),t._v(" "),"public"==t.status.visibility?e("h3",{class:[t.reactions.bookmarked?"fas fa-bookmark text-warning m-0 mr-3 cursor-pointer":"far fa-bookmark m-0 mr-3 cursor-pointer"],attrs:{title:"Bookmark"},on:{click:t.bookmarkStatus}}):t._e(),t._v(" "),"public"==t.status.visibility?e("h3",{class:[t.reactions.shared?"fas fa-retweet m-0 text-primary cursor-pointer":"fas fa-retweet m-0 share-btn cursor-pointer"],attrs:{title:"Share"},on:{click:t.shareStatus}}):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"reaction-counts mb-0"},[t.status.liked_by.username&&t.status.liked_by.username!==t.user.username?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tand "),e("span",{staticClass:"font-weight-bold text-dark cursor-pointer",on:{click:t.likesModal}},[t.status.liked_by.total_count_pretty?e("span",[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" others")])]):t._e()])]):t._e()]),t._v(" "),e("div",{staticClass:"timestamp d-flex align-items-bottom justify-content-between"},[e("a",{staticClass:"small text-muted",attrs:{href:t.statusUrl,title:t.status.created_at}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.timestampFormat())+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"small text-muted text-capitalize cursor-pointer",on:{click:t.visibilityModal}},[t._v(t._s(t.status.visibility))])])])]),t._v(" "),t.showComments?e("div",{staticClass:"card-footer bg-white sticky-md-bottom p-0"},[0==t.user.length?e("div",{staticClass:"comment-form-guest p-3"},[e("a",{attrs:{href:"/login"}},[t._v("Login")]),t._v(" to like or comment.\n\t\t\t\t\t\t\t")]):e("form",{staticClass:"border-0 rounded-0 align-middle",attrs:{method:"post",action:"/i/comment","data-id":t.statusId,"data-truncate":"false"}},[e("textarea",{staticClass:"form-control border-0 rounded-0",staticStyle:{height:"56px","line-height":"18px","max-height":"80px",resize:"none","padding-right":"4.2rem"},attrs:{name:"comment",placeholder:"Add a comment…",autocomplete:"off",autocorrect:"off"},on:{click:function(e){return t.replyFocus(t.status)}}}),t._v(" "),e("input",{staticClass:"d-inline-block btn btn-link font-weight-bold reply-btn text-decoration-none",attrs:{type:"button",value:"Post",disabled:""}})])]):t._e()])])]),t._v(" "),t.showProfileMorePosts?e("div",{staticClass:"container"},[e("p",{staticClass:"text-lighter px-3 mt-5",staticStyle:{"font-weight":"600","font-size":"15px"}},[t._v("More posts from "),e("a",{staticClass:"text-dark",attrs:{href:"/"+t.statusUsername}},[t._v(t._s(this.statusUsername))])]),t._v(" "),e("div",{staticClass:"profile-timeline mt-md-4"},[e("div",{staticClass:"row"},t._l(t.profileMorePosts,(function(s,a){return e("div",{key:"tlob:"+a,staticClass:"col-4 p-1 p-md-3"},[t._o(e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.getStatusUrl(s)}},[e("div",{class:[s.sensitive?"square":"square "+s.media_attachments[0].filter_class]},["photo:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==s.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"==s.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:"square-content",style:t.previewBackground(s)}),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-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(s.favourites_count))])]),t._v(" "),e("span",[e("span",{staticClass:"fas fa-retweet fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(s.reblogs_count))])])])])])]),2,"tlob:"+a)])})),0)])]):t._e()]):t._e(),t._v(" "),"poll"==t.layout?e("div",{staticClass:"container px-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-6"},[!t.loading&&t.user&&t.reactions?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.user,showBorderTop:!0,"fetch-state":!0,reactions:t.reactions},on:{likeStatus:t.likeStatus}}),t._v(" "),e("comment-feed",{staticClass:"mt-3",attrs:{status:t.status}})],1):e("div",{staticClass:"text-center"},[t._m(2)])])])]):t._e(),t._v(" "),"text"==t.layout?e("div",{staticClass:"container px-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-6"},[e("status-card",{attrs:{status:t.status,hasTopBorder:!0}}),t._v(" "),e("comment-feed",{staticClass:"mt-3",attrs:{status:t.status}})],1)])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"likesModal",attrs:{id:"l-modal","hide-footer":"",centered:"",title:"Likes","body-class":"list-group-flush py-3 px-0"}},[t.likedLoaded?e("div",{staticClass:"list-group"},[t._l(t.likes,(function(s,a){return e("div",{key:"modal_likes_"+a,staticClass:"list-group-item border-0 py-1"},[e("div",{staticClass:"media"},[e("a",{attrs:{href:s.url}},[e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:s.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.display_name)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-truncate mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])])])])})),t._v(" "),t.likesCanLoadMore?e("infinite-loading",{attrs:{spinner:"spiral"},on:{infinite:t.infiniteLikesHandler}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})]):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center h-100"},[e("b-spinner")],1)]),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0"}},[t.lightboxMedia?e("div",[e("img",{class:t.lightboxMedia.filter_class+" img-fluid",staticStyle:{"min-height":"100%","min-width":"100%"},attrs:{src:t.lightboxMedia.url}})]):t._e()]),t._v(" "),e("b-modal",{ref:"embedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\tShow Caption\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\tShow Likes\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"taggedModal",attrs:{id:"tagged-modal","hide-footer":"",centered:"",title:"Tagged People","body-class":"list-group-flush py-3 px-0"}},[e("div",{staticClass:"list-group"},t._l(t.status.taggedPeople,(function(s,a){return e("div",{key:"modal_taggedpeople_"+a,staticClass:"list-group-item border-0 py-1"},[e("div",{staticClass:"media"},[e("a",{attrs:{href:"/"+s.username}},[e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"pt-1 d-flex justify-content-between",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"/"+s.username}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s.id==t.user.id?e("button",{staticClass:"btn btn-outline-primary btn-sm py-1 px-3",on:{click:function(e){return t.untagMe()}}},[t._v("Untag Me")]):t._e()])])])])})),0),t._v(" "),e("p",{staticClass:"mb-0 text-center small text-muted font-weight-bold"},[e("a",{attrs:{href:"/site/kb/tagging-people"}},[t._v("Learn more")]),t._v(" about Tagging People.")])]),t._v(" "),e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[t.status&&1==t.status.local?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.showEmbedPostModal()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&t.user.id==t.status.account.id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:t.toggleCommentVisibility}},[t._v(t._s(t.showComments?"Disable":"Enable")+" Comments")]):t._e(),t._v(" "),t.status&&t.user.id==t.status.account.id?e("a",{staticClass:"list-group-item rounded cursor-pointer text-dark text-decoration-none",attrs:{href:t.editUrl()}},[t._v("Edit")]):t._e(),t._v(" "),t.user&&1==t.user.is_admin?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenu()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),!t.status||t.user.id==t.status.account.id||t.relationship.blocking||t.user.is_admin?t._e():e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.blockProfile()}}},[t._v("Block")]),t._v(" "),t.status&&t.user.id!=t.status.account.id&&t.relationship.blocking&&!t.user.is_admin?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unblockProfile()}}},[t._v("Unblock")]):t._e(),t._v(" "),t.user&&t.user.id!=t.status.account.id&&!t.user.is_admin?e("a",{staticClass:"list-group-item rounded cursor-pointer text-danger text-decoration-none",attrs:{href:t.reportUrl()}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.user.id==t.status.account.id&&"archived"!=t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.user.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.user.is_admin||t.user.id==t.status.account.id)?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.ctxMenuStatus)}}},[t._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:t.toggleCommentVisibility}},[t._v(t._s(t.showComments?"Disable":"Enable")+" Comments")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost("unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost("remcw")}}},[t._v("Remove Content Warning")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost("addcw")}}},[t._v("Add Content Warning")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"replyModal",attrs:{id:"ctx-reply-modal","hide-footer":"",centered:"",rounded:"","title-html":t.replyingToUsername?"Reply to "+t.replyingToUsername+"":"","title-tag":"p","title-class":"font-weight-bold text-muted",size:"md","body-class":"p-2 rounded"}},[e("div",[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control",staticStyle:{border:"none","font-size":"18px",resize:"none","white-space":"pre-wrap",outline:"none"},attrs:{rows:"4",placeholder:"Reply here ..."},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"border-top border-bottom my-2"},[e("ul",{staticClass:"nav align-items-center emoji-reactions",staticStyle:{"overflow-x":"scroll","flex-wrap":"unset"}},t._l(t.emoji,(function(s){return e("li",{staticClass:"nav-item",on:{click:function(e){return t.emojiReaction(t.status)}}},[t._v(t._s(s))])})),0)]),t._v(" "),e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("span",{staticClass:"pl-2 small text-muted font-weight-bold text-monospace"},[e("span",{class:[t.replyText.length>t.config.uploader.max_caption_length?"text-danger":"text-dark"]},[t._v(t._s(t.replyText.length>t.config.uploader.max_caption_length?t.config.uploader.max_caption_length-t.replyText.length:t.replyText.length))]),t._v("/"+t._s(t.config.uploader.max_caption_length)+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"custom-control custom-switch mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.replySensitive,expression:"replySensitive"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"replyModalCWSwitch"},domProps:{checked:Array.isArray(t.replySensitive)?t._i(t.replySensitive,null)>-1:t.replySensitive},on:{change:function(e){var s=t.replySensitive,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.replySensitive=s.concat([null])):o>-1&&(t.replySensitive=s.slice(0,o).concat(s.slice(o+1)))}else t.replySensitive=i}}}),t._v(" "),e("label",{class:[t.replySensitive?"custom-control-label font-weight-bold text-dark":"custom-control-label text-lighter"],attrs:{for:"replyModalCWSwitch"}},[t._v("Mark as NSFW")])]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm py-2 px-4 lead text-uppercase font-weight-bold",attrs:{disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.postReply()}}},[t._v("\n\t\t\t\t\t\t"+t._s(1==t.replySending?"POSTING":"POST")+"\n\t\t\t\t\t")])])])],1)])],1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"postCommentsLoader text-center py-2"},[t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},79953:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=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()])},i=[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.")])}]},70292:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.loaded?e("div",[t.showReplyForm?e("div",{staticClass:"card card-body shadow-none border bg-light"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.profile.avatar,width:"32px",height:"32px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"reply-form form-group mb-0"},[!t.composeText||t.composeText.length<40?e("input",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control rounded-pill",attrs:{placeholder:"Add a comment..."},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}}):e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control",attrs:{placeholder:"Add a comment...",rows:"4"},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),t.composeText&&t.composeText.length?e("div",{staticClass:"btn btn-primary btn-sm rounded-pill font-weight-bold px-3",on:{click:t.submitComment}},[t.postingComment?e("span",[t._m(0)]):e("span",[t._v("Post")])]):t._e()]),t._v(" "),t.composeText?e("div",{staticClass:"reply-options",model:{value:t.visibility,callback:function(e){t.visibility=e},expression:"visibility"}},[t._m(1),t._v(" "),e("div",{staticClass:"custom-control custom-switch"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.sensitive,expression:"sensitive"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"sensitive"},domProps:{checked:Array.isArray(t.sensitive)?t._i(t.sensitive,null)>-1:t.sensitive},on:{change:function(e){var s=t.sensitive,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.sensitive=s.concat([null])):o>-1&&(t.sensitive=s.slice(0,o).concat(s.slice(o+1)))}else t.sensitive=i}}}),t._v(" "),t._m(2)]),t._v(" "),e("span",{staticClass:"text-muted font-weight-bold small"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.composeText.length)+" / 500\n\t\t\t\t\t\t")])]):t._e()])])]):t._e(),t._v(" "),e("div",{staticClass:"d-none card card-body shadow-none border rounded-0 border-top-0 bg-light"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("p",{staticClass:"font-weight-bold text-muted mb-0 mr-md-5"},[e("i",{staticClass:"fas fa-comment mr-1"}),t._v("\n\t\t\t\t\t"+t._s(t.formatCount(t.pagination.total))+"\n\t\t\t\t")]),t._v(" "),e("h4",{staticClass:"font-weight-bold mb-0 text-lighter"},[t._v("Comments")]),t._v(" "),t._m(3)])]),t._v(" "),t._l(t.feed,(function(t,s){return e("status-card",{key:"replies:"+s,attrs:{status:t,size:"small"}})})),t._v(" "),t.pagination.links.hasOwnProperty("next")?e("div",{staticClass:"card card-body shadow-none rounded-0 border border-top-0 py-3"},[t.loadingMoreComments?e("button",{staticClass:"btn btn-primary",attrs:{disabled:""}},[t._m(4)]):e("button",{staticClass:"btn btn-primary font-weight-bold",on:{click:t.loadMoreComments}},[t._v("Load more comments")])]):t._e(),t._v(" "),t.ctxStatus&&t.profile?e("context-menu",{ref:"cMenu",attrs:{status:t.ctxStatus,profile:t.profile},on:{"status-delete":t.statusDeleted}}):t._e()],2):e("div")])},i=[function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this,e=t._self._c;return e("select",{staticClass:"form-control form-control-sm rounded-pill font-weight-bold"},[e("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),e("option",{attrs:{value:"private"}},[t._v("Followers Only")])])},function(){var t=this,e=t._self._c;return e("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"sensitive"}},[e("span",{staticClass:"d-none d-md-inline-block"},[t._v("Sensitive/")]),t._v("NSFW\n\t\t\t\t\t\t\t")])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-group mb-0"},[e("select",{staticClass:"form-control form-control-sm"},[e("option",[t._v("New")]),t._v(" "),e("option",[t._v("Oldest")])])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},90977:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},87440:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,a){return e("p",[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},83222:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?e("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[t.status.sensitive?e("details",[e("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),e("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):e("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?e("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[e("div",[e("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),e("div",{staticClass:"pl-2"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.status.place?e("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?e("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[e("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[e("span",[e("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),e("div",{staticClass:"card-body"},[t.reactionBar?e("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?e("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):e("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():e("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?e("span",{staticClass:"float-right"},[e("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[e("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,s){return e("span",{staticClass:"mr-n2"},[e("a",{attrs:{href:"/"+t.username}},[e("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?e("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?e("div",{staticClass:"caption"},[t.status.sensitive?t._e():e("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[e("span",{staticClass:"username font-weight-bold"},[e("bdi",[e("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),e("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),e("div",{staticClass:"timestamp mt-2"},[e("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?e("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):e("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?e("span",[e("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},35594:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(s,a){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},i=[]},86072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\tSensitive Content\n\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status),title:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+t.status.id}},t._l(t.status.media_attachments,(function(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),title:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},65161:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},40711:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},i=[]},88699:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",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}})])])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},11112:(t,e,s)=>{Vue.component("photo-presenter",s(23251).default),Vue.component("video-presenter",s(53973).default),Vue.component("photo-album-presenter",s(33872).default),Vue.component("video-album-presenter",s(76644).default),Vue.component("mixed-album-presenter",s(57374).default),Vue.component("post-menu",s(4086).default),Vue.component("post-component",s(61345).default)},77145:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".postPresenterContainer[data-v-687c10c8],.reactions[data-v-687c10c8],.status-comments[data-v-687c10c8]{background:#fff}@media(min-width:720px){.postPresenterContainer[data-v-687c10c8]{min-height:600px}}[data-v-687c10c8]::-webkit-scrollbar{background:transparent;width:0}.reply-btn[data-v-687c10c8]{border-radius:0 3px 3px 0;bottom:12px;position:absolute;right:20px;text-align:center;width:60px}.text-lighter[data-v-687c10c8]{color:#b8c2cc!important}.text-break[data-v-687c10c8]{overflow-wrap:break-word}.comments p[data-v-687c10c8]{margin-bottom:0}.comment-reaction[data-v-687c10c8]{font-size:80%}.show-reply-bar[data-v-687c10c8]{border-bottom:1px solid #999;display:inline-block;height:0;margin-right:16px;vertical-align:middle;width:24px}.comment-thread[data-v-687c10c8]{margin-top:1rem}.emoji-reactions .nav-item[data-v-687c10c8]{cursor:pointer;font-size:1.2rem;padding:9px}.emoji-reactions[data-v-687c10c8]::-webkit-scrollbar{background:transparent;height:0;width:0}@media (min-width:1200px){.container[data-v-687c10c8]{max-width:1100px}}",""]);const o=i},35992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".text-lighter[data-v-1002e7e2]{color:#b8c2cc!important}.modal-body[data-v-1002e7e2]{padding:0}",""]);const o=i},73548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-7ad1e2b6]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7ad1e2b6]{position:relative}.content-label[data-v-7ad1e2b6]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-7ad1e2b6]{position:relative}",""]);const o=i},97465:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-40ab6d65]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-40ab6d65]{position:relative}.content-label[data-v-40ab6d65]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const o=i},9650:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".content-label-wrapper[data-v-411d6f1a]{position:relative}.content-label[data-v-411d6f1a]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const o=i},37060:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".reply-form[data-v-ee374dfe]{position:relative}.reply-form input[data-v-ee374dfe]{padding-right:90px}.reply-form textarea[data-v-ee374dfe]{align-items:center;padding-right:80px}.reply-form .btn[data-v-ee374dfe]{position:absolute;right:6px;top:50%;transform:translateY(-50%)}.reply-options[data-v-ee374dfe]{align-items:center;display:flex;justify-content:space-between;margin-top:15px}.reply-options .form-control[data-v-ee374dfe]{max-width:140px}",""]);const o=i},12385:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const o=i},54260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(77145),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},33174:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(35992),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},4236:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(73548),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},42678:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(97465),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},42194:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(9650),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},69708:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(37060),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},52163:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(12385),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},61345:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(55851),i=s(2911),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(81724);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"687c10c8",null).exports},4086:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(48517),i=s(23413),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(74386);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"1002e7e2",null).exports},33823:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(5247),i=s(87687),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(49740);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"ee374dfe",null).exports},20415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(70528),i=s(36072),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},97622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(93557),i=s(48046),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19210:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(50099),i=s(76329),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(92649);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57374:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(19399),i=s(57038),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},33872:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(15044),i=s(44484),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(67159);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"7ad1e2b6",null).exports},23251:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(54938),i=s(51485),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(22880);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"40ab6d65",null).exports},76644:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(75917),i=s(13938),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},53973:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(28348),i=s(79495),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(67406);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"411d6f1a",null).exports},2911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(31532),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},23413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(49720),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},87687:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(31334),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},36072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(96136),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},48046:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(41441),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},76329:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(69789),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},57038:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(274),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},44484:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(45354),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},51485:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(28314),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},13938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(45524),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},79495:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(57602),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},55851:(t,e,s)=>{"use strict";s.r(e);var a=s(95999),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48517:(t,e,s)=>{"use strict";s.r(e);var a=s(79953),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5247:(t,e,s)=>{"use strict";s.r(e);var a=s(70292),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},70528:(t,e,s)=>{"use strict";s.r(e);var a=s(90977),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},93557:(t,e,s)=>{"use strict";s.r(e);var a=s(87440),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},50099:(t,e,s)=>{"use strict";s.r(e);var a=s(83222),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},19399:(t,e,s)=>{"use strict";s.r(e);var a=s(35594),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},15044:(t,e,s)=>{"use strict";s.r(e);var a=s(86072),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54938:(t,e,s)=>{"use strict";s.r(e);var a=s(65161),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},75917:(t,e,s)=>{"use strict";s.r(e);var a=s(40711),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},28348:(t,e,s)=>{"use strict";s.r(e);var a=s(88699),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},81724:(t,e,s)=>{"use strict";s.r(e);var a=s(54260),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},74386:(t,e,s)=>{"use strict";s.r(e);var a=s(33174),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67159:(t,e,s)=>{"use strict";s.r(e);var a=s(4236),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},22880:(t,e,s)=>{"use strict";s.r(e);var a=s(42678),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67406:(t,e,s)=>{"use strict";s.r(e);var a=s(42194),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},49740:(t,e,s)=>{"use strict";s.r(e);var a=s(69708),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},92649:(t,e,s)=>{"use strict";s.r(e);var a=s(52163),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)}},t=>{t.O(0,[8898],(()=>{return e=11112,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/js/timeline.js b/public/js/timeline.js index 75a34612a..115fa1d5f 100644 --- a/public/js/timeline.js +++ b/public/js/timeline.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[9089],{12447:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={data:function(){return{announcements:[],announcement:{},cursor:0,showNext:!0,showPrev:!1}},mounted:function(){this.fetchAnnouncements()},updated:function(){a('[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(s){t.announcements=s.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,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(19755);function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s5?t.complete():axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.notificationMaxId}}).then((function(s){if(s.data.length){var a,o=s.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=o.map((function(t){return t.id}));e.notificationMaxId=Math.min.apply(Math,i(n)),(a=e.notifications).push.apply(a,i(o)),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 s=t.data.filter((function(t){return!("share"==t.type||e.notificationMaxId>=t.id)}));if(s.length){var o,n=s.map((function(t){return t.id}));e.notificationMaxId=Math.max.apply(Math,i(n)),(o=e.notifications).unshift.apply(o,i(s));var r=new Audio("/static/beep.mp3");r.volume=.7,r.play(),a(".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,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={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"),a("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,a("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,s){var a=t.account.username;switch(e){case"autocw":var i="Are you sure you want to enforce CW for "+a+" ?";swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":i="Are you sure you want to suspend the account of "+a+" ?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=a("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!=a("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(){a("#mt_pid_"+this.status.id).modal("hide")}}}},91569:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={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"}}}},67969:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>c});var a=s(15235),i=s(19210),o=s(37468),n=s(19755);function r(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s40&&(this.loading=!1,t.complete());var s=!1;switch(this.scope){case"home":s="/api/pixelfed/v1/timelines/home";break;case"local":s="/api/pixelfed/v1/timelines/public";break;case"network":s="/api/pixelfed/v1/timelines/network"}axios.get(s,{params:{max_id:this.max_id,limit:6,recent_feed:this.recentFeed}}).then((function(s){if(s.data.length&&0==e.loading){var a=s.data,i=e;if(i.recentFeed&&-1!=i.ids.indexOf(a[0].id))return e.loading=!1,void t.complete();a.forEach((function(t,e){-1==i.ids.indexOf(t.id)&&(i.feed.push(t),i.ids.push(t.id))})),e.min_id=Math.max.apply(Math,r(e.ids)).toString(),e.max_id=Math.min.apply(Math,r(e.ids)).toString(),e.page+=1,t.loaded(),e.loading=!1}else t.complete()})).catch((function(s){e.loading=!1,t.complete()}))}},redirect:function(t){window.location.href=t},expRec:function(){var t=this;0!=this.config.ab.rec&&axios.get("/api/local/exp/rec").then((function(e){t.suggestions=e.data}))},expRecFollow:function(t,e){},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},hideSuggestions:function(){localStorage.setItem("pf_metro_ui.exp.rec",!1),this.showSuggestions=!1},emojiReaction:function(t){var e=event.target.innerText;0==this.replyText.length?(this.replyText=e+" ",n('textarea[name="comment"]').focus()):(this.replyText+=e+" ",n('textarea[name="comment"]').focus())},refreshSuggestions:function(){},fetchHashtagPosts:function(){var t=this;axios.get("/api/local/discover/tag/list").then((function(e){var s=e.data;if(0!=s.length){var a=s[Math.floor(Math.random(),s.length)];t.hashtagPostsName=a,axios.get("/api/v2/discover/tag",{params:{hashtag:a}}).then((function(e){e.data.tags.length>3&&(t.showHashtagPosts=!0,t.hashtagPosts=e.data.tags.splice(0,9))}))}}))},commentFocus:function(t,e){t.comments_disabled||(this.status=t,this.replies={},this.replyStatus={},this.replyText="",this.replyId=t.id,this.replyStatus=t,this.fetchStatusComments(t,""),n("nav").hide(),n("footer").hide(),n(".mobile-footer-spacer").attr("style","display:none !important"),n(".mobile-footer").attr("style","display:none !important"),this.currentLayout="comments",window.history.pushState({},"",this.statusUrl(t)))},fetchStatusComments:function(t,e){var s=this,a="/api/v2/comments/"+t.account.id+"/status/"+t.id;axios.get(a).then((function(t){s.replies=_.reverse(t.data.data),s.pagination=t.data.meta.pagination,s.replies.length>0&&n(".load-more-link").removeClass("d-none"),n(".postCommentsLoader").addClass("d-none"),n(".postCommentsContainer").removeClass("d-none")})).catch((function(t){if(t.response)if(401===t.response.status)n(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");else n(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.");else n(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}))},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},formatCount:function(t){return App.util.format.count(t)},hasStory:function(){var t=this;axios.get("/api/web/stories/v1/exists/"+this.profile.id).then((function(e){t.userStory=e.data}))},rtw:function(){var t=this;this.mpPoller=setInterval((function(){var e=!1;switch(t.mpCount++,t.mpCount>10&&(t.mpInterval=3e4),t.mpCount>50&&(t.mpInterval=3e5),t.scope){case"home":e="/api/pixelfed/v1/timelines/home";break;case"local":e="/api/pixelfed/v1/timelines/public";break;case"network":e="/api/pixelfed/v1/timelines/network"}axios.get(e,{params:{max_id:0,limit:20,recent_feed:t.recentFeed}}).then((function(e){var s=t,a=t.feed.map((function(t){return t.id})),i=e.data.filter((function(t){return t.id>s.min_id&&-1==a.indexOf(t.id)})),o=i.map((function(t){return t.id}));Math.max.apply(Math,r(o)).toString()>t.min_id&&(t.morePostsAvailable=!0,t.mpData=i)}))}),this.mpInterval)},syncNewPosts:function(){var t,e=this.mpData,s=e.map((function(t){return t.id}));this.min_id=Math.max.apply(Math,r(s)).toString(),this.max_id=Math.min.apply(Math,r(s)).toString(),(t=this.feed).unshift.apply(t,r(e)),this.morePostsAvailable=!1,this.mpData=null},toggleReplies:function(t){if(t.thread)t.thread=!1;else{if(t.replies.length>0)return void(t.thread=!0);var e="/api/v2/comments/"+t.account.id+"/status/"+t.id;axios.get(e).then((function(e){t.replies=_.reverse(e.data.data),t.thread=!0}))}},replyFocus:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0!=n("body").hasClass("loggedIn")){if(!this.status.comments_disabled){this.replyToIndex=e,this.replyingToId=t.id,this.replyingToUsername=t.account.username,this.reply_to_profile_id=t.account.id;var a=t.account.local?"@"+t.account.username+" ":"@"+t.account.acct+" ";1==s&&(this.replyText=a),this.$refs.replyModal.show(),setTimeout((function(){n(".replyModalTextarea").focus()}),500)}}else this.redirect("/login?next="+encodeURIComponent(window.location.pathname))},alwaysViewOlderPosts:function(){window.localStorage.setItem("pf.feed:avop","always"),window.location.href="/"},setCurrentLayout:function(t){this.currentLayout=t},deleteStatus:function(t){this.feed=this.feed.filter((function(e){return e.id!=t}))},followedAccount:function(t){this.feed=this.feed.map((function(e){return e.account.id==t&&e.hasOwnProperty("relationship")&&0==e.relationship.following&&(e.relationship.following=!0),e}))},unfollowedAccount:function(t){this.feed=this.feed.map((function(e){return e.account.id==t&&e.hasOwnProperty("relationship")&&1==e.relationship.following&&(e.relationship.following=!1),e}))},hidePromo:function(){localStorage.setItem("pf_metro_ui.exp.spa"+(new Date).getMonth(),"false"),this.showPromo=!1}},beforeDestroy:function(){clearInterval(this.mpInterval)}}},38024:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(20415),i=s(19755);const o={props:{status:{type:Object},profile:{type:Object},backToStatus:{type:Boolean,default:!1}},components:{"context-menu":a.default},data:function(){return{ids:[],config:window.App.config,tributeSettings:{collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}}]},replies:[],replyId:null,replyText:"",replyNsfw:!1,replySending:!1,pagination:{},ctxMenuStatus:!1,emoji:window.App.util.emoji}},beforeMount:function(){this.fetchComments()},methods:{commentNavigateBack:function(t){if(this.backToStatus)window.location.href=this.statusUrl(this.status);else{i("nav").show(),i("footer").show(),i(".mobile-footer-spacer").attr("style","display:block"),i(".mobile-footer").attr("style","display:block"),this.$emit("current-layout","feed");window.history.pushState({},"","/")}},trimCaption:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60;return _.truncate(t,{length:e})},replyFocus:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0!=i("body").hasClass("loggedIn")){if(!this.status.comments_disabled){this.replyToIndex=e,this.replyingToId=t.id,this.replyingToUsername=t.account.username,this.reply_to_profile_id=t.account.id;var a=t.account.local?"@"+t.account.username+" ":"@"+t.account.acct+" ";1==s&&(this.replyText=a),this.$refs.replyModal.show(),setTimeout((function(){i(".replyModalTextarea").focus()}),500)}}else this.redirect("/login?next="+encodeURIComponent(window.location.pathname))},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,i=this.replyText,o=this.config.uploader.max_caption_length;if(i.length>o)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+o+" characters or less.","error");axios.post("/i/comment",{item:a,comment:i,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},timeAgo:function(t){return App.util.format.timeAgo(t)},fetchComments:function(){var t=this;console.log("Fetching comments...");var e="/api/v2/comments/"+this.status.account.id+"/status/"+this.status.id;axios.get(e).then((function(e){t.replies=e.data.data,t.pagination=e.data.meta.pagination})).catch((function(t){if(t.response)if(401===t.response.status)i(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");else i(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.");else i(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}))},loadMoreComments:function(){var t=this;if(1!=this.pagination.total_pages&&this.pagination.current_page!=this.pagination.total_pages){i(".load-more-link").addClass("d-none"),i(".postCommentsLoader").removeClass("d-none");var e=this.pagination.links.next;axios.get(e).then((function(e){var s=e.data.data;i(".postCommentsLoader").addClass("d-none");for(var a=0;a{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuFollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;t.closeCtxMenu(),setTimeout((function(){swal("Follow successful!","You are now following "+s,"success")}),500)}))},ctxMenuUnfollow:function(){var t=this,e=this.ctxMenuStatus.account.id;axios.post("/i/follow",{item:e}).then((function(e){var s=t.ctxMenuStatus.account.acct;"home"==t.scope&&(t.feed=t.feed.filter((function(e){return e.account.id!=t.ctxMenuStatus.account.id}))),t.closeCtxMenu(),setTimeout((function(){swal("Unfollow successful!","You are no longer following "+s,"success")}),500)}))},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,o.closeModals(),o.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),o.closeModals(),o.ctxModMenuClose()}))}));break;case"remcw":i="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,o.closeModals(),o.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),o.closeModals(),o.ctxModMenuClose()}))}));break;case"unlist":i="Are you sure you want to unlist this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){a.feed=a.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":i="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=a("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},41441:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(20415),i=s(19755);const o={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":a.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at){"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20415),i=s(97622),o=s(19755);const n={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":a.default,"poll-card":i.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,a=t.account.username,i=document.createElement("a");switch(i.href=t.account.url,i=i.hostname,e){case"@":default:return a+'@'+i+"";case"from":return a+' from '+i+"";case"custom":return a+' '+s+" "+i+""}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=o("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,i=this.replyText,o=this.config.uploader.max_caption_length;if(i.length>o)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+o+" characters or less.","error");axios.post("/i/comment",{item:a,comment:i,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)},canFollow:function(t){return!!t.hasOwnProperty("relationship")&&(!(!t.hasOwnProperty("account")||!t.account.hasOwnProperty("id"))&&(t.account.id!=this.profile.id&&!t.relationship.following))},follow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!0,e.$emit("followed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))},unfollow:function(t){var e=this;event.currentTarget.blur(),axios.post("/i/follow",{item:t}).then((function(s){e.status.relationship.following=!1,e.$emit("unfollowed",t)})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}}}},274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},45354:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var a="forward";e.advancePage(a),e.$emit("navigation-click",a)}}}}},28314:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.target})},width:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.width)return this.status.media_attachments[0].meta.original.width},height:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.height)return this.status.media_attachments[0].meta.original.height}}}},45524:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},57602:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")},poster:function(){var t=this.status.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},97611:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=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)},i=[]},18433:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=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(s,a){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:s.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"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t")])]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.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:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t")])]):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:s.created_at}},[t._v(t._s(t.timeAgo(s.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)},i=[]},79953:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=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()])},i=[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,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=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(s,a){return e("div",{staticClass:"px-3 pt-3 text-center cursor-pointer",class:{seen:s.seen},on:{click:function(e){return t.showStory(a)}}},[e("span",{staticClass:"mb-1 ring",class:[s.seen?"not-seen":"",s.local?"":"remote"]},[e("img",{staticClass:"rounded-circle border",attrs:{src:s.avatar,width:"60",height:"60",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),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":s.seen},staticStyle:{"max-width":"69px"},attrs:{placement:"bottom",title:s.username}},[t._v("\n\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t")])])})),0)]):t._e()])},i=[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...")])])}]},80928:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",["feed"===t.currentLayout?e("div",{staticClass:"container"},[e("div",{staticClass:"row"},[1==t.morePostsAvailable?e("div",{staticClass:"col-12 mt-5 pt-3 mb-3 fixed-top"},[e("p",{staticClass:"text-center"},[e("button",{staticClass:"btn btn-dark px-4 rounded-pill font-weight-bold shadow",on:{click:t.syncNewPosts}},[t._v("Load New Posts")])])]):t._e(),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-8 px-0 mb-sm-3 timeline order-2 order-md-1"},[e("div",{staticStyle:{"margin-top":"-2px"}},[t.config.features.stories?e("story-component",{attrs:{scope:t.scope}}):t._e()],1),t._v(" "),e("div",{staticClass:"pt-4"},[t.loading?e("div",{staticClass:"text-center",staticStyle:{"padding-top":"10px"}},[t._m(0)]):t._e(),t._v(" "),t._l(t.feed,(function(s,a){return e("div",{key:"feed-".concat(a,"-").concat(s.id),attrs:{"data-status-id":s.id}},[1==a&&!t.loading&&t.showPromo?e("div",{},[e("div",{staticClass:"card rounded-0 shadow-none border border-top-0 py-5"},[e("div",{staticClass:"card-body p-5 my-5"},[e("h1",[t._v("A New Experience Awaits")]),t._v(" "),e("p",{staticClass:"lead"},[t._v("Try out an early release of our new design")]),t._v(" "),e("p",{staticClass:"mb-0 d-flex align-items-center"},[e("a",{staticClass:"btn btn-primary font-weight-bold py-1 px-4 rounded-pill mr-4",attrs:{href:"/i/web"}},[t._v("Try new UI")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"/"},on:{click:function(e){return e.preventDefault(),t.hidePromo()}}},[t._v("Hide")])])])])]):t._e(),t._v(" "),e("status-card",{class:{"border-top":0===a},attrs:{status:s,"reaction-bar":t.reactionBar,size:"small"},on:{"status-delete":t.deleteStatus,"comment-focus":t.commentFocus,followed:t.followedAccount,unfollowed:t.unfollowedAccount}})],1)})),t._v(" "),!t.loading&&t.feed.length?e("div",[e("div",{staticClass:"card rounded-0 border-top-0 status-card rounded-0 shadow-none border"},[e("div",{staticClass:"card-body py-5 my-5"},[e("infinite-loading",{attrs:{distance:800},on:{infinite:t.infiniteTimeline}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"},[t.recentFeed?e("div",[e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-check-circle fa-8x text-lighter"})]),t._v(" "),e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("You're All Caught Up!")]),t._v(" "),e("p",{staticClass:"text-center text-muted font-weight-light"},[t._v("You've seen all the new posts from the accounts you follow.")]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/?a=vop"}},[t._v("View Older Posts")])]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/"},on:{click:function(e){return e.preventDefault(),t.alwaysViewOlderPosts()}}},[t._v("Always show older posts on this device")])])]):e("div",[e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("You've reached the end of this feed")]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/discover"}},[t._v("Discover new posts and people")])])])]),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"},[t.recentFeed?e("div",[e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-check-circle fa-8x text-lighter"})]),t._v(" "),e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("You're All Caught Up!")]),t._v(" "),e("p",{staticClass:"text-center text-muted font-weight-light"},[t._v("You've seen all the new posts from the accounts you follow.")]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/?a=vop"}},[t._v("View Older Posts")])]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/"},on:{click:function(e){return e.preventDefault(),t.alwaysViewOlderPosts()}}},[t._v("Always show older posts on this device")])])]):e("div",[e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("You've reached the end of this feed")]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/discover"}},[t._v("Discover new posts and people")])])])])])],1)])]):t._e(),t._v(" "),t.loading||"home"!=t.scope||0!=t.feed.length?t._e():e("div",[e("div",{staticClass:"card rounded-0 mt-4 status-card rounded-0 shadow-none border"},["0"!=t.profile.following_count?e("div",{staticClass:"card-body py-5 my-5"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("You're All Caught Up!")]),t._v(" "),e("p",{staticClass:"text-center text-muted font-weight-light"},[t._v("You've seen all the new posts from the accounts you follow.")]),t._v(" "),t._m(2),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/"},on:{click:function(e){return e.preventDefault(),t.alwaysViewOlderPosts()}}},[t._v("Always show older posts on this device")])])]):e("div",{staticClass:"card-body py-5 my-5"},[t._m(3),t._v(" "),e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("Hello "+t._s(t.profile.username))]),t._v(" "),e("p",{staticClass:"text-center text-muted font-weight-light"},[t._v("Accounts you follow will appear in this feed.")]),t._v(" "),t._m(4),t._v(" "),e("hr"),t._v(" "),t._m(5)])])]),t._v(" "),!t.loading&&"home"==t.scope&&t.recentFeed&&t.discover_feed.length?e("div",{staticClass:"pt-3"},[t._m(6)]):t._e(),t._v(" "),t._l(t.discover_feed,(function(s,a){return!t.loading&&"home"==t.scope&&t.recentFeed&&t.discover_feed.length?e("div",{key:"discover_feed-".concat(a,"-").concat(s.id),attrs:{"data-status-id":s.id}},[e("status-card",{class:{"border-top":0===a},attrs:{status:s,recommended:!0}})],1):t._e()})),t._v(" "),!t.loading&&t.emptyFeed&&"home"!==t.scope?e("div",[t._m(7)]):t._e()],2)]),t._v(" "),e("div",{staticClass:"col-md-4 col-lg-4 my-4 order-1 order-md-2 d-none d-md-block"},[e("div",[e("div",{staticClass:"mb-4"},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.loading,expression:"!loading"}]},[e("div",{staticClass:"pb-2"},[e("div",{staticClass:"media d-flex align-items-center"},[e("a",{staticClass:"mr-3",attrs:{href:t.userStory?"/stories/"+t.profile.acct:t.profile.url}},[t.userStory?e("div",{staticClass:"has-story cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[e("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.profile.avatar,width:"64px",height:"64px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]):e("div",[e("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.profile.avatar,width:"64px",height:"64px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})])]),t._v(" "),e("div",{staticClass:"media-body d-flex justify-content-between word-break"},[e("div",[e("p",{staticClass:"mb-0 px-0 font-weight-bold"},[e("a",{staticClass:"text-dark",attrs:{href:t.profile.url}},[t._v(t._s(t.profile.username||"loading..."))])]),t._v(" "),e("p",{staticClass:"my-0 text-muted pb-0"},[t._v(t._s(t.profile.display_name||"loading..."))])]),t._v(" "),t._m(8)])])])]),t._v(" "),e("div",{staticClass:"card-footer bg-transparent border-0 pt-0 pb-1"},[e("div",{staticClass:"d-flex justify-content-between text-center"},[e("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.redirect(t.profile.url)}}},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("Posts")])]),t._v(" "),e("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.redirect(t.profile.url+"?md=followers")}}},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("Followers")])]),t._v(" "),e("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.redirect(t.profile.url+"?md=following")}}},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("Following")])])])])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:1==t.modes.notify&&!t.loading,expression:"modes.notify == true && !loading"}],staticClass:"mb-4"},[e("notification-card")],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:1==t.showSuggestions&&t.suggestions.length&&t.config.ab&&1==t.config.ab.rec,expression:"showSuggestions == true && suggestions.length && config.ab && config.ab.rec == true"}],staticClass:"mb-4"},[e("div",{staticClass:"card shadow-none border"},[e("div",{staticClass:"card-header bg-white d-flex align-items-center justify-content-between"},[e("a",{ref:"suggestionRefresh",staticClass:"small text-muted cursor-pointer",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshSuggestions.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-sync-alt"})]),t._v(" "),e("div",{staticClass:"small text-dark text-uppercase font-weight-bold"},[t._v("Suggestions")]),t._v(" "),e("div",{staticClass:"small text-muted cursor-pointer",on:{click:t.hideSuggestions}},[e("i",{staticClass:"fas fa-times"})])]),t._v(" "),e("div",{staticClass:"card-body pt-0"},t._l(t.suggestions,(function(s,a){return e("div",{staticClass:"media align-items-center mt-3"},[e("a",{attrs:{href:"/"+s.username}},[e("img",{staticClass:"rounded-circle mr-3",attrs:{src:s.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 font-weight-bold small"},[e("a",{staticClass:"text-decoration-none text-dark",attrs:{href:"/"+s.username}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v(t._s(s.message))])]),t._v(" "),e("a",{staticClass:"font-weight-bold small",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.expRecFollow(s.id,a)}}},[t._v("Follow")])])})),0)])]),t._v(" "),t._m(9)])])])]):t._e(),t._v(" "),t.replyStatus&&t.replyStatus.hasOwnProperty("id")?e("comment-card",{attrs:{status:t.replyStatus,profile:t.profile},on:{"current-layout":t.setCurrentLayout}}):t._e(),t._v(" "),e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"replyModal",attrs:{id:"ctx-reply-modal","hide-footer":"",centered:"",rounded:"","title-html":t.replyStatus.account?"Reply to "+t.replyStatus.account.username+"":"","title-tag":"p","title-class":"font-weight-bold text-muted",size:"md","body-class":"p-2 rounded"}},[e("div",[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control replyModalTextarea",attrs:{rows:"4"},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"border-top border-bottom my-2"},[e("ul",{staticClass:"nav align-items-center emoji-reactions",staticStyle:{"overflow-x":"scroll","flex-wrap":"unset"}},t._l(t.emoji,(function(s){return e("li",{staticClass:"nav-item",on:{click:function(e){return t.emojiReaction(t.status)}}},[t._v(t._s(s))])})),0)]),t._v(" "),e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("span",{staticClass:"pl-2 small text-muted font-weight-bold text-monospace"},[e("span",{class:[t.replyText.length>t.config.uploader.max_caption_length?"text-danger":"text-dark"]},[t._v(t._s(t.replyText.length>t.config.uploader.max_caption_length?t.config.uploader.max_caption_length-t.replyText.length:t.replyText.length))]),t._v("/"+t._s(t.config.uploader.max_caption_length)+"\n\t\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"custom-control custom-switch mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.replyNsfw,expression:"replyNsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"replyModalCWSwitch"},domProps:{checked:Array.isArray(t.replyNsfw)?t._i(t.replyNsfw,null)>-1:t.replyNsfw},on:{change:function(e){var s=t.replyNsfw,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.replyNsfw=s.concat([null])):o>-1&&(t.replyNsfw=s.slice(0,o).concat(s.slice(o+1)))}else t.replyNsfw=i}}}),t._v(" "),e("label",{class:[t.replyNsfw?"custom-control-label font-weight-bold text-dark":"custom-control-label text-lighter"],attrs:{for:"replyModalCWSwitch"}},[t._v("Mark as NSFW")])]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm py-2 px-4 lead text-uppercase font-weight-bold",attrs:{disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.commentSubmit(t.status,e)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(1==t.replySending?"POSTING":"POST")+"\n\t\t\t\t\t\t\t")])])])],1)]),t._v(" "),e("b-modal",{ref:"ctxStatusModal",attrs:{id:"ctx-status-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"xl","body-class":"list-group-flush p-0 m-0 rounded"}})],1)],1)},i=[function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-check-circle fa-8x text-lighter"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center mb-0"},[t("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/?a=vop"}},[this._v("View Older Posts")])])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-smile fa-8x text-lighter"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center mb-0"},[t("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/discover"}},[this._v("Discover new posts and people")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center pt-5"},[e("h1",[t._v("A New Experience Awaits")]),t._v(" "),e("p",{staticClass:"lead"},[t._v("Try out an early release of our new design")]),t._v(" "),e("p",{staticClass:"mb-0 d-flex align-items-center justify-content-center"},[e("a",{staticClass:"btn btn-primary font-weight-bold py-1 px-4 rounded-pill mr-4",attrs:{href:"/i/web"}},[t._v("Try new UI")])])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"h5 font-weight-bold py-3 d-flex justify-content-between align-items-center"},[e("span",[t._v("Suggested Posts")]),t._v(" "),e("a",{staticClass:"small font-weight-bold",attrs:{href:"/?a=vop"}},[t._v("Older Posts")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card rounded-0 mt-3 status-card rounded-0 shadow-none border"},[e("div",{staticClass:"card-body py-5 my-5"},[e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-battery-empty fa-8x text-lighter"})]),t._v(" "),e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("empty_timeline.jpg")]),t._v(" "),e("p",{staticClass:"text-center text-muted font-weight-light"},[t._v("We cannot find any posts for this timeline.")]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/discover"}},[t._v("Discover new posts and people")])])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"ml-2"},[e("a",{staticClass:"text-muted",attrs:{href:"/settings/home"}},[e("i",{staticClass:"fas fa-cog fa-lg"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("User Settings")])])])},function(){var t=this,e=t._self._c;return e("footer",[e("div",{staticClass:"container px-0 pb-5"},[e("p",{staticClass:"mb-2 small text-justify"},[e("a",{staticClass:"text-lighter pr-2",attrs:{href:"/site/about"}},[t._v("About")]),t._v(" "),e("a",{staticClass:"text-lighter pr-2",attrs:{href:"/site/help"}},[t._v("Help")]),t._v(" "),e("a",{staticClass:"text-lighter pr-2",attrs:{href:"/site/language"}},[t._v("Language")]),t._v(" "),e("a",{staticClass:"text-lighter pr-2",attrs:{href:"/discover/places"}},[t._v("Places")]),t._v(" "),e("a",{staticClass:"text-lighter pr-2",attrs:{href:"/site/privacy"}},[t._v("Privacy")]),t._v(" "),e("a",{staticClass:"text-lighter pr-2",attrs:{href:"/site/terms"}},[t._v("Terms")])]),t._v(" "),e("p",{staticClass:"mb-0 text-uppercase text-muted small"},[e("a",{staticClass:"text-lighter",attrs:{href:"https://pixelfed.org",rel:"noopener",title:"","data-toggle":"tooltip"}},[t._v("Powered by Pixelfed")])])])])}]},91684:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"container p-0 overflow-hidden"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 offset-md-3"},[e("div",{staticClass:"card shadow-none border",staticStyle:{height:"100vh"}},[e("div",{staticClass:"card-header d-flex justify-content-between align-items-center"},[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.commentNavigateBack(t.status.id)}}},[e("i",{staticClass:"fas fa-chevron-left fa-lg px-2"})]),t._v(" "),t._m(0),t._v(" "),t._m(1)]),t._v(" "),e("div",{staticClass:"card-body",staticStyle:{"overflow-y":"auto !important"}},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.status.account.avatar,width:"32px",height:"32px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"d-flex justify-content-between align-items-top mb-0",staticStyle:{"overflow-y":"hidden"}},[e("span",{staticClass:"mr-2",staticStyle:{"font-size":"13px"}},[e("a",{staticClass:"text-dark font-weight-bold mr-1 text-break",attrs:{href:t.profileUrl(t.status),title:t.status.account.username}},[t._v(t._s(t.trimCaption(t.status.account.username,15)))]),t._v(" "),e("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(t.status.content)}})])])])]),t._v(" "),e("hr"),t._v(" "),t._m(2),t._v(" "),e("div",{staticClass:"postCommentsContainer d-none"},[t.replies.length?e("p",{staticClass:"mb-1 text-center load-more-link my-4"},[e("a",{staticClass:"text-dark",attrs:{href:"#",title:"Load more comments"},on:{click:function(e){return e.preventDefault(),t.loadMoreComments.apply(null,arguments)}}},[e("svg",{staticClass:"bi bi-plus-circle",staticStyle:{"font-size":"2em"},attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M8 3.5a.5.5 0 01.5.5v4a.5.5 0 01-.5.5H4a.5.5 0 010-1h3.5V4a.5.5 0 01.5-.5z","clip-rule":"evenodd"}}),t._v(" "),e("path",{attrs:{"fill-rule":"evenodd",d:"M7.5 8a.5.5 0 01.5-.5h4a.5.5 0 010 1H8.5V12a.5.5 0 01-1 0V8z","clip-rule":"evenodd"}}),t._v(" "),e("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 108 1a7 7 0 000 14zm0 1A8 8 0 108 0a8 8 0 000 16z","clip-rule":"evenodd"}})])])]):t._e(),t._v(" "),t._l(t.replies,(function(s,a){return t.replies.length?e("div",{key:"tl"+s.id+"_"+a,staticClass:"pb-3 media"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:s.account.avatar,width:"32px",height:"32px"}}),t._v(" "),e("div",{staticClass:"media-body"},[1==s.sensitive?e("div",[e("span",{staticClass:"py-3"},[e("a",{staticClass:"text-dark font-weight-bold mr-3",staticStyle:{"font-size":"13px"},attrs:{href:t.profileUrl(s),title:s.account.username}},[t._v(t._s(t.trimCaption(s.account.username,15)))]),t._v(" "),e("span",{staticClass:"text-break",staticStyle:{"font-size":"13px"}},[e("span",{staticClass:"font-italic text-muted"},[t._v("This comment may contain sensitive material")]),t._v(" "),e("span",{staticClass:"text-primary cursor-pointer pl-1",on:{click:function(t){s.sensitive=!1}}},[t._v("Show")])])])]):e("div",[e("p",{staticClass:"d-flex justify-content-between align-items-top read-more mb-0",staticStyle:{"overflow-y":"hidden"}},[e("span",{staticClass:"mr-3",staticStyle:{"font-size":"13px"}},[e("a",{staticClass:"text-dark font-weight-bold mr-1 text-break",attrs:{href:t.profileUrl(s),title:s.account.username}},[t._v(t._s(t.trimCaption(s.account.username,15)))]),t._v(" "),e("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(s.content)}})]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"min-width":"30px"}},[e("span",{on:{click:function(e){return t.likeReply(s,e)}}},[e("i",{class:[s.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})]),t._v(" "),e("span",{staticClass:"pl-2 text-lighter cursor-pointer",on:{click:function(e){return t.ctxMenu(s)}}},[e("span",{staticClass:"fas fa-ellipsis-v text-lighter"})])])]),t._v(" "),e("p",{staticClass:"mb-0"},[t._o(e("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:t.statusUrl(s)},domProps:{textContent:t._s(t.timeAgo(s.created_at))}}),0,"tl"+s.id+"_"+a),t._v(" "),s.favourites_count?e("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3 small"},[t._v(t._s(1==s.favourites_count?"1 like":s.favourites_count+" likes"))]):t._e(),t._v(" "),e("span",{staticClass:"small text-muted comment-reaction font-weight-bold cursor-pointer",on:{click:function(e){return t.replyFocus(s,a,!0)}}},[t._v("Reply")])]),t._v(" "),s.reply_count>0?e("div",{staticClass:"cursor-pointer pb-2",on:{click:function(e){return t.toggleReplies(s)}}},[e("span",{staticClass:"show-reply-bar"}),t._v(" "),e("span",{staticClass:"comment-reaction small font-weight-bold"},[t._v(t._s(s.thread?"Hide":"View")+" Replies ("+t._s(s.reply_count)+")")])]):t._e(),t._v(" "),1==s.thread?e("div",{staticClass:"comment-thread"},t._l(s.replies,(function(s,i){return e("div",{key:"cr"+s.id+"_"+a,staticClass:"py-1 media"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:s.account.avatar,width:"25px",height:"25px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"d-flex justify-content-between align-items-top read-more mb-0",staticStyle:{"overflow-y":"hidden"}},[e("span",{staticClass:"mr-2",staticStyle:{"font-size":"13px"}},[e("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:t.profileUrl(s),title:s.account.username}},[t._v(t._s(s.account.username))]),t._v(" "),e("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(s.content)}})]),t._v(" "),e("span",[e("span",{on:{click:function(e){return t.likeReply(s,e)}}},[e("i",{class:[s.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})])])]),t._v(" "),e("p",{staticClass:"mb-0"},[t._o(e("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:t.statusUrl(s)},domProps:{textContent:t._s(t.timeAgo(s.created_at))}}),1,"cr"+s.id+"_"+a),t._v(" "),s.favourites_count?e("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3"},[t._v(t._s(1==s.favourites_count?"1 like":s.favourites_count+" likes"))]):t._e()])])])})),0):t._e()])])]):t._e()})),t._v(" "),t.replies.length?t._e():e("div",[e("p",{staticClass:"text-center text-muted font-weight-bold small"},[t._v("No comments yet")])])],2)]),t._v(" "),e("div",{staticClass:"card-footer mb-3"},[e("div",{staticClass:"align-middle d-flex"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.profile.avatar,width:"36",height:"36"}}),t._v(" "),e("textarea",{staticClass:"form-control rounded-pill",staticStyle:{resize:"none","overflow-y":"hidden"},attrs:{name:"comment",placeholder:"Add a comment…",autocomplete:"off",autocorrect:"off",rows:"1",maxlength:"0"},on:{click:function(e){return t.replyFocus(t.status)}}})])])])])])]),t._v(" "),e("context-menu",{ref:"cMenu",attrs:{status:t.ctxMenuStatus,profile:t.profile}}),t._v(" "),e("b-modal",{ref:"replyModal",attrs:{id:"ctx-reply-modal","hide-footer":"",centered:"",rounded:"","title-html":t.status.account?"Reply to "+t.status.account.username+"":"","title-tag":"p","title-class":"font-weight-bold text-muted",size:"md","body-class":"p-2 rounded"}},[e("div",[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control replyModalTextarea",attrs:{rows:"4"},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"border-top border-bottom my-2"},[e("ul",{staticClass:"nav align-items-center emoji-reactions",staticStyle:{"overflow-x":"scroll","flex-wrap":"unset"}},t._l(t.emoji,(function(s){return e("li",{staticClass:"nav-item",on:{click:function(e){return t.emojiReaction(t.status)}}},[t._v(t._s(s))])})),0)]),t._v(" "),e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("span",{staticClass:"pl-2 small text-muted font-weight-bold text-monospace"},[e("span",{class:[t.replyText.length>t.config.uploader.max_caption_length?"text-danger":"text-dark"]},[t._v(t._s(t.replyText.length>t.config.uploader.max_caption_length?t.config.uploader.max_caption_length-t.replyText.length:t.replyText.length))]),t._v("/"+t._s(t.config.uploader.max_caption_length)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"custom-control custom-switch mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.replyNsfw,expression:"replyNsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"replyModalCWSwitch"},domProps:{checked:Array.isArray(t.replyNsfw)?t._i(t.replyNsfw,null)>-1:t.replyNsfw},on:{change:function(e){var s=t.replyNsfw,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.replyNsfw=s.concat([null])):o>-1&&(t.replyNsfw=s.slice(0,o).concat(s.slice(o+1)))}else t.replyNsfw=i}}}),t._v(" "),e("label",{class:[t.replyNsfw?"custom-control-label font-weight-bold text-dark":"custom-control-label text-lighter"],attrs:{for:"replyModalCWSwitch"}},[t._v("Mark as NSFW")])]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm py-2 px-4 lead text-uppercase font-weight-bold",attrs:{disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.commentSubmit(t.status,e)}}},[t._v("\n\t\t\t\t\t\t"+t._s(1==t.replySending?"POSTING":"POST")+"\n\t\t\t\t\t")])])])],1)])],1)},i=[function(){var t=this._self._c;return t("div",[t("p",{staticClass:"font-weight-bold mb-0 h5"},[this._v("Comments")])])},function(){var t=this._self._c;return t("div",[t("i",{staticClass:"fas fa-cog fa-lg text-white"})])},function(){var t=this._self._c;return t("div",{staticClass:"postCommentsLoader text-center py-2"},[t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])])}]},61595:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},87440:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,a){return e("p",[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},15778:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?e("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[t.status.sensitive?e("details",[e("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),e("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):e("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?e("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[e("div",[e("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),e("div",{staticClass:"pl-2"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.status.place?e("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),t.canFollow(t.status)?e("div",[e("span",{staticClass:"px-2"}),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.follow(t.status.account.id)}}},[e("i",{staticClass:"far fa-user-plus mr-1"}),t._v(" Follow")])]):t._e(),t._v(" "),t.status.hasOwnProperty("relationship")&&t.status.relationship.hasOwnProperty("following")&&t.status.relationship.following?e("div",[e("span",{staticClass:"px-2"}),t._v(" "),e("button",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold py-1 px-3 rounded-lg",on:{click:function(e){return t.unfollow(t.status.account.id)}}},[e("i",{staticClass:"far fa-user-check mr-1"}),t._v(" Following")])]):t._e(),t._v(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?e("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[e("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[e("span",[e("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),e("div",{staticClass:"card-body"},[t.reactionBar?e("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?e("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):e("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():e("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?e("span",{staticClass:"float-right"},[e("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[e("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,s){return e("span",{staticClass:"mr-n2"},[e("a",{attrs:{href:"/"+t.username}},[e("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?e("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?e("div",{staticClass:"caption"},[t.status.sensitive?t._e():e("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[e("span",{staticClass:"username font-weight-bold"},[e("bdi",[e("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),e("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),e("div",{staticClass:"timestamp mt-2"},[e("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?e("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):e("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?e("span",[e("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},35594:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(s,a){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},i=[]},86072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\tSensitive Content\n\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status),title:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+t.status.id}},t._l(t.status.media_attachments,(function(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),title:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},65161:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},40711:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},i=[]},88699:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",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}})])])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},75312:(t,e,s)=>{Vue.component("notification-card",s(91500).default),Vue.component("photo-presenter",s(23251).default),Vue.component("video-presenter",s(53973).default),Vue.component("photo-album-presenter",s(33872).default),Vue.component("video-album-presenter",s(76644).default),Vue.component("mixed-album-presenter",s(57374).default),Vue.component("post-menu",s(4086).default),Vue.component("timeline",s(92883).default),Vue.component("announcements-card",s(35057).default),Vue.component("story-component",s(69141).default)},77833:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".fade-enter-active[data-v-267be4b0],.fade-leave-active[data-v-267be4b0]{transition:opacity .5s}.fade-enter[data-v-267be4b0],.fade-leave-to[data-v-267be4b0]{opacity:0}",""]);const o=i},35992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".text-lighter[data-v-1002e7e2]{color:#b8c2cc!important}.modal-body[data-v-1002e7e2]{padding:0}",""]);const o=i},4728:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".postPresenterContainer[data-v-03d53dca]{align-items:center;background:#fff;display:flex}.word-break[data-v-03d53dca]{word-break:break-all}.small .custom-control-label[data-v-03d53dca]{padding-top:3px}.reply-btn[disabled][data-v-03d53dca]{color:#3897f0;opacity:.3}.replyModalTextarea[data-v-03d53dca]{border:none;font-size:18px;outline:none;resize:none;white-space:pre-wrap}.has-story[data-v-03d53dca]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;height:64px;padding:2px;width:64px}.has-story img[data-v-03d53dca]{background:#fff;border-radius:50%;height:60px;padding:3px;width:60px}.has-story.has-story-sm[data-v-03d53dca]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;height:32px;padding:2px;width:32px}.has-story.has-story-sm img[data-v-03d53dca]{background:#fff;border-radius:50%;height:28px;padding:3px;width:28px}#ctx-reply-modal .form-control[data-v-03d53dca]:focus{border:none;box-shadow:none;outline:0}",""]);const o=i},42031:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".emoji-reactions .nav-item[data-v-006bdd8e]{cursor:pointer;font-size:1.2rem;padding:9px}.emoji-reactions[data-v-006bdd8e]::-webkit-scrollbar{background:transparent;height:0;width:0}",""]);const o=i},73548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-7ad1e2b6]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7ad1e2b6]{position:relative}.content-label[data-v-7ad1e2b6]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-7ad1e2b6]{position:relative}",""]);const o=i},97465:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-40ab6d65]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-40ab6d65]{position:relative}.content-label[data-v-40ab6d65]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const o=i},9650:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".content-label-wrapper[data-v-411d6f1a]{position:relative}.content-label[data-v-411d6f1a]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const o=i},96776:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card[data-v-c1448eda]{height:122px}.ring[data-v-c1448eda]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;display:block;height:66px;padding:3px;width:66px}.ring.remote[data-v-c1448eda]{background:radial-gradient(ellipse at 70% 70%,#f64f59 8%,#c471ed 42%,#12c2e9 58%)}.ring.not-seen[data-v-c1448eda]{background:#ccc;opacity:.55}.ring img[data-v-c1448eda]{background:#fff;padding:3px}.ring.new[data-v-c1448eda]{background:none;border:4px dashed #d92d77;height:70px;width:70px}.ring.new img[data-v-c1448eda]{height:56px;width:56px}.scrolly[data-v-c1448eda]{-ms-overflow-style:none;overflow-y:scroll;scrollbar-width:none}.scrolly[data-v-c1448eda]::-webkit-scrollbar{display:none}",""]);const o=i},20936:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const o=i},98634:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(77833),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},33174:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(35992),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},28620:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(4728),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},8784:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(42031),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},4236:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(73548),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},42678:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(97465),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},42194:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(9650),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},24926:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(96776),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},25308:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(20936),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},35057:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(51383),i=s(55958),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(50932);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"267be4b0",null).exports},91500:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(8821),i=s(99675),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"d472c80e",null).exports},4086:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(48517),i=s(23413),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(74386);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"1002e7e2",null).exports},69141:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(4726),i=s(27143),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(10803);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"c1448eda",null).exports},92883:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(58287),i=s(84930),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(24713);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"03d53dca",null).exports},37468:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(48883),i=s(59313),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(63603);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"006bdd8e",null).exports},20415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(64940),i=s(36072),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},97622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(93557),i=s(48046),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19210:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(11962),i=s(76329),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(66984);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57374:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(19399),i=s(57038),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},33872:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(15044),i=s(44484),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(67159);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"7ad1e2b6",null).exports},23251:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(54938),i=s(51485),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(22880);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"40ab6d65",null).exports},76644:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(75917),i=s(13938),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},53973:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(28348),i=s(79495),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(67406);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"411d6f1a",null).exports},55958:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(12447),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},99675:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(35045),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},23413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(49720),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},27143:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(91569),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84930:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(67969),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},59313:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(38024),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},36072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(96136),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},48046:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(41441),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},76329:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(69789),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},57038:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(274),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},44484:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(45354),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},51485:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(28314),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},13938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(45524),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},79495:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(57602),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},51383:(t,e,s)=>{"use strict";s.r(e);var a=s(97611),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},8821:(t,e,s)=>{"use strict";s.r(e);var a=s(18433),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48517:(t,e,s)=>{"use strict";s.r(e);var a=s(79953),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},4726:(t,e,s)=>{"use strict";s.r(e);var a=s(46973),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},58287:(t,e,s)=>{"use strict";s.r(e);var a=s(80928),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48883:(t,e,s)=>{"use strict";s.r(e);var a=s(91684),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},64940:(t,e,s)=>{"use strict";s.r(e);var a=s(61595),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},93557:(t,e,s)=>{"use strict";s.r(e);var a=s(87440),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11962:(t,e,s)=>{"use strict";s.r(e);var a=s(15778),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},19399:(t,e,s)=>{"use strict";s.r(e);var a=s(35594),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},15044:(t,e,s)=>{"use strict";s.r(e);var a=s(86072),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54938:(t,e,s)=>{"use strict";s.r(e);var a=s(65161),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},75917:(t,e,s)=>{"use strict";s.r(e);var a=s(40711),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},28348:(t,e,s)=>{"use strict";s.r(e);var a=s(88699),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},50932:(t,e,s)=>{"use strict";s.r(e);var a=s(98634),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},74386:(t,e,s)=>{"use strict";s.r(e);var a=s(33174),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},24713:(t,e,s)=>{"use strict";s.r(e);var a=s(28620),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},63603:(t,e,s)=>{"use strict";s.r(e);var a=s(8784),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67159:(t,e,s)=>{"use strict";s.r(e);var a=s(4236),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},22880:(t,e,s)=>{"use strict";s.r(e);var a=s(42678),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67406:(t,e,s)=>{"use strict";s.r(e);var a=s(42194),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},10803:(t,e,s)=>{"use strict";s.r(e);var a=s(24926),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},66984:(t,e,s)=>{"use strict";s.r(e);var a=s(25308),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)}},t=>{t.O(0,[8898],(()=>{return e=75312,t(t.s=e);var e}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[9089],{12447:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={data:function(){return{announcements:[],announcement:{},cursor:0,showNext:!0,showPrev:!1}},mounted:function(){this.fetchAnnouncements()},updated:function(){a('[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(s){t.announcements=s.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,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(19755);function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s5?t.complete():axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.notificationMaxId}}).then((function(s){if(s.data.length){var a,o=s.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=o.map((function(t){return t.id}));e.notificationMaxId=Math.min.apply(Math,i(n)),(a=e.notifications).push.apply(a,i(o)),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 s=t.data.filter((function(t){return!("share"==t.type||e.notificationMaxId>=t.id)}));if(s.length){var o,n=s.map((function(t){return t.id}));e.notificationMaxId=Math.max.apply(Math,i(n)),(o=e.notifications).unshift.apply(o,i(s));var r=new Audio("/static/beep.mp3");r.volume=.7,r.play(),a(".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,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={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"),a("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(t){t.sensitive=!0,a("#mt_pid_"+t.id).modal("hide")},moderatePost:function(t,e,s){var a=t.account.username;switch(e){case"autocw":var i="Are you sure you want to enforce CW for "+a+" ?";swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0});break;case"suspend":i="Are you sure you want to suspend the account of "+a+" ?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0})}},muteProfile:function(t){0!=a("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!=a("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(){a("#mt_pid_"+this.status.id).modal("hide")}}}},91569:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={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"}}}},67969:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>c});var a=s(15235),i=s(19210),o=s(37468),n=s(19755);function r(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return l(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s40&&(this.loading=!1,t.complete());var s=!1;switch(this.scope){case"home":s="/api/pixelfed/v1/timelines/home";break;case"local":s="/api/pixelfed/v1/timelines/public";break;case"network":s="/api/pixelfed/v1/timelines/network"}axios.get(s,{params:{max_id:this.max_id,limit:6,recent_feed:this.recentFeed}}).then((function(s){if(s.data.length&&0==e.loading){var a=s.data,i=e;if(i.recentFeed&&-1!=i.ids.indexOf(a[0].id))return e.loading=!1,void t.complete();a.forEach((function(t,e){-1==i.ids.indexOf(t.id)&&(i.feed.push(t),i.ids.push(t.id))})),e.min_id=Math.max.apply(Math,r(e.ids)).toString(),e.max_id=Math.min.apply(Math,r(e.ids)).toString(),e.page+=1,t.loaded(),e.loading=!1}else t.complete()})).catch((function(s){e.loading=!1,t.complete()}))}},redirect:function(t){window.location.href=t},expRec:function(){var t=this;0!=this.config.ab.rec&&axios.get("/api/local/exp/rec").then((function(e){t.suggestions=e.data}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},hideSuggestions:function(){localStorage.setItem("pf_metro_ui.exp.rec",!1),this.showSuggestions=!1},emojiReaction:function(t){var e=event.target.innerText;0==this.replyText.length?(this.replyText=e+" ",n('textarea[name="comment"]').focus()):(this.replyText+=e+" ",n('textarea[name="comment"]').focus())},refreshSuggestions:function(){},fetchHashtagPosts:function(){var t=this;axios.get("/api/local/discover/tag/list").then((function(e){var s=e.data;if(0!=s.length){var a=s[Math.floor(Math.random(),s.length)];t.hashtagPostsName=a,axios.get("/api/v2/discover/tag",{params:{hashtag:a}}).then((function(e){e.data.tags.length>3&&(t.showHashtagPosts=!0,t.hashtagPosts=e.data.tags.splice(0,9))}))}}))},commentFocus:function(t,e){t.comments_disabled||(this.status=t,this.replies={},this.replyStatus={},this.replyText="",this.replyId=t.id,this.replyStatus=t,this.fetchStatusComments(t,""),n("nav").hide(),n("footer").hide(),n(".mobile-footer-spacer").attr("style","display:none !important"),n(".mobile-footer").attr("style","display:none !important"),this.currentLayout="comments",window.history.pushState({},"",this.statusUrl(t)))},fetchStatusComments:function(t,e){var s=this,a="/api/v2/comments/"+t.account.id+"/status/"+t.id;axios.get(a).then((function(t){s.replies=_.reverse(t.data.data),s.pagination=t.data.meta.pagination,s.replies.length>0&&n(".load-more-link").removeClass("d-none"),n(".postCommentsLoader").addClass("d-none"),n(".postCommentsContainer").removeClass("d-none")})).catch((function(t){if(t.response)if(401===t.response.status)n(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");else n(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.");else n(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}))},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},formatCount:function(t){return App.util.format.count(t)},hasStory:function(){var t=this;axios.get("/api/web/stories/v1/exists/"+this.profile.id).then((function(e){t.userStory=e.data}))},rtw:function(){var t=this;this.mpPoller=setInterval((function(){var e=!1;switch(t.mpCount++,t.mpCount>10&&(t.mpInterval=3e4),t.mpCount>50&&(t.mpInterval=3e5),t.scope){case"home":e="/api/pixelfed/v1/timelines/home";break;case"local":e="/api/pixelfed/v1/timelines/public";break;case"network":e="/api/pixelfed/v1/timelines/network"}axios.get(e,{params:{max_id:0,limit:20,recent_feed:t.recentFeed}}).then((function(e){var s=t,a=t.feed.map((function(t){return t.id})),i=e.data.filter((function(t){return t.id>s.min_id&&-1==a.indexOf(t.id)})),o=i.map((function(t){return t.id}));Math.max.apply(Math,r(o)).toString()>t.min_id&&(t.morePostsAvailable=!0,t.mpData=i)}))}),this.mpInterval)},syncNewPosts:function(){var t,e=this.mpData,s=e.map((function(t){return t.id}));this.min_id=Math.max.apply(Math,r(s)).toString(),this.max_id=Math.min.apply(Math,r(s)).toString(),(t=this.feed).unshift.apply(t,r(e)),this.morePostsAvailable=!1,this.mpData=null},toggleReplies:function(t){if(t.thread)t.thread=!1;else{if(t.replies.length>0)return void(t.thread=!0);var e="/api/v2/comments/"+t.account.id+"/status/"+t.id;axios.get(e).then((function(e){t.replies=_.reverse(e.data.data),t.thread=!0}))}},replyFocus:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0!=n("body").hasClass("loggedIn")){if(!this.status.comments_disabled){this.replyToIndex=e,this.replyingToId=t.id,this.replyingToUsername=t.account.username,this.reply_to_profile_id=t.account.id;var a=t.account.local?"@"+t.account.username+" ":"@"+t.account.acct+" ";1==s&&(this.replyText=a),this.$refs.replyModal.show(),setTimeout((function(){n(".replyModalTextarea").focus()}),500)}}else this.redirect("/login?next="+encodeURIComponent(window.location.pathname))},alwaysViewOlderPosts:function(){window.localStorage.setItem("pf.feed:avop","always"),window.location.href="/"},setCurrentLayout:function(t){this.currentLayout=t},deleteStatus:function(t){this.feed=this.feed.filter((function(e){return e.id!=t}))},followedAccount:function(t){this.feed=this.feed.map((function(e){return e.account.id==t&&e.hasOwnProperty("relationship")&&0==e.relationship.following&&(e.relationship.following=!0),e}))},unfollowedAccount:function(t){this.feed=this.feed.map((function(e){return e.account.id==t&&e.hasOwnProperty("relationship")&&1==e.relationship.following&&(e.relationship.following=!1),e}))},hidePromo:function(){localStorage.setItem("pf_metro_ui.exp.spa"+(new Date).getMonth(),"false"),this.showPromo=!1}},beforeDestroy:function(){clearInterval(this.mpInterval)}}},38024:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(20415),i=s(19755);const o={props:{status:{type:Object},profile:{type:Object},backToStatus:{type:Boolean,default:!1}},components:{"context-menu":a.default},data:function(){return{ids:[],config:window.App.config,tributeSettings:{collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}}]},replies:[],replyId:null,replyText:"",replyNsfw:!1,replySending:!1,pagination:{},ctxMenuStatus:!1,emoji:window.App.util.emoji}},beforeMount:function(){this.fetchComments()},methods:{commentNavigateBack:function(t){if(this.backToStatus)window.location.href=this.statusUrl(this.status);else{i("nav").show(),i("footer").show(),i(".mobile-footer-spacer").attr("style","display:block"),i(".mobile-footer").attr("style","display:block"),this.$emit("current-layout","feed");window.history.pushState({},"","/")}},trimCaption:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60;return _.truncate(t,{length:e})},replyFocus:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0!=i("body").hasClass("loggedIn")){if(!this.status.comments_disabled){this.replyToIndex=e,this.replyingToId=t.id,this.replyingToUsername=t.account.username,this.reply_to_profile_id=t.account.id;var a=t.account.local?"@"+t.account.username+" ":"@"+t.account.acct+" ";1==s&&(this.replyText=a),this.$refs.replyModal.show(),setTimeout((function(){i(".replyModalTextarea").focus()}),500)}}else this.redirect("/login?next="+encodeURIComponent(window.location.pathname))},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,i=this.replyText,o=this.config.uploader.max_caption_length;if(i.length>o)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+o+" characters or less.","error");axios.post("/i/comment",{item:a,comment:i,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},timeAgo:function(t){return App.util.format.timeAgo(t)},fetchComments:function(){var t=this;console.log("Fetching comments...");var e="/api/v2/comments/"+this.status.account.id+"/status/"+this.status.id;axios.get(e).then((function(e){t.replies=e.data.data,t.pagination=e.data.meta.pagination})).catch((function(t){if(t.response)if(401===t.response.status)i(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("Please login to view.");else i(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.");else i(".postCommentsLoader .lds-ring").attr("style","width:100%").addClass("pt-4 font-weight-bold text-muted").text("An error occurred, cannot fetch comments. Please try again later.")}))},loadMoreComments:function(){var t=this;if(1!=this.pagination.total_pages&&this.pagination.current_page!=this.pagination.total_pages){i(".load-more-link").addClass("d-none"),i(".postCommentsLoader").removeClass("d-none");var e=this.pagination.links.next;axios.get(e).then((function(e){var s=e.data.data;i(".postCommentsLoader").addClass("d-none");for(var a=0;a{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19755);const i={props:["status","profile"],data:function(){return{ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},ctxMenu:function(){var t=this;this.ctxMenuStatus=this.status,this.ctxEmbedPayload=window.App.util.embed.post(this.status.url),this.status.account.id==this.profile.id?(this.ctxMenuRelationship=!1,this.$refs.ctxModal.show()):axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.status.account.id}}).then((function(e){t.ctxMenuRelationship=e.data[0],t.$refs.ctxModal.show()}))},closeCtxMenu:function(){this.copiedEmbed=!1,this.ctxMenuStatus=!1,this.ctxMenuRelationship=!1,this.$refs.ctxModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.closeModals()},ctxMenuCopyLink:function(){var t=this.ctxMenuStatus;navigator.clipboard.writeText(t.url),this.closeModals()},ctxMenuGoToPost:function(){var t=this.ctxMenuStatus;window.location.href=this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;window.location.href=this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:"Confirm Report",text:"Are you sure you want to report this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){swal("Oops!","There was an issue reporting this post.","error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal("Error","Something went wrong. Please try again later.","error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i="Are you sure you want to add a content warning to this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!0,o.closeModals(),o.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),o.closeModals(),o.ctxModMenuClose()}))}));break;case"remcw":i="Are you sure you want to remove the content warning on this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){swal("Success","Successfully added content warning","success"),t.sensitive=!1,o.closeModals(),o.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),o.closeModals(),o.ctxModMenuClose()}))}));break;case"unlist":i="Are you sure you want to unlist this post?",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(e){a.feed=a.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":i="Are you sure you want to mark this user as a spammer? All existing and future posts will be unlisted on timelines and a content warning will be applied.",swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal("Success","Successfully marked account as spammer","success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}))}},shareStatus:function(t,e){0!=a("body").hasClass("loggedIn")&&(this.closeModals(),axios.post("/i/share",{item:t.id}).then((function(e){t.reblogs_count=e.data.count,t.reblogged=!t.reblogged,t.reblogged?swal("Success","You shared this post","success"):swal("Success","You unshared this post","success")})).catch((function(t){swal("Error","Something went wrong, please try again later.","error")})))},statusUrl:function(t){return 1==t.account.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.account.local?t.account.url:"/i/web/profile/_/"+t.account.id},deletePost:function(t){var e=this;0!=a("body").hasClass("loggedIn")&&0!=this.ownerOrAdmin(t)&&0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/i/delete",{type:"status",item:t.id}).then((function(s){e.$emit("status-delete",t.id),e.closeModals()})).catch((function(t){swal("Error","Something went wrong. Please try again later.","error")}))},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},archivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to archive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/archive").then((function(s){e.$emit("status-delete",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm("Are you sure you want to unarchive this post?")&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(t){e.closeModals()}))}}}},41441:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(20415),i=s(19755);const o={props:{reactions:{type:Object},status:{type:Object},profile:{type:Object},showBorder:{type:Boolean,default:!0},showBorderTop:{type:Boolean,default:!1},fetchState:{type:Boolean,default:!1}},components:{"context-menu":a.default},data:function(){return{authenticated:!1,tab:"vote",selectedIndex:null,refreshTimeout:void 0,activeRefreshTimeout:!1,refreshingResults:!1}},mounted:function(){var t=this;this.fetchState?axios.get("/api/v1/polls/"+this.status.poll.id).then((function(e){t.status.poll=e.data,e.data.voted&&(t.selectedIndex=e.data.own_votes[0],t.tab="voted"),t.status.poll.expired=new Date(t.status.poll.expires_at){"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20415),i=s(97622),o=s(19755);const n={props:{status:{type:Object},recommended:{type:Boolean,default:!1},reactionBar:{type:Boolean,default:!0},hasTopBorder:{type:Boolean,default:!1},size:{type:String,validator:function(t){return["regular","small"].includes(t)},default:"regular"}},components:{"context-menu":a.default,"poll-card":i.default},data:function(){return{config:window.App.config,profile:{},loading:!0,replies:[],replyId:null,lightboxMedia:!1,showSuggestions:!0,showReadMore:!0,replyStatus:{},replyText:"",replyNsfw:!1,emoji:window.App.util.emoji,content:void 0}},mounted:function(){var t=this;this.profile=window._sharedData.curUser,this.content=this.status.content,this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id},profileUrl:function(t){return 1==t.local?t.account.url:"/i/web/profile/_/"+t.account.id},timestampFormat:function(t){var e=new Date(t);return e.toDateString()+" "+e.toLocaleTimeString()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},statusCardUsernameFormat:function(t){if(1==t.account.local)return t.account.username;var e=window.App.config.username.remote.format,s=window.App.config.username.remote.custom,a=t.account.username,i=document.createElement("a");switch(i.href=t.account.url,i=i.hostname,e){case"@":default:return a+'@'+i+"";case"from":return a+' from '+i+"";case"custom":return a+' '+s+" "+i+""}},lightbox:function(t){window.location.href=t.media_attachments[0].url},labelRedirect:function(t){var e="/i/redirect?url="+encodeURI(this.config.features.label.covid.url);window.location.href=e},likeStatus:function(t,e){if(0!=o("body").hasClass("loggedIn")){var s=t.favourites_count;t.favourited=!t.favourited,axios.post("/i/like",{item:t.id}).then((function(e){t.favourites_count=e.data.count,t.favourited=!!t.favourited})).catch((function(e){t.favourited=!!t.favourited,t.favourites_count=s,swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200),t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)}},commentFocus:function(t,e){this.$emit("comment-focus",t)},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,i=this.replyText,o=this.config.uploader.max_caption_length;if(i.length>o)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+o+" characters or less.","error");axios.post("/i/comment",{item:a,comment:i,sensitive:this.replyNsfw}).then((function(t){s.replyText="",s.replies.push(t.data.entity),s.$refs.replyModal.hide()})),this.replySending=!1},owner:function(t){return this.profile.id===t.account.id},admin:function(){return 1==this.profile.is_admin},ownerOrAdmin:function(t){return this.owner(t)||this.admin()},ctxMenu:function(){this.$refs.contextMenu.open()},timeAgo:function(t){return App.util.format.timeAgo(t)},statusDeleted:function(t){this.$emit("status-delete",t)}}}},274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},45354:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(t){var e=t.description;return e||"Photo was not tagged with any alt text."},keypressNavigation:function(t){var e=this.$refs.carousel;if("37"==t.keyCode){t.preventDefault();var s="backward";e.advancePage(s),e.$emit("navigation-click",s)}if("39"==t.keyCode){t.preventDefault();var a="forward";e.advancePage(a),e.$emit("navigation-click",a)}}}}},28314:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(99347);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Photo was not tagged with any alt text."},toggleContentWarning:function(t){this.$emit("togglecw")},toggleLightbox:function(t){(0,a.default)({el:t.target})},width:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.width)return this.status.media_attachments[0].meta.original.width},height:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.height)return this.status.media_attachments[0].meta.original.height}}}},45524:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},57602:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"],methods:{altText:function(t){var e=t.media_attachments[0].description;return e||"Video was not tagged with any alt text."},playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())},toggleContentWarning:function(t){this.$emit("togglecw")},poster:function(){var t=this.status.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},97611:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=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)},i=[]},18433:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=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(s,a){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:s.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"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t")])]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.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:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t")])]):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:s.created_at}},[t._v(t._s(t.timeAgo(s.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)},i=[]},79953:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=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()])},i=[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,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=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(s,a){return e("div",{staticClass:"px-3 pt-3 text-center cursor-pointer",class:{seen:s.seen},on:{click:function(e){return t.showStory(a)}}},[e("span",{staticClass:"mb-1 ring",class:[s.seen?"not-seen":"",s.local?"":"remote"]},[e("img",{staticClass:"rounded-circle border",attrs:{src:s.avatar,width:"60",height:"60",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),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":s.seen},staticStyle:{"max-width":"69px"},attrs:{placement:"bottom",title:s.username}},[t._v("\n\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t")])])})),0)]):t._e()])},i=[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...")])])}]},80580:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",["feed"===t.currentLayout?e("div",{staticClass:"container"},[e("div",{staticClass:"row"},[1==t.morePostsAvailable?e("div",{staticClass:"col-12 mt-5 pt-3 mb-3 fixed-top"},[e("p",{staticClass:"text-center"},[e("button",{staticClass:"btn btn-dark px-4 rounded-pill font-weight-bold shadow",on:{click:t.syncNewPosts}},[t._v("Load New Posts")])])]):t._e(),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-8 px-0 mb-sm-3 timeline order-2 order-md-1"},[e("div",{staticStyle:{"margin-top":"-2px"}},[t.config.features.stories?e("story-component",{attrs:{scope:t.scope}}):t._e()],1),t._v(" "),e("div",{staticClass:"pt-4"},[t.loading?e("div",{staticClass:"text-center",staticStyle:{"padding-top":"10px"}},[t._m(0)]):t._e(),t._v(" "),t._l(t.feed,(function(s,a){return e("div",{key:"feed-".concat(a,"-").concat(s.id),attrs:{"data-status-id":s.id}},[1==a&&!t.loading&&t.showPromo?e("div",{},[e("div",{staticClass:"card rounded-0 shadow-none border border-top-0 py-5"},[e("div",{staticClass:"card-body p-5 my-5"},[e("h1",[t._v("A New Experience Awaits")]),t._v(" "),e("p",{staticClass:"lead"},[t._v("Try out an early release of our new design")]),t._v(" "),e("p",{staticClass:"mb-0 d-flex align-items-center"},[e("a",{staticClass:"btn btn-primary font-weight-bold py-1 px-4 rounded-pill mr-4",attrs:{href:"/i/web"}},[t._v("Try new UI")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"/"},on:{click:function(e){return e.preventDefault(),t.hidePromo()}}},[t._v("Hide")])])])])]):t._e(),t._v(" "),e("status-card",{class:{"border-top":0===a},attrs:{status:s,"reaction-bar":t.reactionBar,size:"small"},on:{"status-delete":t.deleteStatus,"comment-focus":t.commentFocus,followed:t.followedAccount,unfollowed:t.unfollowedAccount}})],1)})),t._v(" "),!t.loading&&t.feed.length?e("div",[e("div",{staticClass:"card rounded-0 border-top-0 status-card rounded-0 shadow-none border"},[e("div",{staticClass:"card-body py-5 my-5"},[e("infinite-loading",{attrs:{distance:800},on:{infinite:t.infiniteTimeline}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"},[t.recentFeed?e("div",[e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-check-circle fa-8x text-lighter"})]),t._v(" "),e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("You're All Caught Up!")]),t._v(" "),e("p",{staticClass:"text-center text-muted font-weight-light"},[t._v("You've seen all the new posts from the accounts you follow.")]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/?a=vop"}},[t._v("View Older Posts")])]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/"},on:{click:function(e){return e.preventDefault(),t.alwaysViewOlderPosts()}}},[t._v("Always show older posts on this device")])])]):e("div",[e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("You've reached the end of this feed")]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/discover"}},[t._v("Discover new posts and people")])])])]),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"},[t.recentFeed?e("div",[e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-check-circle fa-8x text-lighter"})]),t._v(" "),e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("You're All Caught Up!")]),t._v(" "),e("p",{staticClass:"text-center text-muted font-weight-light"},[t._v("You've seen all the new posts from the accounts you follow.")]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/?a=vop"}},[t._v("View Older Posts")])]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/"},on:{click:function(e){return e.preventDefault(),t.alwaysViewOlderPosts()}}},[t._v("Always show older posts on this device")])])]):e("div",[e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("You've reached the end of this feed")]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/discover"}},[t._v("Discover new posts and people")])])])])])],1)])]):t._e(),t._v(" "),t.loading||"home"!=t.scope||0!=t.feed.length?t._e():e("div",[e("div",{staticClass:"card rounded-0 mt-4 status-card rounded-0 shadow-none border"},["0"!=t.profile.following_count?e("div",{staticClass:"card-body py-5 my-5"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("You're All Caught Up!")]),t._v(" "),e("p",{staticClass:"text-center text-muted font-weight-light"},[t._v("You've seen all the new posts from the accounts you follow.")]),t._v(" "),t._m(2),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/"},on:{click:function(e){return e.preventDefault(),t.alwaysViewOlderPosts()}}},[t._v("Always show older posts on this device")])])]):e("div",{staticClass:"card-body py-5 my-5"},[t._m(3),t._v(" "),e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("Hello "+t._s(t.profile.username))]),t._v(" "),e("p",{staticClass:"text-center text-muted font-weight-light"},[t._v("Accounts you follow will appear in this feed.")]),t._v(" "),t._m(4),t._v(" "),e("hr"),t._v(" "),t._m(5)])])]),t._v(" "),!t.loading&&"home"==t.scope&&t.recentFeed&&t.discover_feed.length?e("div",{staticClass:"pt-3"},[t._m(6)]):t._e(),t._v(" "),t._l(t.discover_feed,(function(s,a){return!t.loading&&"home"==t.scope&&t.recentFeed&&t.discover_feed.length?e("div",{key:"discover_feed-".concat(a,"-").concat(s.id),attrs:{"data-status-id":s.id}},[e("status-card",{class:{"border-top":0===a},attrs:{status:s,recommended:!0}})],1):t._e()})),t._v(" "),!t.loading&&t.emptyFeed&&"home"!==t.scope?e("div",[t._m(7)]):t._e()],2)]),t._v(" "),e("div",{staticClass:"col-md-4 col-lg-4 my-4 order-1 order-md-2 d-none d-md-block"},[e("div",[e("div",{staticClass:"mb-4"},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.loading,expression:"!loading"}]},[e("div",{staticClass:"pb-2"},[e("div",{staticClass:"media d-flex align-items-center"},[e("a",{staticClass:"mr-3",attrs:{href:t.userStory?"/stories/"+t.profile.acct:t.profile.url}},[t.userStory?e("div",{staticClass:"has-story cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[e("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.profile.avatar,width:"64px",height:"64px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]):e("div",[e("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.profile.avatar,width:"64px",height:"64px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})])]),t._v(" "),e("div",{staticClass:"media-body d-flex justify-content-between word-break"},[e("div",[e("p",{staticClass:"mb-0 px-0 font-weight-bold"},[e("a",{staticClass:"text-dark",attrs:{href:t.profile.url}},[t._v(t._s(t.profile.username||"loading..."))])]),t._v(" "),e("p",{staticClass:"my-0 text-muted pb-0"},[t._v(t._s(t.profile.display_name||"loading..."))])]),t._v(" "),t._m(8)])])])]),t._v(" "),e("div",{staticClass:"card-footer bg-transparent border-0 pt-0 pb-1"},[e("div",{staticClass:"d-flex justify-content-between text-center"},[e("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.redirect(t.profile.url)}}},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("Posts")])]),t._v(" "),e("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.redirect(t.profile.url+"?md=followers")}}},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("Followers")])]),t._v(" "),e("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.redirect(t.profile.url+"?md=following")}}},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v("Following")])])])])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:1==t.modes.notify&&!t.loading,expression:"modes.notify == true && !loading"}],staticClass:"mb-4"},[e("notification-card")],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:1==t.showSuggestions&&t.suggestions.length&&t.config.ab&&1==t.config.ab.rec,expression:"showSuggestions == true && suggestions.length && config.ab && config.ab.rec == true"}],staticClass:"mb-4"},[e("div",{staticClass:"card shadow-none border"},[e("div",{staticClass:"card-header bg-white d-flex align-items-center justify-content-between"},[e("a",{ref:"suggestionRefresh",staticClass:"small text-muted cursor-pointer",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshSuggestions.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-sync-alt"})]),t._v(" "),e("div",{staticClass:"small text-dark text-uppercase font-weight-bold"},[t._v("Suggestions")]),t._v(" "),e("div",{staticClass:"small text-muted cursor-pointer",on:{click:t.hideSuggestions}},[e("i",{staticClass:"fas fa-times"})])]),t._v(" "),e("div",{staticClass:"card-body pt-0"},t._l(t.suggestions,(function(s,a){return e("div",{staticClass:"media align-items-center mt-3"},[e("a",{attrs:{href:"/"+s.username}},[e("img",{staticClass:"rounded-circle mr-3",attrs:{src:s.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 font-weight-bold small"},[e("a",{staticClass:"text-decoration-none text-dark",attrs:{href:"/"+s.username}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("p",{staticClass:"mb-0 small text-muted"},[t._v(t._s(s.message))])])])})),0)])]),t._v(" "),t._m(9)])])])]):t._e(),t._v(" "),t.replyStatus&&t.replyStatus.hasOwnProperty("id")?e("comment-card",{attrs:{status:t.replyStatus,profile:t.profile},on:{"current-layout":t.setCurrentLayout}}):t._e(),t._v(" "),e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"replyModal",attrs:{id:"ctx-reply-modal","hide-footer":"",centered:"",rounded:"","title-html":t.replyStatus.account?"Reply to "+t.replyStatus.account.username+"":"","title-tag":"p","title-class":"font-weight-bold text-muted",size:"md","body-class":"p-2 rounded"}},[e("div",[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control replyModalTextarea",attrs:{rows:"4"},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"border-top border-bottom my-2"},[e("ul",{staticClass:"nav align-items-center emoji-reactions",staticStyle:{"overflow-x":"scroll","flex-wrap":"unset"}},t._l(t.emoji,(function(s){return e("li",{staticClass:"nav-item",on:{click:function(e){return t.emojiReaction(t.status)}}},[t._v(t._s(s))])})),0)]),t._v(" "),e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("span",{staticClass:"pl-2 small text-muted font-weight-bold text-monospace"},[e("span",{class:[t.replyText.length>t.config.uploader.max_caption_length?"text-danger":"text-dark"]},[t._v(t._s(t.replyText.length>t.config.uploader.max_caption_length?t.config.uploader.max_caption_length-t.replyText.length:t.replyText.length))]),t._v("/"+t._s(t.config.uploader.max_caption_length)+"\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"custom-control custom-switch mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.replyNsfw,expression:"replyNsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"replyModalCWSwitch"},domProps:{checked:Array.isArray(t.replyNsfw)?t._i(t.replyNsfw,null)>-1:t.replyNsfw},on:{change:function(e){var s=t.replyNsfw,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.replyNsfw=s.concat([null])):o>-1&&(t.replyNsfw=s.slice(0,o).concat(s.slice(o+1)))}else t.replyNsfw=i}}}),t._v(" "),e("label",{class:[t.replyNsfw?"custom-control-label font-weight-bold text-dark":"custom-control-label text-lighter"],attrs:{for:"replyModalCWSwitch"}},[t._v("Mark as NSFW")])]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm py-2 px-4 lead text-uppercase font-weight-bold",attrs:{disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.commentSubmit(t.status,e)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(1==t.replySending?"POSTING":"POST")+"\n\t\t\t\t\t\t")])])])],1)]),t._v(" "),e("b-modal",{ref:"ctxStatusModal",attrs:{id:"ctx-status-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"xl","body-class":"list-group-flush p-0 m-0 rounded"}})],1)],1)},i=[function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-check-circle fa-8x text-lighter"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center mb-0"},[t("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/?a=vop"}},[this._v("View Older Posts")])])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-smile fa-8x text-lighter"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center mb-0"},[t("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/discover"}},[this._v("Discover new posts and people")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center pt-5"},[e("h1",[t._v("A New Experience Awaits")]),t._v(" "),e("p",{staticClass:"lead"},[t._v("Try out an early release of our new design")]),t._v(" "),e("p",{staticClass:"mb-0 d-flex align-items-center justify-content-center"},[e("a",{staticClass:"btn btn-primary font-weight-bold py-1 px-4 rounded-pill mr-4",attrs:{href:"/i/web"}},[t._v("Try new UI")])])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"h5 font-weight-bold py-3 d-flex justify-content-between align-items-center"},[e("span",[t._v("Suggested Posts")]),t._v(" "),e("a",{staticClass:"small font-weight-bold",attrs:{href:"/?a=vop"}},[t._v("Older Posts")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card rounded-0 mt-3 status-card rounded-0 shadow-none border"},[e("div",{staticClass:"card-body py-5 my-5"},[e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-battery-empty fa-8x text-lighter"})]),t._v(" "),e("p",{staticClass:"text-center h3 font-weight-light"},[t._v("empty_timeline.jpg")]),t._v(" "),e("p",{staticClass:"text-center text-muted font-weight-light"},[t._v("We cannot find any posts for this timeline.")]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-link font-weight-bold px-4",attrs:{href:"/discover"}},[t._v("Discover new posts and people")])])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"ml-2"},[e("a",{staticClass:"text-muted",attrs:{href:"/settings/home"}},[e("i",{staticClass:"fas fa-cog fa-lg"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("User Settings")])])])},function(){var t=this,e=t._self._c;return e("footer",[e("div",{staticClass:"container px-0 pb-5"},[e("p",{staticClass:"mb-2 small text-justify"},[e("a",{staticClass:"text-lighter pr-2",attrs:{href:"/site/about"}},[t._v("About")]),t._v(" "),e("a",{staticClass:"text-lighter pr-2",attrs:{href:"/site/help"}},[t._v("Help")]),t._v(" "),e("a",{staticClass:"text-lighter pr-2",attrs:{href:"/site/language"}},[t._v("Language")]),t._v(" "),e("a",{staticClass:"text-lighter pr-2",attrs:{href:"/discover/places"}},[t._v("Places")]),t._v(" "),e("a",{staticClass:"text-lighter pr-2",attrs:{href:"/site/privacy"}},[t._v("Privacy")]),t._v(" "),e("a",{staticClass:"text-lighter pr-2",attrs:{href:"/site/terms"}},[t._v("Terms")])]),t._v(" "),e("p",{staticClass:"mb-0 text-uppercase text-muted small"},[e("a",{staticClass:"text-lighter",attrs:{href:"https://pixelfed.org",rel:"noopener",title:"","data-toggle":"tooltip"}},[t._v("Powered by Pixelfed")])])])])}]},91684:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"container p-0 overflow-hidden"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 offset-md-3"},[e("div",{staticClass:"card shadow-none border",staticStyle:{height:"100vh"}},[e("div",{staticClass:"card-header d-flex justify-content-between align-items-center"},[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.commentNavigateBack(t.status.id)}}},[e("i",{staticClass:"fas fa-chevron-left fa-lg px-2"})]),t._v(" "),t._m(0),t._v(" "),t._m(1)]),t._v(" "),e("div",{staticClass:"card-body",staticStyle:{"overflow-y":"auto !important"}},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.status.account.avatar,width:"32px",height:"32px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"d-flex justify-content-between align-items-top mb-0",staticStyle:{"overflow-y":"hidden"}},[e("span",{staticClass:"mr-2",staticStyle:{"font-size":"13px"}},[e("a",{staticClass:"text-dark font-weight-bold mr-1 text-break",attrs:{href:t.profileUrl(t.status),title:t.status.account.username}},[t._v(t._s(t.trimCaption(t.status.account.username,15)))]),t._v(" "),e("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(t.status.content)}})])])])]),t._v(" "),e("hr"),t._v(" "),t._m(2),t._v(" "),e("div",{staticClass:"postCommentsContainer d-none"},[t.replies.length?e("p",{staticClass:"mb-1 text-center load-more-link my-4"},[e("a",{staticClass:"text-dark",attrs:{href:"#",title:"Load more comments"},on:{click:function(e){return e.preventDefault(),t.loadMoreComments.apply(null,arguments)}}},[e("svg",{staticClass:"bi bi-plus-circle",staticStyle:{"font-size":"2em"},attrs:{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd",d:"M8 3.5a.5.5 0 01.5.5v4a.5.5 0 01-.5.5H4a.5.5 0 010-1h3.5V4a.5.5 0 01.5-.5z","clip-rule":"evenodd"}}),t._v(" "),e("path",{attrs:{"fill-rule":"evenodd",d:"M7.5 8a.5.5 0 01.5-.5h4a.5.5 0 010 1H8.5V12a.5.5 0 01-1 0V8z","clip-rule":"evenodd"}}),t._v(" "),e("path",{attrs:{"fill-rule":"evenodd",d:"M8 15A7 7 0 108 1a7 7 0 000 14zm0 1A8 8 0 108 0a8 8 0 000 16z","clip-rule":"evenodd"}})])])]):t._e(),t._v(" "),t._l(t.replies,(function(s,a){return t.replies.length?e("div",{key:"tl"+s.id+"_"+a,staticClass:"pb-3 media"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:s.account.avatar,width:"32px",height:"32px"}}),t._v(" "),e("div",{staticClass:"media-body"},[1==s.sensitive?e("div",[e("span",{staticClass:"py-3"},[e("a",{staticClass:"text-dark font-weight-bold mr-3",staticStyle:{"font-size":"13px"},attrs:{href:t.profileUrl(s),title:s.account.username}},[t._v(t._s(t.trimCaption(s.account.username,15)))]),t._v(" "),e("span",{staticClass:"text-break",staticStyle:{"font-size":"13px"}},[e("span",{staticClass:"font-italic text-muted"},[t._v("This comment may contain sensitive material")]),t._v(" "),e("span",{staticClass:"text-primary cursor-pointer pl-1",on:{click:function(t){s.sensitive=!1}}},[t._v("Show")])])])]):e("div",[e("p",{staticClass:"d-flex justify-content-between align-items-top read-more mb-0",staticStyle:{"overflow-y":"hidden"}},[e("span",{staticClass:"mr-3",staticStyle:{"font-size":"13px"}},[e("a",{staticClass:"text-dark font-weight-bold mr-1 text-break",attrs:{href:t.profileUrl(s),title:s.account.username}},[t._v(t._s(t.trimCaption(s.account.username,15)))]),t._v(" "),e("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(s.content)}})]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"min-width":"30px"}},[e("span",{on:{click:function(e){return t.likeReply(s,e)}}},[e("i",{class:[s.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})]),t._v(" "),e("span",{staticClass:"pl-2 text-lighter cursor-pointer",on:{click:function(e){return t.ctxMenu(s)}}},[e("span",{staticClass:"fas fa-ellipsis-v text-lighter"})])])]),t._v(" "),e("p",{staticClass:"mb-0"},[t._o(e("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:t.statusUrl(s)},domProps:{textContent:t._s(t.timeAgo(s.created_at))}}),0,"tl"+s.id+"_"+a),t._v(" "),s.favourites_count?e("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3 small"},[t._v(t._s(1==s.favourites_count?"1 like":s.favourites_count+" likes"))]):t._e(),t._v(" "),e("span",{staticClass:"small text-muted comment-reaction font-weight-bold cursor-pointer",on:{click:function(e){return t.replyFocus(s,a,!0)}}},[t._v("Reply")])]),t._v(" "),s.reply_count>0?e("div",{staticClass:"cursor-pointer pb-2",on:{click:function(e){return t.toggleReplies(s)}}},[e("span",{staticClass:"show-reply-bar"}),t._v(" "),e("span",{staticClass:"comment-reaction small font-weight-bold"},[t._v(t._s(s.thread?"Hide":"View")+" Replies ("+t._s(s.reply_count)+")")])]):t._e(),t._v(" "),1==s.thread?e("div",{staticClass:"comment-thread"},t._l(s.replies,(function(s,i){return e("div",{key:"cr"+s.id+"_"+a,staticClass:"py-1 media"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:s.account.avatar,width:"25px",height:"25px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"d-flex justify-content-between align-items-top read-more mb-0",staticStyle:{"overflow-y":"hidden"}},[e("span",{staticClass:"mr-2",staticStyle:{"font-size":"13px"}},[e("a",{staticClass:"text-dark font-weight-bold mr-1",attrs:{href:t.profileUrl(s),title:s.account.username}},[t._v(t._s(s.account.username))]),t._v(" "),e("span",{staticClass:"text-break comment-body",staticStyle:{"word-break":"break-all"},domProps:{innerHTML:t._s(s.content)}})]),t._v(" "),e("span",[e("span",{on:{click:function(e){return t.likeReply(s,e)}}},[e("i",{class:[s.favourited?"fas fa-heart fa-sm text-danger":"far fa-heart fa-sm text-lighter"]})])])]),t._v(" "),e("p",{staticClass:"mb-0"},[t._o(e("a",{staticClass:"text-muted mr-3 text-decoration-none small",staticStyle:{width:"20px"},attrs:{href:t.statusUrl(s)},domProps:{textContent:t._s(t.timeAgo(s.created_at))}}),1,"cr"+s.id+"_"+a),t._v(" "),s.favourites_count?e("span",{staticClass:"text-muted comment-reaction font-weight-bold mr-3"},[t._v(t._s(1==s.favourites_count?"1 like":s.favourites_count+" likes"))]):t._e()])])])})),0):t._e()])])]):t._e()})),t._v(" "),t.replies.length?t._e():e("div",[e("p",{staticClass:"text-center text-muted font-weight-bold small"},[t._v("No comments yet")])])],2)]),t._v(" "),e("div",{staticClass:"card-footer mb-3"},[e("div",{staticClass:"align-middle d-flex"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.profile.avatar,width:"36",height:"36"}}),t._v(" "),e("textarea",{staticClass:"form-control rounded-pill",staticStyle:{resize:"none","overflow-y":"hidden"},attrs:{name:"comment",placeholder:"Add a comment…",autocomplete:"off",autocorrect:"off",rows:"1",maxlength:"0"},on:{click:function(e){return t.replyFocus(t.status)}}})])])])])])]),t._v(" "),e("context-menu",{ref:"cMenu",attrs:{status:t.ctxMenuStatus,profile:t.profile}}),t._v(" "),e("b-modal",{ref:"replyModal",attrs:{id:"ctx-reply-modal","hide-footer":"",centered:"",rounded:"","title-html":t.status.account?"Reply to "+t.status.account.username+"":"","title-tag":"p","title-class":"font-weight-bold text-muted",size:"md","body-class":"p-2 rounded"}},[e("div",[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyText,expression:"replyText"}],staticClass:"form-control replyModalTextarea",attrs:{rows:"4"},domProps:{value:t.replyText},on:{input:function(e){e.target.composing||(t.replyText=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"border-top border-bottom my-2"},[e("ul",{staticClass:"nav align-items-center emoji-reactions",staticStyle:{"overflow-x":"scroll","flex-wrap":"unset"}},t._l(t.emoji,(function(s){return e("li",{staticClass:"nav-item",on:{click:function(e){return t.emojiReaction(t.status)}}},[t._v(t._s(s))])})),0)]),t._v(" "),e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("span",{staticClass:"pl-2 small text-muted font-weight-bold text-monospace"},[e("span",{class:[t.replyText.length>t.config.uploader.max_caption_length?"text-danger":"text-dark"]},[t._v(t._s(t.replyText.length>t.config.uploader.max_caption_length?t.config.uploader.max_caption_length-t.replyText.length:t.replyText.length))]),t._v("/"+t._s(t.config.uploader.max_caption_length)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"custom-control custom-switch mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.replyNsfw,expression:"replyNsfw"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"replyModalCWSwitch"},domProps:{checked:Array.isArray(t.replyNsfw)?t._i(t.replyNsfw,null)>-1:t.replyNsfw},on:{change:function(e){var s=t.replyNsfw,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.replyNsfw=s.concat([null])):o>-1&&(t.replyNsfw=s.slice(0,o).concat(s.slice(o+1)))}else t.replyNsfw=i}}}),t._v(" "),e("label",{class:[t.replyNsfw?"custom-control-label font-weight-bold text-dark":"custom-control-label text-lighter"],attrs:{for:"replyModalCWSwitch"}},[t._v("Mark as NSFW")])]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm py-2 px-4 lead text-uppercase font-weight-bold",attrs:{disabled:0==t.replyText.length},on:{click:function(e){return e.preventDefault(),t.commentSubmit(t.status,e)}}},[t._v("\n\t\t\t\t\t\t"+t._s(1==t.replySending?"POSTING":"POST")+"\n\t\t\t\t\t")])])])],1)])],1)},i=[function(){var t=this._self._c;return t("div",[t("p",{staticClass:"font-weight-bold mb-0 h5"},[this._v("Comments")])])},function(){var t=this._self._c;return t("div",[t("i",{staticClass:"fas fa-cog fa-lg text-white"})])},function(){var t=this._self._c;return t("div",{staticClass:"postCommentsLoader text-center py-2"},[t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])])}]},90977:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToProfile()}}},[t._v("View Profile")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuShare()}}},[t._v("Share")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxModMenuShow()}}},[t._v("Moderation Tools")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.ctxMenuReportPost()}}},[t._v("Report")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.archivePost(t.status)}}},[t._v("Archive")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.unarchivePost(t.status)}}},[t._v("Unarchive")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer text-danger",on:{click:function(e){return t.deletePost(t.status)}}},[t._v("Delete")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"addcw")}}},[t._v("Add Content Warning")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Caption\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tShow Likes\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n\t\t\t\t\t\tCompact Mode\n\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v("Abusive or Harmful")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v("Copyright Infringement")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},87440:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:"#"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,a){return e("p",[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-primary"],attrs:{disabled:!t.authenticated},on:{click:function(e){return t.selectOption(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold px-3",on:{click:function(e){return t.submitVote()}}},[t._v("Vote")])]):t._e()],2):"voted"===t.tab?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-block lead rounded-pill",class:[a==t.selectedIndex?"btn-primary":"btn-outline-secondary"],attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("button",{staticClass:"btn btn-outline-secondary btn-block lead rounded-pill",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("span",[t._v(t._s(t.status.poll.votes_count)+" votes")]),t._v(" "),"results"!=t.tab&&t.authenticated&&!t.activeRefreshTimeout&&1!=t.status.poll.expired&&t.status.poll.voted?e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.refreshResults()}}},[t._v("Refresh Results")]):t._e(),t._v(" "),"results"!=t.tab&&t.authenticated&&t.refreshingResults?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tCloses in "+t._s(t.shortTimestampAhead(t.status.poll.expires_at))+"\n\t\t\t\t\t\t\t\t\t")])])])])])])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},83222:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?e("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"px-1 text-lighter"},[t._v("\n\t\t\t\t\t\t\t·\n\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:t.statusUrl(t.status)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[t.status.sensitive?e("details",[e("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fa-heart fa-lg cursor-pointer mr-3",class:{"far text-muted":!t.status.favourited,"fas text-danger":t.status.favourited},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),e("i",{staticClass:"far fa-comment cursor-pointer text-muted fa-lg mr-3",on:{click:function(e){return t.commentFocus(t.status,e)}}})])])])])])]):"poll"===t.status.pf_type?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):e("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?e("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[e("div",[e("img",{staticClass:"rounded-circle box-shadow",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]),t._v(" "),e("div",{staticClass:"pl-2"},[e("a",{staticClass:"username font-weight-bold text-dark text-decoration-none text-break",attrs:{href:t.profileUrl(t.status)},domProps:{innerHTML:t._s(t.statusCardUsernameFormat(t.status))}},[t._v("\n\t\t\t\t\tLoading...\n\t\t\t\t")]),t._v(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.status.place?e("a",{staticClass:"small text-decoration-none text-muted",attrs:{href:"/discover/places/"+t.status.place.id+"/"+t.status.place.slug,title:"Location","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-map-marked-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))]):t._e()])]),t._v(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])]),t._v(" "),t.config.features.label.covid.enabled&&t.status.label&&1==t.status.label.covid?e("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[e("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[e("span",[e("i",{staticClass:"fas fa-info-circle mr-2"}),t._v("\n\t\t\t\t\tFor information about COVID-19, "+t._s(t.config.features.label.covid.org)+"\n\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),e("div",{staticClass:"card-body"},[t.reactionBar?e("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?e("h3",{staticClass:"fas fa-heart text-danger pr-3 m-0 cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}):e("h3",{staticClass:"fal fa-heart pr-3 m-0 like-btn text-dark cursor-pointer",attrs:{title:"Like"},on:{click:function(e){return t.likeStatus(t.status,e)}}}),t._v(" "),t.status.comments_disabled?t._e():e("h3",{staticClass:"fal fa-comment text-dark pr-3 m-0 cursor-pointer",attrs:{title:"Comment"},on:{click:function(e){return t.commentFocus(t.status,e)}}}),t._v(" "),t.status.taggedPeople.length?e("span",{staticClass:"float-right"},[e("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[e("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,s){return e("span",{staticClass:"mr-n2"},[e("a",{attrs:{href:"/"+t.username}},[e("img",{staticClass:"border rounded-circle",attrs:{src:t.avatar,width:"20px",height:"20px","data-toggle":"tooltip",title:"@"+t.username,alt:"Avatar"}})])])}))],2)]):t._e()]):t._e(),t._v(" "),t.status.liked_by.username&&t.status.liked_by.username!==t.profile.username?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.status.liked_by.url}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),1==t.status.liked_by.others?e("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?e("div",{staticClass:"caption"},[t.status.sensitive?t._e():e("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[e("span",{staticClass:"username font-weight-bold"},[e("bdi",[e("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),e("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),e("div",{staticClass:"timestamp mt-2"},[e("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?e("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1):e("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),e("timeago",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover.bottom",modifiers:{hover:!0,bottom:!0}}],attrs:{datetime:t.status.created_at,"auto-update":60,"converter-options":{includeSeconds:!0},title:t.timestampFormat(t.status.created_at)}})],1),t._v(" "),t.recommended?e("span",[e("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},35594:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(s,a){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},t._l(t.status.media_attachments,(function(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},i=[]},86072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\tSensitive Content\n\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status),title:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+t.status.id}},t._l(t.status.media_attachments,(function(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),title:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])],1)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},65161:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("img",{staticClass:"card-img-top",attrs:{src:t.status.media_attachments[0].url,loading:"lazy",alt:t.altText(t.status),width:t.width(),height:t.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.account.url}},[t._v("@"+t._s(t.status.account.username))]),t._v(" licensed under "),e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.media_attachments[0].license.url}},[t._v(t._s(t.status.media_attachments[0].license.title))])]):t._e()])])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},40711:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,(function(t,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},i=[]},88699:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",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}})])])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},75312:(t,e,s)=>{Vue.component("notification-card",s(91500).default),Vue.component("photo-presenter",s(23251).default),Vue.component("video-presenter",s(53973).default),Vue.component("photo-album-presenter",s(33872).default),Vue.component("video-album-presenter",s(76644).default),Vue.component("mixed-album-presenter",s(57374).default),Vue.component("post-menu",s(4086).default),Vue.component("timeline",s(92883).default),Vue.component("announcements-card",s(35057).default),Vue.component("story-component",s(69141).default)},77833:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".fade-enter-active[data-v-267be4b0],.fade-leave-active[data-v-267be4b0]{transition:opacity .5s}.fade-enter[data-v-267be4b0],.fade-leave-to[data-v-267be4b0]{opacity:0}",""]);const o=i},35992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".text-lighter[data-v-1002e7e2]{color:#b8c2cc!important}.modal-body[data-v-1002e7e2]{padding:0}",""]);const o=i},28790:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".postPresenterContainer[data-v-62ea1d71]{align-items:center;background:#fff;display:flex}.word-break[data-v-62ea1d71]{word-break:break-all}.small .custom-control-label[data-v-62ea1d71]{padding-top:3px}.reply-btn[disabled][data-v-62ea1d71]{color:#3897f0;opacity:.3}.replyModalTextarea[data-v-62ea1d71]{border:none;font-size:18px;outline:none;resize:none;white-space:pre-wrap}.has-story[data-v-62ea1d71]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;height:64px;padding:2px;width:64px}.has-story img[data-v-62ea1d71]{background:#fff;border-radius:50%;height:60px;padding:3px;width:60px}.has-story.has-story-sm[data-v-62ea1d71]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;height:32px;padding:2px;width:32px}.has-story.has-story-sm img[data-v-62ea1d71]{background:#fff;border-radius:50%;height:28px;padding:3px;width:28px}#ctx-reply-modal .form-control[data-v-62ea1d71]:focus{border:none;box-shadow:none;outline:0}",""]);const o=i},42031:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".emoji-reactions .nav-item[data-v-006bdd8e]{cursor:pointer;font-size:1.2rem;padding:9px}.emoji-reactions[data-v-006bdd8e]::-webkit-scrollbar{background:transparent;height:0;width:0}",""]);const o=i},73548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-7ad1e2b6]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7ad1e2b6]{position:relative}.content-label[data-v-7ad1e2b6]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}.album-wrapper[data-v-7ad1e2b6]{position:relative}",""]);const o=i},97465:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-40ab6d65]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-40ab6d65]{position:relative}.content-label[data-v-40ab6d65]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const o=i},9650:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".content-label-wrapper[data-v-411d6f1a]{position:relative}.content-label[data-v-411d6f1a]{align-items:center;background:rgba(0,0,0,.2);display:flex;flex-direction:column;height:100%;justify-content:center;left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:2}",""]);const o=i},96776:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".card[data-v-c1448eda]{height:122px}.ring[data-v-c1448eda]{background:radial-gradient(ellipse at 70% 70%,#ee583f 8%,#d92d77 42%,#bd3381 58%);border-radius:50%;display:block;height:66px;padding:3px;width:66px}.ring.remote[data-v-c1448eda]{background:radial-gradient(ellipse at 70% 70%,#f64f59 8%,#c471ed 42%,#12c2e9 58%)}.ring.not-seen[data-v-c1448eda]{background:#ccc;opacity:.55}.ring img[data-v-c1448eda]{background:#fff;padding:3px}.ring.new[data-v-c1448eda]{background:none;border:4px dashed #d92d77;height:70px;width:70px}.ring.new img[data-v-c1448eda]{height:56px;width:56px}.scrolly[data-v-c1448eda]{-ms-overflow-style:none;overflow-y:scroll;scrollbar-width:none}.scrolly[data-v-c1448eda]::-webkit-scrollbar{display:none}",""]);const o=i},12385:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(1519),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".status-card-component .status-content{font-size:17px}.status-card-component.status-card-sm .status-content{font-size:14px}.status-card-component.status-card-sm .fa-lg{font-size:unset;line-height:unset;vertical-align:unset}",""]);const o=i},98634:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(77833),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},33174:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(35992),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},10719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(28790),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},8784:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(42031),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},4236:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(73548),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},42678:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(97465),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},42194:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(9650),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},24926:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(96776),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},52163:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(93379),i=s.n(a),o=s(12385),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},35057:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(51383),i=s(55958),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(50932);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"267be4b0",null).exports},91500:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(8821),i=s(99675),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"d472c80e",null).exports},4086:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(48517),i=s(23413),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(74386);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"1002e7e2",null).exports},69141:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(4726),i=s(27143),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(10803);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"c1448eda",null).exports},92883:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(71537),i=s(84930),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(63204);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"62ea1d71",null).exports},37468:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(48883),i=s(59313),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(63603);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"006bdd8e",null).exports},20415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(70528),i=s(36072),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},97622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(93557),i=s(48046),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19210:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(50099),i=s(76329),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(92649);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57374:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(19399),i=s(57038),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},33872:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(15044),i=s(44484),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(67159);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"7ad1e2b6",null).exports},23251:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(54938),i=s(51485),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(22880);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"40ab6d65",null).exports},76644:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(75917),i=s(13938),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},53973:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(28348),i=s(79495),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(67406);const n=(0,s(51900).default)(i.default,a.render,a.staticRenderFns,!1,null,"411d6f1a",null).exports},55958:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(12447),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},99675:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(35045),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},23413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(49720),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},27143:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(91569),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},84930:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(67969),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},59313:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(38024),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},36072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(96136),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},48046:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(41441),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},76329:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(69789),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},57038:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(274),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},44484:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(45354),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},51485:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(28314),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},13938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(45524),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},79495:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(57602),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},51383:(t,e,s)=>{"use strict";s.r(e);var a=s(97611),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},8821:(t,e,s)=>{"use strict";s.r(e);var a=s(18433),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48517:(t,e,s)=>{"use strict";s.r(e);var a=s(79953),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},4726:(t,e,s)=>{"use strict";s.r(e);var a=s(46973),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},71537:(t,e,s)=>{"use strict";s.r(e);var a=s(80580),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},48883:(t,e,s)=>{"use strict";s.r(e);var a=s(91684),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},70528:(t,e,s)=>{"use strict";s.r(e);var a=s(90977),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},93557:(t,e,s)=>{"use strict";s.r(e);var a=s(87440),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},50099:(t,e,s)=>{"use strict";s.r(e);var a=s(83222),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},19399:(t,e,s)=>{"use strict";s.r(e);var a=s(35594),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},15044:(t,e,s)=>{"use strict";s.r(e);var a=s(86072),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54938:(t,e,s)=>{"use strict";s.r(e);var a=s(65161),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},75917:(t,e,s)=>{"use strict";s.r(e);var a=s(40711),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},28348:(t,e,s)=>{"use strict";s.r(e);var a=s(88699),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},50932:(t,e,s)=>{"use strict";s.r(e);var a=s(98634),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},74386:(t,e,s)=>{"use strict";s.r(e);var a=s(33174),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},63204:(t,e,s)=>{"use strict";s.r(e);var a=s(10719),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},63603:(t,e,s)=>{"use strict";s.r(e);var a=s(8784),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67159:(t,e,s)=>{"use strict";s.r(e);var a=s(4236),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},22880:(t,e,s)=>{"use strict";s.r(e);var a=s(42678),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67406:(t,e,s)=>{"use strict";s.r(e);var a=s(42194),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},10803:(t,e,s)=>{"use strict";s.r(e);var a=s(24926),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},92649:(t,e,s)=>{"use strict";s.r(e);var a=s(52163),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)}},t=>{t.O(0,[8898],(()=>{return e=75312,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/mix-manifest.json b/public/mix-manifest.json index c0acb1202..ad49b22b2 100644 --- a/public/mix-manifest.json +++ b/public/mix-manifest.json @@ -1,14 +1,14 @@ { "/js/app.js": "/js/app.js?id=2215dbd84487dfd70c5aa6f8995d4801", - "/js/activity.js": "/js/activity.js?id=672c68b980c08091308e1f0aa0881559", + "/js/activity.js": "/js/activity.js?id=0c9912fde1a026e6ebe7f5b6ba9eb41c", "/js/components.js": "/js/components.js?id=9f8d82f1340d91a3be0910a1ae0557a1", "/js/discover.js": "/js/discover.js?id=32fa894cb63cfe6051bcb20f330bc662", - "/js/profile.js": "/js/profile.js?id=dfe98f7dde40f7c32df44cf3f791788f", - "/js/status.js": "/js/status.js?id=e26495e5e1d88aa99f5da04bfd1717c2", - "/js/timeline.js": "/js/timeline.js?id=02c4e526090057ba0f3f0ce117c8d94d", + "/js/profile.js": "/js/profile.js?id=faa0598f99ba6cb8bfa72e755281deb3", + "/js/status.js": "/js/status.js?id=f818f7f9c6a38414da2a9b7d61022be9", + "/js/timeline.js": "/js/timeline.js?id=e19b03e07455dd39204cea6344020283", "/js/compose.js": "/js/compose.js?id=0b4fda60bcc85db7cad45d5c3b95042d", "/js/compose-classic.js": "/js/compose-classic.js?id=359aeeb12406e705f6afd9fb86d09acb", - "/js/search.js": "/js/search.js?id=bbcc27b06ce35776f9218570a7c02e0b", + "/js/search.js": "/js/search.js?id=ee5e65e5bb0d78ce8b7e77b36605ab60", "/js/developers.js": "/js/developers.js?id=8a4578e14108dcd931944610c8f5e843", "/js/hashtag.js": "/js/hashtag.js?id=49786c1c8c69711da2f15bcdc7fa26a1", "/js/collectioncompose.js": "/js/collectioncompose.js?id=1e99af77f36f6bd32a086dcb00b051c9", @@ -23,19 +23,19 @@ "/js/portfolio.js": "/js/portfolio.js?id=4fb6929e78830b1bb71410180b8b2772", "/js/installer.js": "/js/installer.js?id=cd240ae970947b76ac49032ba95e0922", "/js/admin_invite.js": "/js/admin_invite.js?id=307a53250701e3b12164af9495e88447", - "/js/manifest.js": "/js/manifest.js?id=8026b9f8a85815890c65bec9fa704f43", - "/js/home.chunk.4608ae7f0b7a9c08.js": "/js/home.chunk.4608ae7f0b7a9c08.js?id=b72f25256d9d914a0ad30a54967feb14", + "/js/manifest.js": "/js/manifest.js?id=7025f7216f978c0f7d0b65e13459024d", + "/js/home.chunk.02577ae670229a49.js": "/js/home.chunk.02577ae670229a49.js?id=fb7252974931c3481129c7da7f7cb05b", "/js/compose.chunk.377e944cece35cfa.js": "/js/compose.chunk.377e944cece35cfa.js?id=6389b021170bc21b58fc5bc28920f9af", - "/js/post.chunk.08ed66fc33eb3409.js": "/js/post.chunk.08ed66fc33eb3409.js?id=87e63304a37090643ec4bdd0290c540e", - "/js/profile.chunk.c12c225ed4796ac4.js": "/js/profile.chunk.c12c225ed4796ac4.js?id=43c7f87456dd9a28bcc7cb8abbfa6c41", + "/js/post.chunk.bad88be5fc04f10b.js": "/js/post.chunk.bad88be5fc04f10b.js?id=37a88fed8ca7da82505dd57d0da867a7", + "/js/profile.chunk.d6cf0345664c2864.js": "/js/profile.chunk.d6cf0345664c2864.js?id=a814f4e840e03d41f6302b740581ddc5", "/js/discover~memories.chunk.a2a2d7bc32632a7c.js": "/js/discover~memories.chunk.a2a2d7bc32632a7c.js?id=8d6c5c36a70eff8f3afb25307f603bd7", - "/js/discover~myhashtags.chunk.e5c0ccc2d836cf5d.js": "/js/discover~myhashtags.chunk.e5c0ccc2d836cf5d.js?id=8cf58d92aa30cc5c5b84773a628f1992", + "/js/discover~myhashtags.chunk.e466a09b04298c01.js": "/js/discover~myhashtags.chunk.e466a09b04298c01.js?id=c9a7fbc19acf5e15c669e271b7c60b26", "/js/daci.chunk.48177e534fb8cf13.js": "/js/daci.chunk.48177e534fb8cf13.js?id=1c2f0afcb80dc9b627c7900499d5c149", "/js/discover~findfriends.chunk.bc529a26035305c1.js": "/js/discover~findfriends.chunk.bc529a26035305c1.js?id=45b25ef713a9f2d775bf6b32ca0b56a3", "/js/discover~serverfeed.chunk.deb26bf532866578.js": "/js/discover~serverfeed.chunk.deb26bf532866578.js?id=4f8f6e174ca565a61b3b2bbe69965861", "/js/discover~settings.chunk.1e950f423cfffdee.js": "/js/discover~settings.chunk.1e950f423cfffdee.js?id=0af79e7702cd1fba672daea02771aed4", "/js/discover.chunk.185909b64f3f8f1d.js": "/js/discover.chunk.185909b64f3f8f1d.js?id=6dcffad6c504442e374de397cc711eb6", - "/js/notifications.chunk.d0d53f16d9998dd2.js": "/js/notifications.chunk.d0d53f16d9998dd2.js?id=4b058bc04867e65daa3ca296a05f9797", + "/js/notifications.chunk.ee310da155305164.js": "/js/notifications.chunk.ee310da155305164.js?id=9137fe578cf3544cd3f4f30d5a8538ee", "/js/dms.chunk.4fb5b1ec270b18a1.js": "/js/dms.chunk.4fb5b1ec270b18a1.js?id=752e3b061c1e76baa73b5d38657bf93e", "/js/dms~message.chunk.a69815bfbd4d4598.js": "/js/dms~message.chunk.a69815bfbd4d4598.js?id=bd3b4b71f23988bdfaf09ed817219cb9", "/js/profile~followers.bundle.54e01681585449b4.js": "/js/profile~followers.bundle.54e01681585449b4.js?id=dc50b57aa36b027c3f5a81efe9525bf2",