You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/public/js/timeline.js

1 line
137 KiB
JavaScript

(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6631],{203:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(47898),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},894:(t,e,s)=>{"use strict";s.r(e);var a=s(64639),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},1688:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(45076),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},2815:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(9266),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},3006:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(62345),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},4777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(35986),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},4935:(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...")])])}]},5077:(t,e,s)=>{Vue.component("notification-card",s(50592).default),Vue.component("photo-presenter",s(37128).default),Vue.component("video-presenter",s(79427).default),Vue.component("photo-album-presenter",s(98051).default),Vue.component("video-album-presenter",s(61518).default),Vue.component("mixed-album-presenter",s(21466).default),Vue.component("post-menu",s(60072).default),Vue.component("timeline",s(58946).default),Vue.component("announcements-card",s(99867).default),Vue.component("story-component",s(98916).default)},6426:(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",{staticC