PageSourceSearch

https://genau.qwertqwefsday.eu/assets/notifications.4fee40cb.js

js qwertqwefsday.eu collected 2026-10-02 07:03:48 UTC 2,183 bytes, 1 lines download raw bytes

1import{f as t,I as T,aP as P,B}from"./app.0a7dc9c6.js";import{n as C}from"./consts.ad68db41.js";import{X as S}from"./notifications.4460f467.js";import{X as k}from"./notes.8004da2f.js";import{b as X,c,a as _,f as r,g as A,h as p,B as s,j as d,z as m}from"./vue.ad847db7.js";import"./pagination.0dcd50f1.js";import"./follow-button.29b7725a.js";import"./date-separated-list.vue_vue_type_style_index_0_lang.e84181c9.js";import"./note.d041aae4.js";import"./focus.3c26b9f9.js";import"./extract-url-from-mfm.74e35c5f.js";const H={key:0},I={key:1},j={key:2},q=X({__name:"notifications",props:{initialTab:{default:"all"}},setup(y){const f=y,v=c(()=>[{key:"all",title:t.ts.all},{key:"unread",title:t.ts.unread},{key:"mentions",title:t.ts.mentions,icon:"fas fa-at"},{key:"directNotes",title:t.ts.directNotes,icon:"fas fa-envelope"}]);let a=_(v.value.some(({key:n})=>n===f.initialTab)?f.initialTab:"all"),e=_(null),h=c(()=>a.value==="unread");const b={endpoint:"notes/mentions",limit:10},g={endpoint:"notes/mentions",limit:10,params:{visibility:"specified"}};function x(n){var l;const i=C.map(o=>({text:t.t(`_notification._types.${o}`),active:e.value&&e.value.includes(o),action:()=>{e.value=[o]}})),u=e.value!=null?[{icon:"fas fa-times",text:t.ts.clear,action:()=>{e.value=null}},null,...i]:i;B(u,(l=n.currentTarget)!=null?l:n.target)}const M=c(()=>a.value==="all"?[{text:t.ts.filter,icon:"fas fa-filter",highlighted:e.value!=null,handler:x},{text:t.ts.markAllAsRead,icon:"fas fa-check",handler:()=>{T("notifications/mark-all-as-read")}}]:[]);return P(c(()=>({title:t.ts.notifications,icon:"fas fa-bell"}))),(n,i)=>{const u=m("MkPageHeader"),l=m("MkSpacer"),o=m("MkStickyContainer");return r(),A(o,null,{header:p(()=>[s(u,{tab:a.value,"onUpdate:tab":i[0]||(i[0]=N=>a.value=N),actions:M.value,tabs:v.value},null,8,["tab","actions","tabs"])]),default:p(()=>[s(l,{"content-max":800},{default:p(()=>[a.value==="mentions"?(r(),d("div",H,[s(k,{pagination:b})])):a.value==="directNotes"?(r(),d("div",I,[s(k,{pagination:g})])):(r(),d("div",j,[s(S,{class:"notifications","include-types":e.value,"unread-only":h.value},null,8,["include-types","unread-only"])]))]),_:1})]),_:1})}}});
1export{q as default};

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.