PageSourceSearch

https://app.feelyou.com/js/4521.f5f7f7a9.js

js feelyou.com collected 2026-10-02 01:31:36 UTC 6,056 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkmentallica"]=self["webpackChunkmentallica"]||[]).push([[4521],{39726:(t,i,e)=>{e.a(t,(async(t,n)=>{try{e.d(i,{A:()=>Q});e(44114),e(62953);var s=e(20641),o=e(50953),a=e(90033),c=e(53751),r=e(14410),l=e(38184),d=e(57696),m=e(97936),u=e(75220),_=e(5303),f=e(3591),v=e(80161),h=e(80468),p=e(35480),k=t([r,l,v,h]);[r,l,v,h]=k.then?(await k)():k;const g={class:"header-show-more"},b={key:0,class:"header-show-more__items-menu"},y=["onClick"],w={class:"notifications"},C={class:"content-container"},O=["onClick"],A={class:"notification-item__side notification-item__side--left"},I={key:0,class:"notification-item__not-viewed"},L={class:"notification-item__side notification-item__side--center"},R={class:"notification-item__title"},E={key:0,class:"notification-item__message"},P={class:"notification-item__user"},X={class:"notification-item__message-text"},M={class:"notification-item__date"},F={class:"notification-item__side notification-item__side--right"},S={key:0,class:"notifications__spinner-container"},W={key:1,class:"notifications__spinner-container"},Q=(0,s.pM)({__name:"NotificationsPage",setup(t){const i=(0,o.Kh)({notifications:[],isLastPage:!1,loading:!0,isShowMoreItemsMenuOpen:!1}),e=(0,u.rd)(),{t:n}=(0,h.h)();(0,d.xX)((()=>{$({fromStart:!0})}));const k=(0,s.EW)((()=>[{title:n("markAllAsRead"),value:"markAsRead"}])),Q=(0,s.EW)((()=>i.notifications.some((t=>!t.isViewed))));function x(){i.isShowMoreItemsMenuOpen=!i.isShowMoreItemsMenuOpen}async function B(t){"markAsRead"===t&&(await r.A.notifications.markAllAsRead(),i.notifications.map((t=>t.isViewed=!0)))}async function $(t){i.loading=!0;const{data:e,isLastPage:n}=await r.A.notifications.getAllWithLimit(t);i.isLastPage=n,null!==t&&void 0!==t&&t.fromStart?i.notifications=e:e.forEach((t=>i.notifications.push(t))),await Promise.all(i.notifications.map((async t=>{if(t.message){const i=await r.A.users.getById(t.userId);t.user=i}return t}))),i.loading=!1}function q(t){const i="/assets/icon/single-notification-icon.svg",e="/assets/icon/group-notification-icon.svg";return"comment_on_post"===t.type?i:e}function K(t){return"comment_on_post"===t.type?n("notificationItems.commentOnPost"):"reply_on_comment"===t.type?n("notificationItems.replyOnComment"):"specialist_comment_on_post"===t.type?n("notificationItems.specialistCommentOnPost"):"new_comment_on_participated_post"===t.type?n("notificationItems.newCommentOnParticipatedPost"):"faved_post"===t.type?n("notificationItems.favedPost"):"postponed_check_to_post_author"===t.type?n("notificationItems.postponedCheckToPostAuthor"):void 0}function V(t){t.url&&e.push(t.url)}return(t,e)=>((0,s.uX)(),(0,s.Wv)((0,o.R1)(d.AO),null,{default:(0,s.k6)((()=>[(0,s.bF)((0,o.R1)(d.W9),null,{default:(0,s.k6)((()=>[(0,s.bF)(v.A,{title:(0,o.R1)(n)("notifications")},(0,s.eX)({_:2},[Q.value?{name:"rightBlock",fn:(0,s.k6)((()=>[(0,s.Lk)("div",g,[(0,s.bo)(((0,s.uX)(),(0,s.Wv)(_.A,{class:"header-show-more__btn",secondary:"",rounded:"",onClick:x},{default:(0,s.k6)((()=>[(0,s.bF)((0,o.R1)(d.iq),{class:"header-show-more__icon",icon:(0,o.R1)(p.kyx)},null,8,["icon"])])),_:1})),[[(0,o.R1)(m.z0),()=>i.isShowMoreItemsMenuOpen=!1]]),i.isShowMoreItemsMenuOpen?((0,s.uX)(),(0,s.CE)("div",b,[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(k.value,(t=>((0,s.uX)(),(0,s.CE)("div",{key:t.value,class:"header-show-more__items-menu-item",onClick:i=>B(t.value)},(0,a.v_)(t.title),9,y)))),128))])):(0,s.Q3)("",!0)])])),key:"0"}:void 0]),1032,["title"]),(0,s.Lk)("div",w,[(0,s.Lk)("div",C,[(0,s.bo)((0,s.bF)(f.A,{"is-last-page":i.isLastPage,onLoadData:$},{default:(0,s.k6)((()=>[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(i.notifications,(t=>{var i;return(0,s.uX)(),(0,s.CE)("div",{key:t.id,class:"notification-item",onClick:i=>V(t)},[(0,s.Lk)("div",A,[(0,s.bF)((0,o.R1)(d.iq),{icon:q(t)},null,8,["icon"]),t.isViewed?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("div",I))]),(0,s.Lk)("div",L,[(0,s.Lk)("div",R,(0,a.v_)(K(t)),1),t.message?((0,s.uX)(),(0,s.CE)("div",E,[(0,s.Lk)("div",P,(0,a.v_)(null===(i=t.user)||void 0===i?void 0:i.alias),1),(0,s.Lk)("div",X,(0,a.v_)(t.message),1)])):(0,s.Q3)("",!0),(0,s.Lk)("div",M,(0,a.v_)((0,o.R1)(l.hO)(t.date.toDate())),1)]),(0,s.Lk)("div",F,[(0,s.bF)((0,o.R1)(d.iq),{icon:(0,o.R1)(p.N05)},null,8,["icon"])])],8,O)})),128))])),_:1},8,["is-last-page"]),[[c.aG,i.notifications.length]]),i.notifications.length||i.loading?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("div",S,(0,a.v_)((0,o.R1)(n)("messages.nothingFound")),1)),i.loading?((0,s.uX)(),(0,s.CE)("div",W,[(0,s.bF)((0,o.R1)(d.w2))])):(0,s.Q3)("",!0)])])])),_:1})])),_:1}))}});n()}catch(g){n(g)}}
1))},3591:(t,i,e)=>{e.d(i,{A:()=>d});var n=e(20641);const s={class:"infinite-scrolling"},o={ref:"lastElement"};function a(t,i,e,a,c,r){return(0,n.uX)(),(0,n.CE)("div",s,[(0,n.RG)(t.$slots,"default"),(0,n.Lk)("div",o,null,512)])}e(62953);const c={props:{isLastPage:{type:Boolean,default:!1},canObserve:{type:Boolean,default:!0},observerOptions:{type:Object,default:()=>({rootMargin:"0px",threshold:1})}},emits:["load-data"],data(){return{scrollComponent:{},observer:null,isObserving:!1}},watch:{canObserve(){this.canObserve&&!this.isObserving&&this.startObserving()}},mounted(){this.scrollComponent=this.$refs.lastElement,this.observer=new IntersectionObserver(this.handleIntersect,{root:this.scrollComponent.$el,...this.observerOptions}),this.startObserving()},beforeUnmount(){this.observer&&this.observer.disconnect()},methods:{startObserving(){this.observer.observe(this.scrollComponent),this.isObserving=!0},handleIntersect([t]){t.isIntersecting&&!this.isLastPage&&this.$emit("load-data")}}};var r=e(66262);const l=(0,r.A)(c,[["render",a]]),d=l},83284:(t,i,e)=>{e.a(t,(async(t,n)=>{try{e.r(i),e.d(i,{default:()=>r});var s=e(59523),o=(e(99845),e(66262)),a=t([s]);s=(a.then?(await a)():a)[0];const c=(0,o.A)(s.A,[["__scopeId","data-v-3644043d"]]),r=c;n()}catch(c){n(c)}}))},99845:()=>{},59523:(t,i,e)=>{e.a(t,(async(t,n)=>{try{e.d(i,{A:()=>s.A});var s=e(39726),o=t([s]);s=(o.then?(await o)():o)[0],n()}catch(a){n(a)}}))}}]);
2//# sourceMappingURL=4521.f5f7f7a9.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.